Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(981)

Side by Side Diff: printing/page_number.h

Issue 149212: Move printing related stuff to the root printing project from the browser pro... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_PRINTING_PAGE_NUMBER_H__ 5 #ifndef PRINTING_PAGE_NUMBER_H_
6 #define CHROME_BROWSER_PRINTING_PAGE_NUMBER_H__ 6 #define PRINTING_PAGE_NUMBER_H_
7 7
8 #include <ostream> 8 #include <ostream>
9 9
10 #include "chrome/browser/printing/page_range.h" 10 #include "printing/page_range.h"
11 11
12 namespace printing { 12 namespace printing {
13 13
14 class PrintSettings; 14 class PrintSettings;
15 15
16 // Represents a page series following the array of page ranges defined in a 16 // Represents a page series following the array of page ranges defined in a
17 // PrintSettings. 17 // PrintSettings.
18 class PageNumber { 18 class PageNumber {
19 public: 19 public:
20 // Initializes the page to the first page in the settings's range or 0. 20 // Initializes the page to the first page in the settings's range or 0.
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 63
64 // Debug output support. 64 // Debug output support.
65 template<class E, class T> 65 template<class E, class T>
66 inline typename std::basic_ostream<E,T>& operator<<( 66 inline typename std::basic_ostream<E,T>& operator<<(
67 typename std::basic_ostream<E,T>& ss, const PageNumber& page) { 67 typename std::basic_ostream<E,T>& ss, const PageNumber& page) {
68 return ss << page.ToInt(); 68 return ss << page.ToInt();
69 } 69 }
70 70
71 } // namespace printing 71 } // namespace printing
72 72
73 #endif // CHROME_BROWSER_PRINTING_PAGE_NUMBER_H__ 73 #endif // PRINTING_PAGE_NUMBER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698