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

Unified Diff: ui/aura/client/event_client.h

Issue 38423002: Make aura::clients take Window instead of RootWindow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura/client/drag_drop_client.cc ('k') | ui/aura/client/event_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/client/event_client.h
diff --git a/ui/aura/client/event_client.h b/ui/aura/client/event_client.h
index 31565e2053b7b13ffe9ada37b1e68839364df630..3ce88e3f62f154a392c6114c707f1bbf29b6d389 100644
--- a/ui/aura/client/event_client.h
+++ b/ui/aura/client/event_client.h
@@ -6,13 +6,13 @@
#define UI_AURA_CLIENT_EVENT_CLIENT_H_
#include "ui/aura/aura_export.h"
-#include "ui/aura/window.h"
-namespace aura {
-
-class Event;
-class RootWindow;
+namespace ui {
+class EventTarget;
+}
+namespace aura {
+class Window;
namespace client {
// An interface implemented by an object that alters event processing.
@@ -28,9 +28,9 @@ class AURA_EXPORT EventClient {
virtual ~EventClient() {}
};
-// Sets/Gets the event client on the RootWindow.
-AURA_EXPORT void SetEventClient(RootWindow* root_window, EventClient* client);
-AURA_EXPORT EventClient* GetEventClient(const RootWindow* root_window);
+// Sets/Gets the event client on the root Window.
+AURA_EXPORT void SetEventClient(Window* root_window, EventClient* client);
+AURA_EXPORT EventClient* GetEventClient(const Window* root_window);
} // namespace clients
} // namespace aura
« no previous file with comments | « ui/aura/client/drag_drop_client.cc ('k') | ui/aura/client/event_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698