Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / ui / views / event_monitor_aura.h
blob64f1c48c8907e809d25c95b038a2b796b280182e
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.
5 #ifndef UI_VIEWS_EVENT_MONITOR_AURA_H_
6 #define UI_VIEWS_EVENT_MONITOR_AURA_H_
8 #include "base/macros.h"
9 #include "ui/views/event_monitor.h"
11 namespace ui {
12 class EventTarget;
15 namespace views {
17 class EventMonitorAura : public EventMonitor {
18 public:
19 EventMonitorAura(ui::EventHandler* event_handler,
20 ui::EventTarget* event_target);
21 ~EventMonitorAura() override;
23 private:
24 ui::EventHandler* event_handler_; // Weak. Owned by our owner.
25 ui::EventTarget* event_target_; // Weak.
27 DISALLOW_COPY_AND_ASSIGN(EventMonitorAura);
30 } // namespace views
32 #endif // UI_VIEWS_EVENT_MONITOR_AURA_H_