Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(304)

Side by Side Diff: ui/aura/client/event_client.h

Issue 9788001: Remove stops_event_propagation from Window, since it's broken. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
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_CLIENT_EVENT_CLIENT_H_
6 #define UI_AURA_CLIENT_EVENT_CLIENT_H_
7 #pragma once
8
9 #include "ui/aura/aura_export.h"
10 #include "ui/aura/window.h"
11
12 namespace aura {
13
14 class Event;
15 class RootWindow;
16
17 namespace client {
18
19 // An interface implemented by an object that alters event processing.
20 class AURA_EXPORT EventClient {
21 public:
22 // Returns true if events can be processed by |window| or any of its children.
23 virtual bool CanProcessEventsWithinSubtree(const Window* window) const = 0;
24
25 protected:
26 virtual ~EventClient() {}
27 };
28
29 // Sets/Gets the event client on the RootWindow.
30 AURA_EXPORT void SetEventClient(RootWindow* root_window, EventClient* client);
31 AURA_EXPORT EventClient* GetEventClient(const RootWindow* root_window);
32
33 } // namespace clients
34 } // namespace aura
35
36 #endif // UI_AURA_CLIENT_EVENT_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698