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"
13 // An interface establishing event dispatch from the Mac native window and the
15 class RootWindowHostMacDelegate
{
17 RootWindowHostMacDelegate();
18 virtual ~RootWindowHostMacDelegate();
20 // Route events from platform code to the RootWindowHost.
21 virtual void SendEvent(const base::NativeEvent
& native_event
) = 0;
24 DISALLOW_COPY_AND_ASSIGN(RootWindowHostMacDelegate
);
29 #endif // UI_AURA_ROOT_WINDOW_HOST_MAC_H_