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

Unified Diff: ash/wm/window_cycle_controller.cc

Issue 11421194: Hook up the FocusController behind a flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
« no previous file with comments | « ash/wm/window_cycle_controller.h ('k') | ash/wm/workspace_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/window_cycle_controller.cc
===================================================================
--- ash/wm/window_cycle_controller.cc (revision 170746)
+++ ash/wm/window_cycle_controller.cc (working copy)
@@ -88,9 +88,10 @@
// WindowCycleController, public:
WindowCycleController::WindowCycleController(
- internal::ActivationController* activation_controller)
- : activation_controller_(activation_controller) {
- activation_controller_->AddObserver(this);
+ aura::client::ActivationClient* activation_client)
+ : ActivationChangeShim(Shell::GetInstance()),
+ activation_client_(activation_client) {
+ activation_client_->AddObserver(this);
}
WindowCycleController::~WindowCycleController() {
@@ -114,7 +115,7 @@
}
}
- activation_controller_->RemoveObserver(this);
+ activation_client_->RemoveObserver(this);
StopCycling();
}
« no previous file with comments | « ash/wm/window_cycle_controller.h ('k') | ash/wm/workspace_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698