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

Unified Diff: ui/views/corewm/window_modality_controller.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
« no previous file with comments | « ui/events/event_target.cc ('k') | ui/views/corewm/window_modality_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/corewm/window_modality_controller.h
===================================================================
--- ui/views/corewm/window_modality_controller.h (revision 226033)
+++ ui/views/corewm/window_modality_controller.h (working copy)
@@ -14,6 +14,7 @@
#include "ui/views/views_export.h"
namespace ui {
+class EventTarget;
class LocatedEvent;
}
@@ -34,7 +35,7 @@
public aura::EnvObserver,
public aura::WindowObserver {
public:
- WindowModalityController();
+ explicit WindowModalityController(ui::EventTarget* event_target);
virtual ~WindowModalityController();
// Overridden from ui::EventHandler:
@@ -61,6 +62,8 @@
std::vector<aura::Window*> windows_;
+ ui::EventTarget* event_target_;
+
DISALLOW_COPY_AND_ASSIGN(WindowModalityController);
};
« no previous file with comments | « ui/events/event_target.cc ('k') | ui/views/corewm/window_modality_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698