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

Side by Side Diff: ui/views/controls/focusable_border.cc

Issue 10447066: views: Sort header files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rm duplicated include Created 8 years, 6 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
« no previous file with comments | « ui/views/controls/combobox/native_combobox_win.cc ('k') | ui/views/controls/label.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) 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 #include "ui/views/controls/focusable_border.h" 5 #include "ui/views/controls/focusable_border.h"
6 6
7 #include "ui/base/native_theme/native_theme.h"
7 #include "ui/gfx/canvas.h" 8 #include "ui/gfx/canvas.h"
8 #include "ui/gfx/insets.h" 9 #include "ui/gfx/insets.h"
9 #include "ui/base/native_theme/native_theme.h"
10 #include "ui/gfx/skia_util.h" 10 #include "ui/gfx/skia_util.h"
11 11
12 namespace { 12 namespace {
13 13
14 // Define the size of the insets 14 // Define the size of the insets
15 const int kTopInsetSize = 4; 15 const int kTopInsetSize = 4;
16 const int kLeftInsetSize = 4; 16 const int kLeftInsetSize = 4;
17 const int kBottomInsetSize = 4; 17 const int kBottomInsetSize = 4;
18 const int kRightInsetSize = 4; 18 const int kRightInsetSize = 4;
19 19
(...skipping 23 matching lines...) Expand all
43 43
44 void FocusableBorder::GetInsets(gfx::Insets* insets) const { 44 void FocusableBorder::GetInsets(gfx::Insets* insets) const {
45 *insets = insets_; 45 *insets = insets_;
46 } 46 }
47 47
48 void FocusableBorder::SetInsets(int top, int left, int bottom, int right) { 48 void FocusableBorder::SetInsets(int top, int left, int bottom, int right) {
49 insets_.Set(top, left, bottom, right); 49 insets_.Set(top, left, bottom, right);
50 } 50 }
51 51
52 } // namespace views 52 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/controls/combobox/native_combobox_win.cc ('k') | ui/views/controls/label.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698