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

Unified Diff: ui/views/widget/native_widget_aura.h

Issue 2534823003: Adds NativeWidgetAura::is_parallel_widget_in_window_manager (Closed)
Patch Set: order Created 4 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/DEPS ('k') | ui/views/widget/native_widget_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/native_widget_aura.h
diff --git a/ui/views/widget/native_widget_aura.h b/ui/views/widget/native_widget_aura.h
index 7440ab5b0ce8ce20e6717829ae9e8bb1cb7f521c..0f8565e8d49a2773124b77a0d62afe64acf7859f 100644
--- a/ui/views/widget/native_widget_aura.h
+++ b/ui/views/widget/native_widget_aura.h
@@ -40,7 +40,8 @@ class VIEWS_EXPORT NativeWidgetAura
public aura::client::FocusChangeObserver,
public aura::client::DragDropDelegate {
public:
- explicit NativeWidgetAura(internal::NativeWidgetDelegate* delegate);
+ explicit NativeWidgetAura(internal::NativeWidgetDelegate* delegate,
+ bool is_parallel_widget_in_window_manager = false);
// Called internally by NativeWidgetAura and DesktopNativeWidgetAura to
// associate |native_widget| with |window|.
@@ -201,6 +202,10 @@ class VIEWS_EXPORT NativeWidgetAura
internal::NativeWidgetDelegate* delegate_;
+ // True if the Widget is created in the window-manager and another client is
+ // embedded in it. When true certain operations are not performed.
+ const bool is_parallel_widget_in_window_manager_;
+
// WARNING: set to NULL when destroyed. As the Widget is not necessarily
// destroyed along with |window_| all usage of |window_| should first verify
// non-NULL.
« no previous file with comments | « ui/views/DEPS ('k') | ui/views/widget/native_widget_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698