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

Unified Diff: ui/views/event_monitor_mac.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_aura.cc ('k') | ui/views/event_monitor_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/event_monitor_mac.h
diff --git a/ui/views/event_monitor_mac.h b/ui/views/event_monitor_mac.h
index 52c94fd895ef8eef66392897b807b3e900241db8..f208ee4860771329dc6832d4c99320103f588bc9 100644
--- a/ui/views/event_monitor_mac.h
+++ b/ui/views/event_monitor_mac.h
@@ -6,15 +6,15 @@
#define UI_VIEWS_EVENT_MONITOR_MAC_H_
#include "base/macros.h"
+#include "ui/gfx/native_widget_types.h"
#include "ui/views/event_monitor.h"
-#import <Cocoa/Cocoa.h>
-
namespace views {
class EventMonitorMac : public EventMonitor {
public:
- explicit EventMonitorMac(ui::EventHandler* event_handler);
+ EventMonitorMac(ui::EventHandler* event_handler,
+ gfx::NativeWindow target_window);
virtual ~EventMonitorMac();
private:
« no previous file with comments | « ui/views/event_monitor_aura.cc ('k') | ui/views/event_monitor_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698