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

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

Issue 9719037: Aura: Add non-browser windows into the list of "Alt + Tab" cycle list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review fix Created 8 years, 9 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 | « chrome/browser/ui/views/ash/chrome_shell_delegate.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
diff --git a/ui/aura/client/activation_client.h b/ui/aura/client/activation_client.h
index 0c332585b07e20c6709b9993c0c48800cae936cf..7996a058a27d3af10c0ceb28e24ddbd48c1f4b43 100644
--- a/ui/aura/client/activation_client.h
+++ b/ui/aura/client/activation_client.h
@@ -33,6 +33,10 @@ class AURA_EXPORT ActivationClient {
// may be NULL. Returning false blocks |window| from getting focus.
virtual bool OnWillFocusWindow(Window* window, const Event* event) = 0;
+ // Returns true if |window| can be activated, false otherwise. If |window| has
+ // a modal child it can not be activated.
+ virtual bool CanActivateWindow(Window* window) const = 0;
+
protected:
virtual ~ActivationClient() {}
};
« no previous file with comments | « chrome/browser/ui/views/ash/chrome_shell_delegate.cc ('k') | ui/aura/test/test_activation_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698