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

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
« no previous file with comments | « ui/aura_shell/root_window_event_filter_unittest.cc ('k') | ui/aura_shell/shell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura_shell/shadow_controller.cc
===================================================================
--- ui/aura_shell/shadow_controller.cc (revision 114022)
+++ 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) {
« no previous file with comments | « ui/aura_shell/root_window_event_filter_unittest.cc ('k') | ui/aura_shell/shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698