license.bot | bf09a50 | 2008-08-24 00:55:55 | [diff] [blame] | 1 | // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
initial.commit | 09911bf | 2008-07-26 23:55:29 | [diff] [blame] | 4 | |
| 5 | #ifndef CHROME_BROWSER_PRINTING_PRINTED_PAGES_SOURCE_H__ |
| 6 | #define CHROME_BROWSER_PRINTING_PRINTED_PAGES_SOURCE_H__ |
| 7 | |
| 8 | #include <string> |
| 9 | |
| 10 | class GURL; |
| 11 | class MessageLoop; |
| 12 | |
| 13 | namespace printing { |
| 14 | |
| 15 | class PrintedDocument; |
| 16 | |
| 17 | // Source of printed pages. |
| 18 | class PrintedPagesSource { |
| 19 | public: |
initial.commit | 09911bf | 2008-07-26 23:55:29 | [diff] [blame] | 20 | // Returns the document title. |
| 21 | virtual std::wstring RenderSourceName() = 0; |
| 22 | |
| 23 | // Returns the URL's source of the document if applicable. |
| 24 | virtual GURL RenderSourceUrl() = 0; |
| 25 | }; |
| 26 | |
| 27 | } // namespace printing |
| 28 | |
| 29 | #endif // CHROME_BROWSER_PRINTING_PRINTED_PAGES_SOURCE_H__ |
license.bot | bf09a50 | 2008-08-24 00:55:55 | [diff] [blame] | 30 | |