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

Unified Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_ozone.cc

Issue 1473973004: Fix undefined DesktopWindowTreeHost::GetNativeTheme for Ozone desktop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/desktop_aura/desktop_window_tree_host_ozone.cc
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_ozone.cc b/ui/views/widget/desktop_aura/desktop_window_tree_host_ozone.cc
index 1a78a9ab57ef7a3f27f09a630285ccf685ac01db..e67af41ed0034fc6423b2c2cfd127f7e269f3437 100644
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_ozone.cc
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_ozone.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "ui/aura/window_tree_host.h"
+#include "ui/native_theme/native_theme_aura.h"
#include "ui/views/widget/desktop_aura/desktop_factory_ozone.h"
#include "ui/views/widget/desktop_aura/desktop_window_tree_host.h"
@@ -17,4 +18,9 @@ DesktopWindowTreeHost* DesktopWindowTreeHost::Create(
desktop_native_widget_aura);
}
+// static
+ui::NativeTheme* DesktopWindowTreeHost::GetNativeTheme(aura::Window* window) {
+ return ui::NativeThemeAura::instance();
+}
+
} // namespace views
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698