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

Side by Side Diff: base/gfx/rect.h

Issue 42011: Normalize end of file newlines in base/. All files end in a single newline. (Closed)
Patch Set: Revert changed to third_party. Created 11 years, 9 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
« no previous file with comments | « base/gfx/point.cc ('k') | base/gfx/rect_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // Defines a simple integer rectangle class. The containment semantics 5 // Defines a simple integer rectangle class. The containment semantics
6 // are array-like; that is, the coordinate (x, y) is considered to be 6 // are array-like; that is, the coordinate (x, y) is considered to be
7 // contained by the rectangle, but the coordinate (x + width, y) is not. 7 // contained by the rectangle, but the coordinate (x + width, y) is not.
8 // The class will happily let you create malformed rectangles (that is, 8 // The class will happily let you create malformed rectangles (that is,
9 // rectangles with negative width and/or height), but there will be assertions 9 // rectangles with negative width and/or height), but there will be assertions
10 // in the operations (such as contain()) to complain in this case. 10 // in the operations (such as contain()) to complain in this case.
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 gfx::Size size_; 155 gfx::Size size_;
156 }; 156 };
157 157
158 } // namespace gfx 158 } // namespace gfx
159 159
160 inline std::ostream& operator<<(std::ostream& out, const gfx::Rect& r) { 160 inline std::ostream& operator<<(std::ostream& out, const gfx::Rect& r) {
161 return out << r.origin() << " " << r.size(); 161 return out << r.origin() << " " << r.size();
162 } 162 }
163 163
164 #endif // BASE_GFX_RECT_H__ 164 #endif // BASE_GFX_RECT_H__
165
OLDNEW
« no previous file with comments | « base/gfx/point.cc ('k') | base/gfx/rect_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698