| 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.
|
|
|