OLD | NEW |
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/native_theme/native_theme_android.h" | 5 #include "ui/native_theme/native_theme_android.h" |
6 | 6 |
7 #include "base/basictypes.h" | |
8 #include "base/logging.h" | 7 #include "base/logging.h" |
9 #include "ui/gfx/geometry/size.h" | 8 #include "ui/gfx/geometry/size.h" |
10 | 9 |
11 namespace ui { | 10 namespace ui { |
12 | 11 |
13 namespace { | 12 namespace { |
14 // These are the default dimensions of radio buttons and checkboxes on Android. | 13 // These are the default dimensions of radio buttons and checkboxes on Android. |
15 const int kCheckboxAndRadioWidth = 16; | 14 const int kCheckboxAndRadioWidth = 16; |
16 const int kCheckboxAndRadioHeight = 16; | 15 const int kCheckboxAndRadioHeight = 16; |
17 } | 16 } |
(...skipping 30 matching lines...) Expand all Loading... |
48 rect->bottom() - 1); | 47 rect->bottom() - 1); |
49 } | 48 } |
50 | 49 |
51 NativeThemeAndroid::NativeThemeAndroid() { | 50 NativeThemeAndroid::NativeThemeAndroid() { |
52 } | 51 } |
53 | 52 |
54 NativeThemeAndroid::~NativeThemeAndroid() { | 53 NativeThemeAndroid::~NativeThemeAndroid() { |
55 } | 54 } |
56 | 55 |
57 } // namespace ui | 56 } // namespace ui |
OLD | NEW |