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

Side by Side Diff: printing/page_setup.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, 11 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 PRINTING_PAGE_SETUP_H_ 5 #ifndef PRINTING_PAGE_SETUP_H_
6 #define PRINTING_PAGE_SETUP_H_ 6 #define PRINTING_PAGE_SETUP_H_
7 7
8 #include "gfx/rect.h" 8 #include "gfx/rect.h"
9 9
10 namespace printing { 10 namespace printing {
(...skipping 17 matching lines...) Expand all
28 int right; 28 int right;
29 int top; 29 int top;
30 int bottom; 30 int bottom;
31 }; 31 };
32 32
33 // Settings that define the size and printable areas of a page. Unit is 33 // Settings that define the size and printable areas of a page. Unit is
34 // unspecified. 34 // unspecified.
35 class PageSetup { 35 class PageSetup {
36 public: 36 public:
37 PageSetup(); 37 PageSetup();
38 ~PageSetup();
38 39
39 void Clear(); 40 void Clear();
40 41
41 // Equality operator. 42 // Equality operator.
42 bool Equals(const PageSetup& rhs) const; 43 bool Equals(const PageSetup& rhs) const;
43 44
44 void Init(const gfx::Size& physical_size, const gfx::Rect& printable_area, 45 void Init(const gfx::Size& physical_size, const gfx::Rect& printable_area,
45 int text_height); 46 int text_height);
46 47
47 void SetRequestedMargins(const PageMargins& requested_margins); 48 void SetRequestedMargins(const PageMargins& requested_margins);
(...skipping 26 matching lines...) Expand all
74 // Requested margins. 75 // Requested margins.
75 PageMargins requested_margins_; 76 PageMargins requested_margins_;
76 77
77 // Space that must be kept free for the overlays. 78 // Space that must be kept free for the overlays.
78 int text_height_; 79 int text_height_;
79 }; 80 };
80 81
81 } // namespace printing 82 } // namespace printing
82 83
83 #endif // PRINTING_PAGE_SETUP_H_ 84 #endif // PRINTING_PAGE_SETUP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698