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

Unified Diff: ui/views/widget/desktop_root_window_host.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/desktop_native_widget_aura.cc ('k') | ui/views/widget/desktop_root_window_host_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/desktop_root_window_host.h
diff --git a/ui/views/widget/desktop_root_window_host.h b/ui/views/widget/desktop_root_window_host.h
index 0f175d37f981ccb2bc30a00286c986937e2be815..7557413a5bfa3d3cbfdb8b59787842a1e877dc8d 100644
--- a/ui/views/widget/desktop_root_window_host.h
+++ b/ui/views/widget/desktop_root_window_host.h
@@ -19,6 +19,10 @@ class ImageSkia;
class Rect;
}
+namespace ui {
+class NativeTheme;
+}
+
namespace views {
class DesktopNativeWidgetAura;
namespace internal {
@@ -35,6 +39,9 @@ class VIEWS_EXPORT DesktopRootWindowHost {
DesktopNativeWidgetAura* desktop_native_widget_aura,
const gfx::Rect& initial_bounds);
+ // Return the NativeTheme to use for |window|.
+ static ui::NativeTheme* GetNativeTheme(aura::Window* window);
+
// Creates the aura resources associated with the native window we built.
// Caller takes ownership of returned RootWindow.
virtual aura::RootWindow* Init(aura::Window* content_window,
« no previous file with comments | « ui/views/widget/desktop_native_widget_aura.cc ('k') | ui/views/widget/desktop_root_window_host_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698