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

Side by Side Diff: printing/page_overlays.h

Issue 6366019: Part 1 of repairing regressions to my old clang check plugins so Nico can (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove Nico's changes that I patched in for testing. Created 9 years, 10 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-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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 PRINTING_PAGE_OVERLAYS_H_ 5 #ifndef PRINTING_PAGE_OVERLAYS_H_
6 #define PRINTING_PAGE_OVERLAYS_H_ 6 #define PRINTING_PAGE_OVERLAYS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 namespace printing { 10 namespace printing {
(...skipping 13 matching lines...) Expand all
24 RIGHT, 24 RIGHT,
25 }; 25 };
26 26
27 // Position of the header/footer. 27 // Position of the header/footer.
28 enum VerticalPosition { 28 enum VerticalPosition {
29 TOP, 29 TOP,
30 BOTTOM, 30 BOTTOM,
31 }; 31 };
32 32
33 PageOverlays(); 33 PageOverlays();
34 ~PageOverlays();
34 35
35 // Equality operator. 36 // Equality operator.
36 bool Equals(const PageOverlays& rhs) const; 37 bool Equals(const PageOverlays& rhs) const;
37 38
38 // Returns the string of an overlay according to its x,y position. 39 // Returns the string of an overlay according to its x,y position.
39 const std::wstring& GetOverlay(HorizontalPosition x, 40 const std::wstring& GetOverlay(HorizontalPosition x,
40 VerticalPosition y) const; 41 VerticalPosition y) const;
41 42
42 // Sets the string of an overlay according to its x,y position. 43 // Sets the string of an overlay according to its x,y position.
43 void SetOverlay(HorizontalPosition x, 44 void SetOverlay(HorizontalPosition x,
(...skipping 28 matching lines...) Expand all
72 std::wstring top_center; 73 std::wstring top_center;
73 std::wstring top_right; 74 std::wstring top_right;
74 std::wstring bottom_left; 75 std::wstring bottom_left;
75 std::wstring bottom_center; 76 std::wstring bottom_center;
76 std::wstring bottom_right; 77 std::wstring bottom_right;
77 }; 78 };
78 79
79 } // namespace printing 80 } // namespace printing
80 81
81 #endif // PRINTING_PAGE_OVERLAYS_H_ 82 #endif // PRINTING_PAGE_OVERLAYS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698