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

Unified Diff: ui/native_theme/native_theme_android.h

Issue 2483683002: Try to get rid of all direct references to particular native themes. (Closed)
Patch Set: Created 4 years, 1 month 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/native_theme/native_theme.h ('k') | ui/native_theme/native_theme_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/native_theme/native_theme_android.h
diff --git a/ui/native_theme/native_theme_android.h b/ui/native_theme/native_theme_android.h
index e504252a15d66fb82d60121943a3123136cc6f20..52b42e59b725516a920d731d7ed953de05a3ce23 100644
--- a/ui/native_theme/native_theme_android.h
+++ b/ui/native_theme/native_theme_android.h
@@ -13,8 +13,6 @@ namespace ui {
// Android implementation of native theme support.
class NativeThemeAndroid : public NativeThemeBase {
public:
- static NativeThemeAndroid* instance();
-
// NativeThemeBase:
gfx::Size GetPartSize(Part part,
State state,
@@ -22,6 +20,9 @@ class NativeThemeAndroid : public NativeThemeBase {
SkColor GetSystemColor(ColorId color_id) const override;
protected:
+ friend class NativeTheme;
+ static NativeThemeAndroid* instance();
+
// NativeThemeBase:
void AdjustCheckboxRadioRectForPadding(SkRect* rect) const override;
« no previous file with comments | « ui/native_theme/native_theme.h ('k') | ui/native_theme/native_theme_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698