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

Unified Diff: ui/aura/client/activation_client.cc

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/activation_client.h ('k') | ui/aura/client/capture_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/client/activation_client.cc
diff --git a/ui/aura/client/activation_client.cc b/ui/aura/client/activation_client.cc
index b55702381eaa618caca9c1a295695e33cd618bfc..b4633aec5abc9cd92a3718e8c4cf53c6f48731d3 100644
--- a/ui/aura/client/activation_client.cc
+++ b/ui/aura/client/activation_client.cc
@@ -17,11 +17,11 @@ DEFINE_WINDOW_PROPERTY_KEY(
ActivationClient*, kRootWindowActivationClientKey, NULL);
DEFINE_WINDOW_PROPERTY_KEY(bool, kHideOnDeactivate, false);
-void SetActivationClient(RootWindow* root_window, ActivationClient* client) {
+void SetActivationClient(Window* root_window, ActivationClient* client) {
root_window->SetProperty(kRootWindowActivationClientKey, client);
}
-ActivationClient* GetActivationClient(RootWindow* root_window) {
+ActivationClient* GetActivationClient(Window* root_window) {
return root_window ?
root_window->GetProperty(kRootWindowActivationClientKey) : NULL;
}
« no previous file with comments | « ui/aura/client/activation_client.h ('k') | ui/aura/client/capture_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698