| 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 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 return high_contrast_controller_.get(); | 329 return high_contrast_controller_.get(); |
| 330 } | 330 } |
| 331 | 331 |
| 332 MagnificationController* magnification_controller() { | 332 MagnificationController* magnification_controller() { |
| 333 return magnification_controller_.get(); | 333 return magnification_controller_.get(); |
| 334 } | 334 } |
| 335 | 335 |
| 336 PartialMagnificationController* partial_magnification_controller() { | 336 PartialMagnificationController* partial_magnification_controller() { |
| 337 return partial_magnification_controller_.get(); | 337 return partial_magnification_controller_.get(); |
| 338 } | 338 } |
| 339 aura::client::ActivationClient* activation_client() { |
| 340 return activation_client_; |
| 341 } |
| 339 | 342 |
| 340 ScreenAsh* screen() { return screen_; } | 343 ScreenAsh* screen() { return screen_; } |
| 341 | 344 |
| 342 // Force the shelf to query for it's current visibility state. | 345 // Force the shelf to query for it's current visibility state. |
| 343 void UpdateShelfVisibility(); | 346 void UpdateShelfVisibility(); |
| 344 | 347 |
| 345 // TODO(oshima): Define an interface to access shelf/launcher | 348 // TODO(oshima): Define an interface to access shelf/launcher |
| 346 // state, or just use Launcher. | 349 // state, or just use Launcher. |
| 347 | 350 |
| 348 // Sets/gets the shelf auto-hide behavior on |root_window|. | 351 // Sets/gets the shelf auto-hide behavior on |root_window|. |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 // Made available for tests. | 399 // Made available for tests. |
| 397 views::corewm::ShadowController* shadow_controller() { | 400 views::corewm::ShadowController* shadow_controller() { |
| 398 return shadow_controller_.get(); | 401 return shadow_controller_.get(); |
| 399 } | 402 } |
| 400 | 403 |
| 401 content::BrowserContext* browser_context() { return browser_context_; } | 404 content::BrowserContext* browser_context() { return browser_context_; } |
| 402 void set_browser_context(content::BrowserContext* browser_context) { | 405 void set_browser_context(content::BrowserContext* browser_context) { |
| 403 browser_context_ = browser_context; | 406 browser_context_ = browser_context; |
| 404 } | 407 } |
| 405 | 408 |
| 406 aura::client::ActivationClient* activation_client() { | |
| 407 return activation_client_; | |
| 408 } | |
| 409 | |
| 410 // Initializes the root window to be used for a secondary display. | 409 // Initializes the root window to be used for a secondary display. |
| 411 void InitRootWindowForSecondaryDisplay(aura::RootWindow* root); | 410 void InitRootWindowForSecondaryDisplay(aura::RootWindow* root); |
| 412 | 411 |
| 413 // Starts the animation that occurs on first login. | 412 // Starts the animation that occurs on first login. |
| 414 void DoInitialWorkspaceAnimation(); | 413 void DoInitialWorkspaceAnimation(); |
| 415 | 414 |
| 416 #if defined(OS_CHROMEOS) | 415 #if defined(OS_CHROMEOS) |
| 417 chromeos::OutputConfigurator* output_configurator() { | 416 chromeos::OutputConfigurator* output_configurator() { |
| 418 return output_configurator_.get(); | 417 return output_configurator_.get(); |
| 419 } | 418 } |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 572 | 571 |
| 573 // For testing only: simulate that a modal window is open | 572 // For testing only: simulate that a modal window is open |
| 574 bool simulate_modal_window_open_for_testing_; | 573 bool simulate_modal_window_open_for_testing_; |
| 575 | 574 |
| 576 DISALLOW_COPY_AND_ASSIGN(Shell); | 575 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 577 }; | 576 }; |
| 578 | 577 |
| 579 } // namespace ash | 578 } // namespace ash |
| 580 | 579 |
| 581 #endif // ASH_SHELL_H_ | 580 #endif // ASH_SHELL_H_ |
| OLD | NEW |