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

Side by Side Diff: ash/shell.h

Issue 169643005: Adding a gray semi transparent backdrop behind the topmost window within the default container (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added unit tests Created 6 years, 10 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
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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 // Called when the application is exiting. 284 // Called when the application is exiting.
285 void OnAppTerminating(); 285 void OnAppTerminating();
286 286
287 // Called when the screen is locked (after the lock window is visible) or 287 // Called when the screen is locked (after the lock window is visible) or
288 // unlocked. 288 // unlocked.
289 void OnLockStateChanged(bool locked); 289 void OnLockStateChanged(bool locked);
290 290
291 // Called when a casting session is started or stopped. 291 // Called when a casting session is started or stopped.
292 void OnCastingSessionStartedOrStopped(bool started); 292 void OnCastingSessionStartedOrStopped(bool started);
293 293
294 // Called when the overview mode has started.
295 void OnOverviewModeStarted();
296
297 // Called when the overview mode has ended.
298 void OnOverviewModeEnded();
299
294 // Initializes |shelf_|. Does nothing if it's already initialized. 300 // Initializes |shelf_|. Does nothing if it's already initialized.
295 void CreateShelf(); 301 void CreateShelf();
296 302
297 // Creates a virtual keyboard. Deletes the old virtual keyboard if it already 303 // Creates a virtual keyboard. Deletes the old virtual keyboard if it already
298 // exists. 304 // exists.
299 void CreateKeyboard(); 305 void CreateKeyboard();
300 306
301 // Deactivates the virtual keyboard. 307 // Deactivates the virtual keyboard.
302 void DeactivateKeyboard(); 308 void DeactivateKeyboard();
303 309
304 // Show shelf view if it was created hidden (before session has started). 310 // Show shelf view if it was created hidden (before session has started).
305 void ShowShelf(); 311 void ShowShelf();
306 312
307 // Adds/removes observer. 313 // Adds/removes observer.
308 void AddShellObserver(ShellObserver* observer); 314 void AddShellObserver(ShellObserver* observer);
309 void RemoveShellObserver(ShellObserver* observer); 315 void RemoveShellObserver(ShellObserver* observer);
310 316
311 // Turn the always maximize mode window manager on or off. 317 // Turn the always maximize mode window manager on or off.
312 void EnableMaximizeModeWindowManager(bool enable); 318 void EnableMaximizeModeWindowManager(bool enable);
313 319
320 // Test if the MaximizeModeWindowManager is enabled or not.
321 bool IsMaximizeModeWindowManagerEnabled();
322
314 keyboard::KeyboardController* keyboard_controller() { 323 keyboard::KeyboardController* keyboard_controller() {
315 return keyboard_controller_.get(); 324 return keyboard_controller_.get();
316 } 325 }
317 326
318 AcceleratorController* accelerator_controller() { 327 AcceleratorController* accelerator_controller() {
319 return accelerator_controller_.get(); 328 return accelerator_controller_.get();
320 } 329 }
321 330
322 internal::DisplayManager* display_manager() { 331 internal::DisplayManager* display_manager() {
323 return display_manager_.get(); 332 return display_manager_.get();
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
725 734
726 // Injected content::GPUDataManager support. 735 // Injected content::GPUDataManager support.
727 scoped_ptr<GPUSupport> gpu_support_; 736 scoped_ptr<GPUSupport> gpu_support_;
728 737
729 DISALLOW_COPY_AND_ASSIGN(Shell); 738 DISALLOW_COPY_AND_ASSIGN(Shell);
730 }; 739 };
731 740
732 } // namespace ash 741 } // namespace ash
733 742
734 #endif // ASH_SHELL_H_ 743 #endif // ASH_SHELL_H_
OLDNEW
« no previous file with comments | « ash/ash.gyp ('k') | ash/shell.cc » ('j') | ash/wm/maximize_mode/maximize_mode_window_manager.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698