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

Unified Diff: ui/aura_shell/shadow_controller.cc

Issue 8894018: Move the concept of Activation to the Shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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: ui/aura_shell/shadow_controller.cc
===================================================================
--- ui/aura_shell/shadow_controller.cc (revision 113647)
+++ ui/aura_shell/shadow_controller.cc (working copy)
@@ -19,7 +19,7 @@
namespace internal {
ShadowController::ShadowController() {
- aura::RootWindow::GetInstance()->AddObserver(this);
+ aura::RootWindow::GetInstance()->AddRootWindowObserver(this);
}
ShadowController::~ShadowController() {
@@ -27,7 +27,7 @@
it != window_shadows_.end(); ++it) {
it->first->RemoveObserver(this);
}
- aura::RootWindow::GetInstance()->RemoveObserver(this);
+ aura::RootWindow::GetInstance()->RemoveRootWindowObserver(this);
}
void ShadowController::OnWindowInitialized(aura::Window* window) {

Powered by Google App Engine
This is Rietveld 408576698