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

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

Issue 2667703002: Linux Aura: Use Aura theme on all windows when 'Use Classic theme' is used (Closed)
Patch Set: && -> || Created 3 years, 11 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 bc0324c13ebff0d22df92f7fb9359a5cb9e81d0d..31fa8fa8a8f822ba7070a3c2d8006360ee01ee6e 100644
--- a/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
+++ b/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
@@ -390,6 +390,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:
@@ -595,12 +601,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