OLD | NEW |
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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 | 344 |
345 // TODO(oshima): Define an interface to access shelf/launcher | 345 // TODO(oshima): Define an interface to access shelf/launcher |
346 // state, or just use Launcher. | 346 // state, or just use Launcher. |
347 | 347 |
348 // Sets/gets the shelf auto-hide behavior on |root_window|. | 348 // Sets/gets the shelf auto-hide behavior on |root_window|. |
349 void SetShelfAutoHideBehavior(ShelfAutoHideBehavior behavior, | 349 void SetShelfAutoHideBehavior(ShelfAutoHideBehavior behavior, |
350 aura::RootWindow* root_window); | 350 aura::RootWindow* root_window); |
351 ShelfAutoHideBehavior GetShelfAutoHideBehavior( | 351 ShelfAutoHideBehavior GetShelfAutoHideBehavior( |
352 aura::RootWindow* root_window) const; | 352 aura::RootWindow* root_window) const; |
353 | 353 |
354 bool IsShelfAutoHideMenuHideChecked(aura::RootWindow* root); | |
355 ShelfAutoHideBehavior GetToggledShelfAutoHideBehavior( | |
356 aura::RootWindow* root_window); | |
357 | |
358 // Sets/gets shelf's alignment on |root_window|. | 354 // Sets/gets shelf's alignment on |root_window|. |
359 void SetShelfAlignment(ShelfAlignment alignment, | 355 void SetShelfAlignment(ShelfAlignment alignment, |
360 aura::RootWindow* root_window); | 356 aura::RootWindow* root_window); |
361 ShelfAlignment GetShelfAlignment(aura::RootWindow* root_window); | 357 ShelfAlignment GetShelfAlignment(aura::RootWindow* root_window); |
362 | 358 |
363 // Dims or undims the screen. | 359 // Dims or undims the screen. |
364 void SetDimming(bool should_dim); | 360 void SetDimming(bool should_dim); |
365 | 361 |
366 // Creates a modal background (a partially-opaque fullscreen window) | 362 // Creates a modal background (a partially-opaque fullscreen window) |
367 // on all displays for |window|. | 363 // on all displays for |window|. |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
558 | 554 |
559 // For testing only: simulate that a modal window is open | 555 // For testing only: simulate that a modal window is open |
560 bool simulate_modal_window_open_for_testing_; | 556 bool simulate_modal_window_open_for_testing_; |
561 | 557 |
562 DISALLOW_COPY_AND_ASSIGN(Shell); | 558 DISALLOW_COPY_AND_ASSIGN(Shell); |
563 }; | 559 }; |
564 | 560 |
565 } // namespace ash | 561 } // namespace ash |
566 | 562 |
567 #endif // ASH_SHELL_H_ | 563 #endif // ASH_SHELL_H_ |
OLD | NEW |