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 UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ |
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ |
7 | 7 |
8 #include "base/memory/weak_ptr.h" | 8 #include "base/memory/weak_ptr.h" |
9 #include "ui/aura/client/activation_change_observer.h" | 9 #include "ui/aura/client/activation_change_observer.h" |
10 #include "ui/aura/client/activation_delegate.h" | 10 #include "ui/aura/client/activation_delegate.h" |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 // Can we be made active? | 235 // Can we be made active? |
236 bool can_activate_; | 236 bool can_activate_; |
237 | 237 |
238 // Ownership passed to RootWindow on Init. | 238 // Ownership passed to RootWindow on Init. |
239 DesktopRootWindowHost* desktop_root_window_host_; | 239 DesktopRootWindowHost* desktop_root_window_host_; |
240 | 240 |
241 // The content of |root_window_|. WARNING: this may be NULL if deleted out | 241 // The content of |root_window_|. WARNING: this may be NULL if deleted out |
242 // from under us. | 242 // from under us. |
243 aura::Window* window_; | 243 aura::Window* window_; |
244 | 244 |
| 245 // Contains the content window defined above. Ensures that ZOrder changes |
| 246 // occurring in the content window hierarchy don't affect the other children |
| 247 // of the root window. |
| 248 aura::Window* content_window_container_; |
| 249 |
245 internal::NativeWidgetDelegate* native_widget_delegate_; | 250 internal::NativeWidgetDelegate* native_widget_delegate_; |
246 | 251 |
247 scoped_ptr<aura::client::StackingClient> stacking_client_; | 252 scoped_ptr<aura::client::StackingClient> stacking_client_; |
248 | 253 |
249 // Toplevel event filter which dispatches to other event filters. | 254 // Toplevel event filter which dispatches to other event filters. |
250 corewm::CompoundEventFilter* root_window_event_filter_; | 255 corewm::CompoundEventFilter* root_window_event_filter_; |
251 | 256 |
252 scoped_ptr<corewm::InputMethodEventFilter> input_method_event_filter_; | 257 scoped_ptr<corewm::InputMethodEventFilter> input_method_event_filter_; |
253 | 258 |
254 scoped_ptr<DropHelper> drop_helper_; | 259 scoped_ptr<DropHelper> drop_helper_; |
(...skipping 17 matching lines...) Expand all Loading... |
272 // Reorders child windows of |window_| associated with a view based on the | 277 // Reorders child windows of |window_| associated with a view based on the |
273 // order of the associated views in the widget's view hierarchy. | 278 // order of the associated views in the widget's view hierarchy. |
274 scoped_ptr<WindowReorderer> window_reorderer_; | 279 scoped_ptr<WindowReorderer> window_reorderer_; |
275 | 280 |
276 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); | 281 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); |
277 }; | 282 }; |
278 | 283 |
279 } // namespace views | 284 } // namespace views |
280 | 285 |
281 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ | 286 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ |
OLD | NEW |