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

Side by Side 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: Merge with master. 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/root_window_controller.cc ('k') | ash/shell.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_SHELL_H_ 5 #ifndef ASH_SHELL_H_
6 #define ASH_SHELL_H_ 6 #define ASH_SHELL_H_
7 7
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 // to their final position). 294 // to their final position).
295 void OnOverviewModeEnding(); 295 void OnOverviewModeEnding();
296 296
297 // Called after maximize mode has started, windows might still animate though. 297 // Called after maximize mode has started, windows might still animate though.
298 void OnMaximizeModeStarted(); 298 void OnMaximizeModeStarted();
299 299
300 // Called after maximize mode has ended, windows might still be returning to 300 // Called after maximize mode has ended, windows might still be returning to
301 // their original position. 301 // their original position.
302 void OnMaximizeModeEnded(); 302 void OnMaximizeModeEnded();
303 303
304 // Called when a root window is created.
305 void OnRootWindowAdded(aura::Window* root_window);
306
304 // Initializes |shelf_|. Does nothing if it's already initialized. 307 // Initializes |shelf_|. Does nothing if it's already initialized.
305 void CreateShelf(); 308 void CreateShelf();
306 309
307 // Creates a virtual keyboard. Deletes the old virtual keyboard if it already 310 // Creates a virtual keyboard. Deletes the old virtual keyboard if it already
308 // exists. 311 // exists.
309 void CreateKeyboard(); 312 void CreateKeyboard();
310 313
311 // Deactivates the virtual keyboard. 314 // Deactivates the virtual keyboard.
312 void DeactivateKeyboard(); 315 void DeactivateKeyboard();
313 316
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
734 737
735 // Injected content::GPUDataManager support. 738 // Injected content::GPUDataManager support.
736 scoped_ptr<GPUSupport> gpu_support_; 739 scoped_ptr<GPUSupport> gpu_support_;
737 740
738 DISALLOW_COPY_AND_ASSIGN(Shell); 741 DISALLOW_COPY_AND_ASSIGN(Shell);
739 }; 742 };
740 743
741 } // namespace ash 744 } // namespace ash
742 745
743 #endif // ASH_SHELL_H_ 746 #endif // ASH_SHELL_H_
OLDNEW
« no previous file with comments | « ash/root_window_controller.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698