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

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

Issue 13638010: Support storing the VisibilityClient on windows other than the RootWindow. What this means is you c… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 8 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 | « no previous file | ui/aura/client/visibility_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/client/visibility_client.h
===================================================================
--- ui/aura/client/visibility_client.h (revision 192570)
+++ ui/aura/client/visibility_client.h (working copy)
@@ -8,7 +8,6 @@
#include "ui/aura/aura_export.h"
namespace aura {
-class RootWindow;
class Window;
namespace client {
@@ -25,11 +24,13 @@
virtual ~VisibilityClient() {}
};
-// Sets/Gets the VisibilityClient on the RootWindow.
-AURA_EXPORT void SetVisibilityClient(RootWindow* root_window,
- VisibilityClient* client);
-AURA_EXPORT VisibilityClient* GetVisibilityClient(RootWindow* root_window);
+// Sets the VisibilityClient on the Window.
+AURA_EXPORT void SetVisibilityClient(Window* window, VisibilityClient* client);
+// Gets the VisibilityClient for the window. This will crawl up |window|'s
+// hierarchy until it finds one.
+AURA_EXPORT VisibilityClient* GetVisibilityClient(Window* window);
+
} // namespace clients
} // namespace aura
« no previous file with comments | « no previous file | ui/aura/client/visibility_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698