Add persisted preference for projection touch HUD
[chromium-blink-merge.git] / ui / aura / root_window_host_mac.h
blobe7c26c3548295e149cdd2a6cf4d2815f4fee1035
1 // Copyright (c) 2012 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_AURA_ROOT_WINDOW_HOST_MAC_H_
6 #define UI_AURA_ROOT_WINDOW_HOST_MAC_H_
8 #include "base/basictypes.h"
9 #include "base/event_types.h"
11 namespace aura {
13 // An interface establishing event dispatch from the Mac native window and the
14 // Aura host.
15 class RootWindowHostMacDelegate {
16 public:
17 RootWindowHostMacDelegate();
18 virtual ~RootWindowHostMacDelegate();
20 // Route events from platform code to the RootWindowHost.
21 virtual void SendEvent(const base::NativeEvent& native_event) = 0;
23 private:
24 DISALLOW_COPY_AND_ASSIGN(RootWindowHostMacDelegate);
27 } // namespace aura
29 #endif // UI_AURA_ROOT_WINDOW_HOST_MAC_H_