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

Unified Diff: ash/shell.h

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.h
diff --git a/ash/shell.h b/ash/shell.h
index 3a29e29e0370182249e0fd6dde582256ecd38949..a762b223012d70de1fb6eb2780c4c3bb07a43566 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -302,6 +302,9 @@ class ASH_EXPORT Shell : public SystemModalContainerEventFilterDelegate,
// their original position.
void OnMaximizeModeEnded();
+ // Called when a root window is created.
+ void OnRootWindowAdded(aura::Window* root_window);
+
// Initializes |shelf_|. Does nothing if it's already initialized.
void CreateShelf();

Powered by Google App Engine
This is Rietveld 408576698