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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 // Creates a default views::NonClientFrameView for use by windows in the | 267 // Creates a default views::NonClientFrameView for use by windows in the |
268 // Ash environment. | 268 // Ash environment. |
269 views::NonClientFrameView* CreateDefaultNonClientFrameView( | 269 views::NonClientFrameView* CreateDefaultNonClientFrameView( |
270 views::Widget* widget); | 270 views::Widget* widget); |
271 | 271 |
272 // Rotates focus through containers that can receive focus. | 272 // Rotates focus through containers that can receive focus. |
273 void RotateFocus(Direction direction); | 273 void RotateFocus(Direction direction); |
274 | 274 |
275 // Sets the work area insets of the display that contains |window|, | 275 // Sets the work area insets of the display that contains |window|, |
276 // this notifies observers too. | 276 // this notifies observers too. |
277 // TODO(sky): this no longer really replicates what happens and is unreliable. | 277 void UpdateDisplayWorkAreaInsets(aura::Window* root_window); |
278 // Remove this. | 278 |
279 void SetDisplayWorkAreaInsets(aura::Window* window, | 279 void SetDisplayWorkAreaInsetsForTesting(aura::Window* root_window, |
280 const gfx::Insets& insets); | 280 const gfx::Insets& insets); |
281 | 281 |
282 // Called when the user logs in. | 282 // Called when the user logs in. |
283 void OnLoginStateChanged(user::LoginStatus status); | 283 void OnLoginStateChanged(user::LoginStatus status); |
284 | 284 |
285 // Called after the logged-in user's profile is ready. | 285 // Called after the logged-in user's profile is ready. |
286 void OnLoginUserProfilePrepared(); | 286 void OnLoginUserProfilePrepared(); |
287 | 287 |
288 // Called when the login status changes. | 288 // Called when the login status changes. |
289 // TODO(oshima): Investigate if we can merge this and |OnLoginStateChanged|. | 289 // TODO(oshima): Investigate if we can merge this and |OnLoginStateChanged|. |
290 void UpdateAfterLoginStatusChange(user::LoginStatus status); | 290 void UpdateAfterLoginStatusChange(user::LoginStatus status); |
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
768 scoped_ptr<GPUSupport> gpu_support_; | 768 scoped_ptr<GPUSupport> gpu_support_; |
769 | 769 |
770 base::SequencedWorkerPool* blocking_pool_; | 770 base::SequencedWorkerPool* blocking_pool_; |
771 | 771 |
772 DISALLOW_COPY_AND_ASSIGN(Shell); | 772 DISALLOW_COPY_AND_ASSIGN(Shell); |
773 }; | 773 }; |
774 | 774 |
775 } // namespace ash | 775 } // namespace ash |
776 | 776 |
777 #endif // ASH_SHELL_H_ | 777 #endif // ASH_SHELL_H_ |
OLD | NEW |