Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / ui / views / widget / desktop_aura / desktop_event_client.h
blob3d5733bd0c19ab170e0f9ce78863bbe78ec33374
1 // Copyright 2013 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_WIDGET_DESKTOP_AURA_DESKTOP_EVENT_CLIENT_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_EVENT_CLIENT_H_
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "ui/aura/client/event_client.h"
11 #include "ui/views/views_export.h"
13 namespace views {
15 class VIEWS_EXPORT DesktopEventClient : public aura::client::EventClient {
16 public:
17 DesktopEventClient();
18 ~DesktopEventClient() override;
20 // Overridden from aura::client::EventClient:
21 bool CanProcessEventsWithinSubtree(const aura::Window* window) const override;
22 ui::EventTarget* GetToplevelEventTarget() override;
24 private:
25 DISALLOW_COPY_AND_ASSIGN(DesktopEventClient);
28 } // namespace views
30 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_EVENT_CLIENT_H_