| 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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 // operations outside the application list. | 228 // operations outside the application list. |
| 229 void SetDragAndDropHostOfCurrentAppList( | 229 void SetDragAndDropHostOfCurrentAppList( |
| 230 app_list::ApplicationDragAndDropHost* drag_and_drop_host); | 230 app_list::ApplicationDragAndDropHost* drag_and_drop_host); |
| 231 | 231 |
| 232 // Returns app list target visibility. | 232 // Returns app list target visibility. |
| 233 bool GetAppListTargetVisibility() const; | 233 bool GetAppListTargetVisibility() const; |
| 234 | 234 |
| 235 // Returns app list window or NULL if it is not visible. | 235 // Returns app list window or NULL if it is not visible. |
| 236 aura::Window* GetAppListWindow(); | 236 aura::Window* GetAppListWindow(); |
| 237 | 237 |
| 238 // Shows the apps grid of app list if it is visible. |
| 239 void ShowAppListAppsGrid(); |
| 240 |
| 238 // Returns true if a system-modal dialog window is currently open. | 241 // Returns true if a system-modal dialog window is currently open. |
| 239 bool IsSystemModalWindowOpen() const; | 242 bool IsSystemModalWindowOpen() const; |
| 240 | 243 |
| 241 // For testing only: set simulation that a modal window is open | 244 // For testing only: set simulation that a modal window is open |
| 242 void SimulateModalWindowOpenForTesting(bool modal_window_open) { | 245 void SimulateModalWindowOpenForTesting(bool modal_window_open) { |
| 243 simulate_modal_window_open_for_testing_ = modal_window_open; | 246 simulate_modal_window_open_for_testing_ = modal_window_open; |
| 244 } | 247 } |
| 245 | 248 |
| 246 // Creates a default views::NonClientFrameView for use by windows in the | 249 // Creates a default views::NonClientFrameView for use by windows in the |
| 247 // Ash environment. | 250 // Ash environment. |
| (...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 629 bool simulate_modal_window_open_for_testing_; | 632 bool simulate_modal_window_open_for_testing_; |
| 630 | 633 |
| 631 bool is_touch_hud_projection_enabled_; | 634 bool is_touch_hud_projection_enabled_; |
| 632 | 635 |
| 633 DISALLOW_COPY_AND_ASSIGN(Shell); | 636 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 634 }; | 637 }; |
| 635 | 638 |
| 636 } // namespace ash | 639 } // namespace ash |
| 637 | 640 |
| 638 #endif // ASH_SHELL_H_ | 641 #endif // ASH_SHELL_H_ |
| OLD | NEW |