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

Unified Diff: ui/views/event_monitor_aura.h

Issue 793003004: MacViews: Implement event monitoring for a specific window (Reland) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Created 6 years 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/event_monitor.h ('k') | ui/views/event_monitor_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/event_monitor_aura.h
diff --git a/ui/views/event_monitor_aura.h b/ui/views/event_monitor_aura.h
index 21ff3bfffad14712b1a5bf5486fa5800e24de35c..d89ffc3f5e4fc75d8e507343b2aad19f6335e0cf 100644
--- a/ui/views/event_monitor_aura.h
+++ b/ui/views/event_monitor_aura.h
@@ -8,15 +8,21 @@
#include "base/macros.h"
#include "ui/views/event_monitor.h"
+namespace ui {
+class EventTarget;
+}
+
namespace views {
class EventMonitorAura : public EventMonitor {
public:
- explicit EventMonitorAura(ui::EventHandler* event_handler);
+ EventMonitorAura(ui::EventHandler* event_handler,
+ ui::EventTarget* event_target);
virtual ~EventMonitorAura();
private:
ui::EventHandler* event_handler_; // Weak. Owned by our owner.
+ ui::EventTarget* event_target_; // Weak.
DISALLOW_COPY_AND_ASSIGN(EventMonitorAura);
};
« no previous file with comments | « ui/views/event_monitor.h ('k') | ui/views/event_monitor_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698