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

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

Issue 2879493005: [Merge to M59] Linux Aura: Use incognito profile to theme incognito browser windows (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_native_widget_aura.h ('k') | 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_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 84d781ebb85f153902bd10e9971e73ac068f0c8a..5b7fd075b2dd3044d68e2486fc43bee0f1ef0d72 100644
--- a/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
+++ b/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
@@ -393,6 +393,12 @@ gfx::NativeWindow DesktopNativeWidgetAura::GetNativeWindow() const {
return content_window_;
}
+void DesktopNativeWidgetAura::SetNativeWindowProperty(const char* name,
+ void* value) {
+ if (content_window_)
+ content_window_->SetNativeWindowProperty(name, value);
+}
+
////////////////////////////////////////////////////////////////////////////////
// DesktopNativeWidgetAura, internal::NativeWidgetPrivate implementation:
@@ -598,12 +604,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;
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_native_widget_aura.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698