| 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 | 124 |
| 125 // Accesses private data from a Shell for testing. | 125 // Accesses private data from a Shell for testing. |
| 126 class ASH_EXPORT TestApi { | 126 class ASH_EXPORT TestApi { |
| 127 public: | 127 public: |
| 128 explicit TestApi(Shell* shell); | 128 explicit TestApi(Shell* shell); |
| 129 | 129 |
| 130 internal::RootWindowLayoutManager* root_window_layout(); | 130 internal::RootWindowLayoutManager* root_window_layout(); |
| 131 aura::shared::InputMethodEventFilter* input_method_event_filter(); | 131 aura::shared::InputMethodEventFilter* input_method_event_filter(); |
| 132 internal::SystemGestureEventFilter* system_gesture_event_filter(); | 132 internal::SystemGestureEventFilter* system_gesture_event_filter(); |
| 133 internal::WorkspaceController* workspace_controller(); | 133 internal::WorkspaceController* workspace_controller(); |
| 134 internal::ScreenPositionController* screen_position_controller(); |
| 134 | 135 |
| 135 private: | 136 private: |
| 136 Shell* shell_; // not owned | 137 Shell* shell_; // not owned |
| 137 | 138 |
| 138 DISALLOW_COPY_AND_ASSIGN(TestApi); | 139 DISALLOW_COPY_AND_ASSIGN(TestApi); |
| 139 }; | 140 }; |
| 140 | 141 |
| 141 // A shell must be explicitly created so that it can call |Init()| with the | 142 // A shell must be explicitly created so that it can call |Init()| with the |
| 142 // delegate set. |delegate| can be NULL (if not required for initialization). | 143 // delegate set. |delegate| can be NULL (if not required for initialization). |
| 143 static Shell* CreateInstance(ShellDelegate* delegate); | 144 static Shell* CreateInstance(ShellDelegate* delegate); |
| (...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 484 | 485 |
| 485 // Used by ash/shell. | 486 // Used by ash/shell. |
| 486 content::BrowserContext* browser_context_; | 487 content::BrowserContext* browser_context_; |
| 487 | 488 |
| 488 DISALLOW_COPY_AND_ASSIGN(Shell); | 489 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 489 }; | 490 }; |
| 490 | 491 |
| 491 } // namespace ash | 492 } // namespace ash |
| 492 | 493 |
| 493 #endif // ASH_SHELL_H_ | 494 #endif // ASH_SHELL_H_ |
| OLD | NEW |