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

Unified Diff: ash/shell.cc

Issue 230613004: Block keyboard and mouse input when maximize mode is activated by accelerometer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use event targeter to block keyboard and mouse events. Created 6 years, 8 months 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/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index 4617a1982f80c95e57cf2ba2ab26766fae844e2f..fc7948814774399ed64e12f8b75cdebfb014b5aa 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -397,6 +397,10 @@ void Shell::OnMaximizeModeEnded() {
FOR_EACH_OBSERVER(ShellObserver, observers_, OnMaximizeModeEnded());
}
+void Shell::OnRootWindowAdded(aura::Window* root_window) {
+ FOR_EACH_OBSERVER(ShellObserver, observers_, OnRootWindowAdded(root_window));
+}
+
void Shell::CreateShelf() {
RootWindowControllerList controllers = GetAllRootWindowControllers();
for (RootWindowControllerList::iterator iter = controllers.begin();
@@ -699,6 +703,7 @@ Shell::~Shell() {
video_activity_notifier_.reset();
#endif // defined(OS_CHROMEOS)
video_detector_.reset();
+ high_contrast_controller_.reset();
shadow_controller_.reset();
resize_shadow_controller_.reset();

Powered by Google App Engine
This is Rietveld 408576698