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

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

Issue 25445002: Ensure that in Desktop AURA the WindowModalityController class is at the head of the event pre targ… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 2 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.h
===================================================================
--- ui/views/widget/desktop_aura/desktop_native_widget_aura.h (revision 226057)
+++ ui/views/widget/desktop_aura/desktop_native_widget_aura.h (working copy)
@@ -81,6 +81,11 @@
// we are being activated/deactivated.
void HandleActivationChanged(bool active);
+ // Installs the window modality controller event filter on the |root|. This
+ // should be invoked by the DesktopRootWindowHost implementation immediately
+ // after creation of the RootWindow.
+ void InstallWindowModalityController(aura::RootWindow* root);
+
protected:
// Overridden from internal::NativeWidgetPrivate:
virtual void InitNativeWidget(const Widget::InitParams& params) OVERRIDE;
@@ -286,6 +291,9 @@
// order of the associated views in the widget's view hierarchy.
scoped_ptr<WindowReorderer> window_reorderer_;
+ // See class documentation for Widget in widget.h for a note about type.
+ Widget::InitParams::Type widget_type_;
+
DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura);
};
« no previous file with comments | « ui/views/corewm/window_modality_controller.cc ('k') | ui/views/widget/desktop_aura/desktop_native_widget_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698