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

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

Issue 11418224: Eliminates all ash dependencies from WindowModalityController. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 1 month 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 | « chrome/browser/ui/views/constrained_window_views.cc ('k') | ui/aura/test/test_activation_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.h
===================================================================
--- ui/aura/client/activation_client.h (revision 170295)
+++ ui/aura/client/activation_client.h (working copy)
@@ -35,6 +35,9 @@
// Retrieves the active window, or NULL if there is none.
virtual Window* GetActiveWindow() = 0;
+ // Retrieves the activatable window for |window|, or NULL if there is none.
+ virtual Window* GetActivatableWindow(Window* window) = 0;
+
// Invoked prior to |window| getting focus as a result of the |event|. |event|
// may be NULL. Returning false blocks |window| from getting focus.
virtual bool OnWillFocusWindow(Window* window, const ui::Event* event) = 0;
« no previous file with comments | « chrome/browser/ui/views/constrained_window_views.cc ('k') | ui/aura/test/test_activation_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698