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

Unified Diff: ui/aura/client/focus_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/event_client.cc ('k') | ui/aura/client/focus_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/client/focus_client.h
diff --git a/ui/aura/client/focus_client.h b/ui/aura/client/focus_client.h
index ad55d5ec6c0d3c84a0dd3a869017ca698e9c28b3..cec64ec6ddb84d72b5094b1c7c31d2053137f65c 100644
--- a/ui/aura/client/focus_client.h
+++ b/ui/aura/client/focus_client.h
@@ -12,9 +12,7 @@ class Event;
}
namespace aura {
-class RootWindow;
class Window;
-
namespace client {
class FocusChangeObserver;
@@ -37,8 +35,8 @@ class AURA_EXPORT FocusClient {
virtual Window* GetFocusedWindow() = 0;
};
-// Sets/Gets the focus client on the RootWindow.
-AURA_EXPORT void SetFocusClient(RootWindow* root_window, FocusClient* client);
+// Sets/Gets the focus client on the root Window.
+AURA_EXPORT void SetFocusClient(Window* root_window, FocusClient* client);
AURA_EXPORT FocusClient* GetFocusClient(Window* window);
AURA_EXPORT FocusClient* GetFocusClient(const Window* window);
« no previous file with comments | « ui/aura/client/event_client.cc ('k') | ui/aura/client/focus_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698