Upstream version 11.40.271.0
[platform/framework/web/crosswalk.git] / src / ui / views / event_monitor_mac.h
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_VIEWS_EVENT_MONITOR_MAC_H_
6 #define UI_VIEWS_EVENT_MONITOR_MAC_H_
7
8 #include "base/macros.h"
9 #include "ui/views/event_monitor.h"
10
11 #import <Cocoa/Cocoa.h>
12
13 namespace views {
14
15 class EventMonitorMac : public EventMonitor {
16  public:
17   explicit EventMonitorMac(ui::EventHandler* event_handler);
18   virtual ~EventMonitorMac();
19
20  private:
21   id monitor_;
22
23   DISALLOW_COPY_AND_ASSIGN(EventMonitorMac);
24 };
25
26 }  // namespace views
27
28 #endif  // UI_VIEWS_EVENT_MONITOR_MAC_H_