Home | History | Annotate | Download | only in aura
      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.
      4 
      5 #ifndef UI_AURA_ROOT_WINDOW_HOST_MAC_H_
      6 #define UI_AURA_ROOT_WINDOW_HOST_MAC_H_
      7 
      8 #include "base/basictypes.h"
      9 #include "base/event_types.h"
     10 
     11 namespace aura {
     12 
     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();
     19 
     20   // Route events from platform code to the RootWindowHost.
     21   virtual void SendEvent(const base::NativeEvent& native_event) = 0;
     22 
     23  private:
     24   DISALLOW_COPY_AND_ASSIGN(RootWindowHostMacDelegate);
     25 };
     26 
     27 }  // namespace aura
     28 
     29 #endif  // UI_AURA_ROOT_WINDOW_HOST_MAC_H_
     30