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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 // to their final position). | 295 // to their final position). |
296 void OnOverviewModeEnding(); | 296 void OnOverviewModeEnding(); |
297 | 297 |
298 // Called after maximize mode has started, windows might still animate though. | 298 // Called after maximize mode has started, windows might still animate though. |
299 void OnMaximizeModeStarted(); | 299 void OnMaximizeModeStarted(); |
300 | 300 |
301 // Called after maximize mode has ended, windows might still be returning to | 301 // Called after maximize mode has ended, windows might still be returning to |
302 // their original position. | 302 // their original position. |
303 void OnMaximizeModeEnded(); | 303 void OnMaximizeModeEnded(); |
304 | 304 |
| 305 // Called when a root window is created. |
| 306 void OnRootWindowAdded(aura::Window* root_window); |
| 307 |
305 // Initializes |shelf_|. Does nothing if it's already initialized. | 308 // Initializes |shelf_|. Does nothing if it's already initialized. |
306 void CreateShelf(); | 309 void CreateShelf(); |
307 | 310 |
308 // Creates a virtual keyboard. Deletes the old virtual keyboard if it already | 311 // Creates a virtual keyboard. Deletes the old virtual keyboard if it already |
309 // exists. | 312 // exists. |
310 void CreateKeyboard(); | 313 void CreateKeyboard(); |
311 | 314 |
312 // Deactivates the virtual keyboard. | 315 // Deactivates the virtual keyboard. |
313 void DeactivateKeyboard(); | 316 void DeactivateKeyboard(); |
314 | 317 |
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
739 | 742 |
740 // Injected content::GPUDataManager support. | 743 // Injected content::GPUDataManager support. |
741 scoped_ptr<GPUSupport> gpu_support_; | 744 scoped_ptr<GPUSupport> gpu_support_; |
742 | 745 |
743 DISALLOW_COPY_AND_ASSIGN(Shell); | 746 DISALLOW_COPY_AND_ASSIGN(Shell); |
744 }; | 747 }; |
745 | 748 |
746 } // namespace ash | 749 } // namespace ash |
747 | 750 |
748 #endif // ASH_SHELL_H_ | 751 #endif // ASH_SHELL_H_ |
OLD | NEW |