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

Unified Diff: ui/native_theme/native_theme_base.h

Issue 12383065: Remove old-checkbox-style flag, code and assets (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix whitespace and merge with trunk Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/ui_base_switches.cc ('k') | ui/native_theme/native_theme_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/native_theme/native_theme_base.h
diff --git a/ui/native_theme/native_theme_base.h b/ui/native_theme/native_theme_base.h
index 633cb46ab82e2363355f235cdef7f31c0896b24e..9e314c333d6bf23329f272f5ad7a011c61c1ca45 100644
--- a/ui/native_theme/native_theme_base.h
+++ b/ui/native_theme/native_theme_base.h
@@ -161,35 +161,14 @@ class NATIVE_THEME_EXPORT NativeThemeBase : public NativeTheme {
SkScalar max) const;
SkColor OutlineColor(SkScalar* hsv1, SkScalar* hsv2) const;
- // Returns whether the new vector-graphics based checkbox and radio button
- // style is enabled.
- bool IsNewCheckboxStyleEnabled(SkCanvas* canvas) const;
-
- // Paint the common parts of the new (experimental) checkboxes and radio
- // buttons.
+ // Paint the common parts of the checkboxes and radio buttons.
// borderRadius specifies how rounded the corners should be.
- SkRect PaintCheckboxRadioNewCommon(
+ SkRect PaintCheckboxRadioCommon(
SkCanvas* canvas,
State state,
const gfx::Rect& rect,
const SkScalar borderRadius) const;
- // Paint an (experimental) vector-graphics based checkbox on the supplied
- // canvas at the specified co-ordinates.
- void PaintCheckboxNew(
- SkCanvas* canvas,
- State state,
- const gfx::Rect& rect,
- const ButtonExtraParams& button) const;
-
- // Paint an (experimental) vector-graphics based radio button on the
- // supplied canbas at the specified co-ordinates.
- void PaintRadioNew(
- SkCanvas* canvas,
- State state,
- const gfx::Rect& rect,
- const ButtonExtraParams& button) const;
-
unsigned int scrollbar_width_;
unsigned int scrollbar_button_length_;
« no previous file with comments | « ui/base/ui_base_switches.cc ('k') | ui/native_theme/native_theme_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698