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

Unified Diff: ui/gfx/native_theme_android.cc

Issue 8889013: Implement the Web Theme Engine for Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch for landing Created 9 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/native_theme_android.h ('k') | webkit/glue/webkit_glue.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/native_theme_android.cc
diff --git a/ui/gfx/native_theme_android.cc b/ui/gfx/native_theme_android.cc
index d570f5f546a727a764787f1f01736dfd70265765..82c5ab43a120132e7c144c6123a39a3e8a65cb8f 100644
--- a/ui/gfx/native_theme_android.cc
+++ b/ui/gfx/native_theme_android.cc
@@ -68,7 +68,7 @@ gfx::Size NativeThemeAndroid::GetPartSize(Part part) const {
case CHECKBOX:
case RADIO:
return gfx::Size(kCheckboxAndRadioWidth, kCheckboxAndRadioHeight);
- case SLIDER_TNUMB:
+ case SLIDER_THUMB:
// These sizes match the sizes in Chromium Win.
return gfx::Size(kSliderThumbWidth, kSliderThumbHeight);
case INNER_SPIN_BUTTON:
@@ -113,7 +113,7 @@ void NativeThemeAndroid::Paint(SkCanvas* canvas,
case SLIDER_TRACK:
PaintSliderTrack(canvas, state, rect, extra.slider);
break;
- case SLIDER_TNUMB:
+ case SLIDER_THUMB:
PaintSliderThumb(canvas, state, rect, extra.slider);
break;
case INNER_SPIN_BUTTON:
« no previous file with comments | « ui/gfx/native_theme_android.h ('k') | webkit/glue/webkit_glue.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698