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

Unified Diff: ui/native_theme/native_theme.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 | « chrome/browser/ui/views/frame/browser_view.cc ('k') | ui/native_theme/native_theme_android.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/native_theme/native_theme.h
diff --git a/ui/native_theme/native_theme.h b/ui/native_theme/native_theme.h
index 5ed382a0a38df7e1e0dd8ec2927189aa2e0e9a7e..27b7832856739923ced34889e4014cbe342d3bfa 100644
--- a/ui/native_theme/native_theme.h
+++ b/ui/native_theme/native_theme.h
@@ -363,6 +363,9 @@ class NATIVE_THEME_EXPORT NativeTheme {
// returning the port's subclass.
static NativeTheme* GetInstanceForWeb();
+ // Returns a shared instance of the default native theme for native UI.
+ static NativeTheme* GetInstanceForNativeUi();
+
// Add or remove observers to be notified when the native theme changes.
void AddObserver(NativeThemeObserver* observer);
void RemoveObserver(NativeThemeObserver* observer);
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | ui/native_theme/native_theme_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698