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

Unified Diff: ui/views/widget/widget.h

Issue 11367041: Adds View::GetNativeTheme() to get the NativeTheme. The interesting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix include Created 8 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/views/widget/native_widget_win.cc ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/widget.h
diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h
index e906327fe3e692d6b958d7ab939106c1712373bb..3c382eb08f48c98d55a320c7b65421aedab7f2e1 100644
--- a/ui/views/widget/widget.h
+++ b/ui/views/widget/widget.h
@@ -45,6 +45,7 @@ namespace ui {
class Accelerator;
class Compositor;
class Layer;
+class NativeTheme;
class OSExchangeData;
class ThemeProvider;
}
@@ -431,6 +432,8 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
// Returns the ThemeProvider that provides theme resources for this Widget.
virtual ui::ThemeProvider* GetThemeProvider() const;
+ ui::NativeTheme* GetNativeTheme();
+
// Returns the FocusManager for this widget.
// Note that all widgets in a widget hierarchy share the same focus manager.
FocusManager* GetFocusManager();
« no previous file with comments | « ui/views/widget/native_widget_win.cc ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698