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

Unified Diff: ui/views/event_monitor.h

Issue 730833006: MacViews: Implement event monitoring for a specific window (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
Index: ui/views/event_monitor.h
diff --git a/ui/views/event_monitor.h b/ui/views/event_monitor.h
index 277321909fd0346963c60e1da7a6cfa95c6269eb..7d0ba005e1b43fc53784fe3c672bab551f3b4e34 100644
--- a/ui/views/event_monitor.h
+++ b/ui/views/event_monitor.h
@@ -6,6 +6,7 @@
#define UI_VIEWS_EVENT_MONITOR_H_
#include "ui/gfx/geometry/point.h"
+#include "ui/gfx/native_widget_types.h"
#include "ui/views/views_export.h"
namespace ui {
@@ -21,6 +22,8 @@ class VIEWS_EXPORT EventMonitor {
virtual ~EventMonitor() {}
static EventMonitor* Create(ui::EventHandler* event_handler);
+ static EventMonitor* Create(ui::EventHandler* event_handler,
+ gfx::NativeWindow target_window);
// Returns the last mouse location seen in a mouse event in screen
// coordinates.

Powered by Google App Engine
This is Rietveld 408576698