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

Unified Diff: ui/views/corewm/shadow_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
Index: ui/views/corewm/shadow_controller.cc
===================================================================
--- ui/views/corewm/shadow_controller.cc (revision 170620)
+++ ui/views/corewm/shadow_controller.cc (working copy)
@@ -13,6 +13,7 @@
#include "ui/aura/root_window.h"
#include "ui/aura/window.h"
#include "ui/compositor/layer.h"
+#include "ui/views/corewm/focus_change_event.h"
sadrul 2012/12/03 06:32:17 This doesn't seem necessary
#include "ui/views/corewm/shadow.h"
#include "ui/views/corewm/shadow_types.h"
@@ -67,7 +68,8 @@
} // namespace
ShadowController::ShadowController(aura::RootWindow* root_window)
- : ALLOW_THIS_IN_INITIALIZER_LIST(observer_manager_(this)),
+ : ActivationChangeShim(root_window),
+ ALLOW_THIS_IN_INITIALIZER_LIST(observer_manager_(this)),
root_window_(root_window) {
aura::Env::GetInstance()->AddObserver(this);
// Watch for window activation changes.

Powered by Google App Engine
This is Rietveld 408576698