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

Side by Side Diff: ui/gfx/geometry/insets_f.h

Issue 1750403005: [MD] some tweaks to download shelf (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: explicit Created 4 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 | « ui/gfx/geometry/insets.cc ('k') | ui/views/animation/ink_drop_host_view.h » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 UI_GFX_GEOMETRY_INSETS_F_H_ 5 #ifndef UI_GFX_GEOMETRY_INSETS_F_H_
6 #define UI_GFX_GEOMETRY_INSETS_F_H_ 6 #define UI_GFX_GEOMETRY_INSETS_F_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ui/gfx/gfx_export.h" 10 #include "ui/gfx/gfx_export.h"
11 11
12 namespace gfx { 12 namespace gfx {
13 13
14 // A floating versin of gfx::Insets. 14 // A floating point version of gfx::Insets.
15 class GFX_EXPORT InsetsF { 15 class GFX_EXPORT InsetsF {
16 public: 16 public:
17 InsetsF(); 17 InsetsF();
18 InsetsF(float top, float left, float bottom, float right); 18 InsetsF(float top, float left, float bottom, float right);
19 ~InsetsF(); 19 ~InsetsF();
20 20
21 float top() const { return top_; } 21 float top() const { return top_; }
22 float left() const { return left_; } 22 float left() const { return left_; }
23 float bottom() const { return bottom_; } 23 float bottom() const { return bottom_; }
24 float right() const { return right_; } 24 float right() const { return right_; }
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 private: 67 private:
68 float top_; 68 float top_;
69 float left_; 69 float left_;
70 float bottom_; 70 float bottom_;
71 float right_; 71 float right_;
72 }; 72 };
73 73
74 } // namespace gfx 74 } // namespace gfx
75 75
76 #endif // UI_GFX_GEOMETRY_INSETS_F_H_ 76 #endif // UI_GFX_GEOMETRY_INSETS_F_H_
OLDNEW
« no previous file with comments | « ui/gfx/geometry/insets.cc ('k') | ui/views/animation/ink_drop_host_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698