| Index: ui/views/widget/desktop_aura/desktop_event_client.h
|
| diff --git a/ui/views/widget/desktop_aura/desktop_event_client.h b/ui/views/widget/desktop_aura/desktop_event_client.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d16b5c9e4cdb994c5482d933200cf2b85710d38e
|
| --- /dev/null
|
| +++ b/ui/views/widget/desktop_aura/desktop_event_client.h
|
| @@ -0,0 +1,31 @@
|
| +// Copyright 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_EVENT_CLIENT_H_
|
| +#define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_EVENT_CLIENT_H_
|
| +
|
| +#include "base/basictypes.h"
|
| +#include "base/compiler_specific.h"
|
| +#include "ui/aura/client/event_client.h"
|
| +#include "ui/views/views_export.h"
|
| +
|
| +namespace views {
|
| +
|
| +class VIEWS_EXPORT DesktopEventClient : public aura::client::EventClient {
|
| + public:
|
| + DesktopEventClient();
|
| + virtual ~DesktopEventClient();
|
| +
|
| + // Overridden from aura::client::EventClient:
|
| + virtual bool CanProcessEventsWithinSubtree(
|
| + const aura::Window* window) const OVERRIDE;
|
| + virtual ui::EventTarget* GetToplevelEventTarget() OVERRIDE;
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(DesktopEventClient);
|
| +};
|
| +
|
| +} // namespace views
|
| +
|
| +#endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_EVENT_CLIENT_H_
|
|
|