[email protected] | 184a6c8f | 2011-10-04 20:07:30 | [diff] [blame] | 1 | // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
license.bot | bf09a50 | 2008-08-24 00:55:55 | [diff] [blame] | 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 | |
[email protected] | 8ff1d42 | 2009-07-07 21:31:39 | [diff] [blame] | 5 | #ifndef PRINTING_PRINTED_PAGES_SOURCE_H_ |
6 | #define PRINTING_PRINTED_PAGES_SOURCE_H_ | ||||
initial.commit | 09911bf | 2008-07-26 23:55:29 | [diff] [blame] | 7 | |
[email protected] | d9d4299 | 2010-09-13 19:39:19 | [diff] [blame] | 8 | #include "base/string16.h" |
initial.commit | 09911bf | 2008-07-26 23:55:29 | [diff] [blame] | 9 | |
initial.commit | 09911bf | 2008-07-26 23:55:29 | [diff] [blame] | 10 | namespace printing { |
11 | |||||
initial.commit | 09911bf | 2008-07-26 23:55:29 | [diff] [blame] | 12 | // Source of printed pages. |
13 | class PrintedPagesSource { | ||||
14 | public: | ||||
initial.commit | 09911bf | 2008-07-26 23:55:29 | [diff] [blame] | 15 | // Returns the document title. |
[email protected] | d9d4299 | 2010-09-13 19:39:19 | [diff] [blame] | 16 | virtual string16 RenderSourceName() = 0; |
initial.commit | 09911bf | 2008-07-26 23:55:29 | [diff] [blame] | 17 | |
[email protected] | c12ecab | 2010-07-27 20:13:23 | [diff] [blame] | 18 | protected: |
19 | virtual ~PrintedPagesSource() {} | ||||
initial.commit | 09911bf | 2008-07-26 23:55:29 | [diff] [blame] | 20 | }; |
21 | |||||
22 | } // namespace printing | ||||
23 | |||||
[email protected] | 8ff1d42 | 2009-07-07 21:31:39 | [diff] [blame] | 24 | #endif // PRINTING_PRINTED_PAGES_SOURCE_H_ |