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

Unified Diff: ash/wm/ash_activation_controller.h

Issue 11451002: Focus launcher if spoken feedback is enabled and no other windows visible. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added unit tests. Created 8 years 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
Index: ash/wm/ash_activation_controller.h
diff --git a/ash/wm/ash_activation_controller.h b/ash/wm/ash_activation_controller.h
index 0e9be46659c9d8b7bd7a36d4ddee1298fb86e080..8bc95243616a950bb307086ec828a00c8762b734 100644
--- a/ash/wm/ash_activation_controller.h
+++ b/ash/wm/ash_activation_controller.h
@@ -22,6 +22,11 @@ class AshActivationController : public ActivationControllerDelegate {
virtual aura::Window* WillActivateWindow(aura::Window* window) OVERRIDE;
virtual aura::Window* WillFocusWindow(aura::Window* window) OVERRIDE;
+ // Returns a handle to the launcher on the active root window which will
+ // be activated as fallback. Also notifies the launcher, so it can return
+ // true from Launcher::CanActivate().
+ aura::Window* PrepareToActivateLauncher();
+
DISALLOW_COPY_AND_ASSIGN(AshActivationController);
};

Powered by Google App Engine
This is Rietveld 408576698