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

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

Issue 2697513008: Linux Aura: Use Aura theme on all windows when 'Use Classic theme' is used (Closed)
Patch Set: Move kThemeProfileKey into c/b/ui/views/frame/browser_view.h Created 3 years, 10 months 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
Index: ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
diff --git a/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc b/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
index e816e40ab587668c4b662fd97a3cc3f52659d05b..bf221f6c3b542050a03b8a8eee60f129bc2ae058 100644
--- a/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
+++ b/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
@@ -389,6 +389,12 @@ void DesktopNativeWidgetAura::HandleActivationChanged(bool active) {
}
}
+void DesktopNativeWidgetAura::SetNativeWindowProperty(const char* name,
+ void* value) {
+ if (content_window_)
+ content_window_->SetNativeWindowProperty(name, value);
+}
+
////////////////////////////////////////////////////////////////////////////////
// DesktopNativeWidgetAura, internal::NativeWidgetPrivate implementation:
@@ -588,12 +594,6 @@ void DesktopNativeWidgetAura::ViewRemoved(View* view) {
drop_helper_->ResetTargetViewIfEquals(view);
}
-void DesktopNativeWidgetAura::SetNativeWindowProperty(const char* name,
- void* value) {
- if (content_window_)
- content_window_->SetNativeWindowProperty(name, value);
-}
-
void* DesktopNativeWidgetAura::GetNativeWindowProperty(const char* name) const {
return content_window_ ?
content_window_->GetNativeWindowProperty(name) : NULL;

Powered by Google App Engine
This is Rietveld 408576698