| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 } | 42 } |
| 43 } | 43 } |
| 44 | 44 |
| 45 namespace gfx { | 45 namespace gfx { |
| 46 class ImageSkia; | 46 class ImageSkia; |
| 47 class Point; | 47 class Point; |
| 48 class Rect; | 48 class Rect; |
| 49 } | 49 } |
| 50 | 50 |
| 51 namespace ui { | 51 namespace ui { |
| 52 class ContextFactory; |
| 52 class DisplayConfigurator; | 53 class DisplayConfigurator; |
| 53 class Layer; | 54 class Layer; |
| 54 class UserActivityPowerManagerNotifier; | 55 class UserActivityPowerManagerNotifier; |
| 55 } | 56 } |
| 56 namespace views { | 57 namespace views { |
| 57 class NonClientFrameView; | 58 class NonClientFrameView; |
| 58 class Widget; | 59 class Widget; |
| 59 namespace corewm { | 60 namespace corewm { |
| 60 class TooltipController; | 61 class TooltipController; |
| 61 } | 62 } |
| (...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 572 FRIEND_TEST_ALL_PREFIXES(WindowManagerTest, MouseEventCursors); | 573 FRIEND_TEST_ALL_PREFIXES(WindowManagerTest, MouseEventCursors); |
| 573 FRIEND_TEST_ALL_PREFIXES(WindowManagerTest, TransformActivate); | 574 FRIEND_TEST_ALL_PREFIXES(WindowManagerTest, TransformActivate); |
| 574 friend class RootWindowController; | 575 friend class RootWindowController; |
| 575 friend class ScopedTargetRootWindow; | 576 friend class ScopedTargetRootWindow; |
| 576 friend class test::ShellTestApi; | 577 friend class test::ShellTestApi; |
| 577 friend class shell::WindowWatcher; | 578 friend class shell::WindowWatcher; |
| 578 | 579 |
| 579 typedef std::pair<aura::Window*, gfx::Rect> WindowAndBoundsPair; | 580 typedef std::pair<aura::Window*, gfx::Rect> WindowAndBoundsPair; |
| 580 | 581 |
| 581 // Takes ownership of |delegate|. | 582 // Takes ownership of |delegate|. |
| 582 explicit Shell(ShellDelegate* delegate); | 583 Shell(ShellDelegate* delegate, ui::ContextFactory* context_factory); |
| 583 virtual ~Shell(); | 584 virtual ~Shell(); |
| 584 | 585 |
| 585 void Init(const ShellInitParams& init_params); | 586 void Init(const ShellInitParams& init_params); |
| 586 | 587 |
| 587 // Initializes virtual keyboard controller. | 588 // Initializes virtual keyboard controller. |
| 588 void InitKeyboard(); | 589 void InitKeyboard(); |
| 589 | 590 |
| 590 // Initializes the root window so that it can host browser windows. | 591 // Initializes the root window so that it can host browser windows. |
| 591 void InitRootWindow(aura::Window* root_window); | 592 void InitRootWindow(aura::Window* root_window); |
| 592 | 593 |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 752 | 753 |
| 753 // Injected content::GPUDataManager support. | 754 // Injected content::GPUDataManager support. |
| 754 scoped_ptr<GPUSupport> gpu_support_; | 755 scoped_ptr<GPUSupport> gpu_support_; |
| 755 | 756 |
| 756 DISALLOW_COPY_AND_ASSIGN(Shell); | 757 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 757 }; | 758 }; |
| 758 | 759 |
| 759 } // namespace ash | 760 } // namespace ash |
| 760 | 761 |
| 761 #endif // ASH_SHELL_H_ | 762 #endif // ASH_SHELL_H_ |
| OLD | NEW |