summaryrefslogtreecommitdiffstats
path: root/ui/native_theme/native_theme_android.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/native_theme/native_theme_android.cc')
-rw-r--r--ui/native_theme/native_theme_android.cc15
1 files changed, 0 insertions, 15 deletions
diff --git a/ui/native_theme/native_theme_android.cc b/ui/native_theme/native_theme_android.cc
index 71ef3d0..5fe2632 100644
--- a/ui/native_theme/native_theme_android.cc
+++ b/ui/native_theme/native_theme_android.cc
@@ -6,16 +6,9 @@
#include "base/basictypes.h"
#include "base/logging.h"
-#include "ui/gfx/geometry/size.h"
namespace ui {
-namespace {
-// These are the default dimensions of radio buttons and checkboxes on Android.
-const int kCheckboxAndRadioWidth = 16;
-const int kCheckboxAndRadioHeight = 16;
-}
-
#if !defined(USE_AURA)
// static
NativeTheme* NativeTheme::instance() {
@@ -29,14 +22,6 @@ NativeThemeAndroid* NativeThemeAndroid::instance() {
return &s_native_theme;
}
-gfx::Size NativeThemeAndroid::GetPartSize(Part part,
- State state,
- const ExtraParams& extra) const {
- if (part == kCheckbox || part == kRadio)
- return gfx::Size(kCheckboxAndRadioWidth, kCheckboxAndRadioHeight);
- return NativeThemeBase::GetPartSize(part, state, extra);
-}
-
SkColor NativeThemeAndroid::GetSystemColor(ColorId color_id) const {
NOTIMPLEMENTED();
return SK_ColorBLACK;