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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 static Shell* instance_; | 245 static Shell* instance_; |
246 | 246 |
247 // Window mode is computed at shell initialization time, so allow it to be | 247 // Window mode is computed at shell initialization time, so allow it to be |
248 // overridden without modifying the global command line. | 248 // overridden without modifying the global command line. |
249 static bool compact_window_mode_for_test_; | 249 static bool compact_window_mode_for_test_; |
250 | 250 |
251 // If set before the Shell is initialized, the mouse cursor will be hidden | 251 // If set before the Shell is initialized, the mouse cursor will be hidden |
252 // when the screen is initially created. | 252 // when the screen is initially created. |
253 static bool initially_hide_cursor_; | 253 static bool initially_hide_cursor_; |
254 | 254 |
| 255 scoped_ptr<aura::RootWindow> root_window_; |
| 256 |
255 internal::RootWindowEventFilter* root_filter_; // not owned | 257 internal::RootWindowEventFilter* root_filter_; // not owned |
256 | 258 |
257 std::vector<WindowAndBoundsPair> to_restore_; | 259 std::vector<WindowAndBoundsPair> to_restore_; |
258 | 260 |
259 #if !defined(OS_MACOSX) | 261 #if !defined(OS_MACOSX) |
260 scoped_ptr<NestedDispatcherController> nested_dispatcher_controller_; | 262 scoped_ptr<NestedDispatcherController> nested_dispatcher_controller_; |
261 | 263 |
262 scoped_ptr<AcceleratorController> accelerator_controller_; | 264 scoped_ptr<AcceleratorController> accelerator_controller_; |
263 #endif // !defined(OS_MACOSX) | 265 #endif // !defined(OS_MACOSX) |
264 | 266 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 // Offset between the corner of the status area and the corner of the screen | 324 // Offset between the corner of the status area and the corner of the screen |
323 // when in the compact window mode. | 325 // when in the compact window mode. |
324 gfx::Size compact_status_area_offset_; | 326 gfx::Size compact_status_area_offset_; |
325 | 327 |
326 DISALLOW_COPY_AND_ASSIGN(Shell); | 328 DISALLOW_COPY_AND_ASSIGN(Shell); |
327 }; | 329 }; |
328 | 330 |
329 } // namespace ash | 331 } // namespace ash |
330 | 332 |
331 #endif // ASH_SHELL_H_ | 333 #endif // ASH_SHELL_H_ |
OLD | NEW |