| 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. | |
| 279 void SetDisplayWorkAreaInsets(aura::Window* window, | |
| 280 const gfx::Insets& insets); | |
| 281 | 278 |
| 282 // Called when the user logs in. | 279 // Called when the user logs in. |
| 283 void OnLoginStateChanged(user::LoginStatus status); | 280 void OnLoginStateChanged(user::LoginStatus status); |
| 284 | 281 |
| 285 // Called after the logged-in user's profile is ready. | 282 // Called after the logged-in user's profile is ready. |
| 286 void OnLoginUserProfilePrepared(); | 283 void OnLoginUserProfilePrepared(); |
| 287 | 284 |
| 288 // Called when the login status changes. | 285 // Called when the login status changes. |
| 289 // TODO(oshima): Investigate if we can merge this and |OnLoginStateChanged|. | 286 // TODO(oshima): Investigate if we can merge this and |OnLoginStateChanged|. |
| 290 void UpdateAfterLoginStatusChange(user::LoginStatus status); | 287 void UpdateAfterLoginStatusChange(user::LoginStatus status); |
| (...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 768 scoped_ptr<GPUSupport> gpu_support_; | 765 scoped_ptr<GPUSupport> gpu_support_; |
| 769 | 766 |
| 770 base::SequencedWorkerPool* blocking_pool_; | 767 base::SequencedWorkerPool* blocking_pool_; |
| 771 | 768 |
| 772 DISALLOW_COPY_AND_ASSIGN(Shell); | 769 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 773 }; | 770 }; |
| 774 | 771 |
| 775 } // namespace ash | 772 } // namespace ash |
| 776 | 773 |
| 777 #endif // ASH_SHELL_H_ | 774 #endif // ASH_SHELL_H_ |
| OLD | NEW |