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