| 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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 base::WeakPtrFactory<DesktopNativeWidgetAura> close_widget_factory_; | 245 base::WeakPtrFactory<DesktopNativeWidgetAura> close_widget_factory_; |
| 246 | 246 |
| 247 scoped_ptr<NativeWidgetAuraWindowObserver> active_window_observer_; | 247 scoped_ptr<NativeWidgetAuraWindowObserver> active_window_observer_; |
| 248 | 248 |
| 249 // Can we be made active? | 249 // Can we be made active? |
| 250 bool can_activate_; | 250 bool can_activate_; |
| 251 | 251 |
| 252 // Ownership passed to RootWindow on Init. | 252 // Ownership passed to RootWindow on Init. |
| 253 DesktopRootWindowHost* desktop_root_window_host_; | 253 DesktopRootWindowHost* desktop_root_window_host_; |
| 254 | 254 |
| 255 // The content of |root_window_|. WARNING: this may be NULL if deleted out | 255 // Child of the root, contains |content_window_|. |
| 256 // from under us. | 256 aura::Window* content_window_container_; |
| 257 aura::Window* window_; | |
| 258 | 257 |
| 259 // Contains the content window defined above. Ensures that ZOrder changes | 258 // Child of |content_window_container_|. This is the return value from |
| 260 // occurring in the content window hierarchy don't affect the other children | 259 // GetNativeView(). |
| 261 // of the root window. | 260 // WARNING: this may be NULL, in particular during shutdown it becomes NULL. |
| 262 aura::Window* content_window_container_; | 261 aura::Window* content_window_; |
| 263 | 262 |
| 264 internal::NativeWidgetDelegate* native_widget_delegate_; | 263 internal::NativeWidgetDelegate* native_widget_delegate_; |
| 265 | 264 |
| 266 scoped_ptr<aura::client::StackingClient> stacking_client_; | 265 scoped_ptr<aura::client::StackingClient> stacking_client_; |
| 267 | 266 |
| 268 // Toplevel event filter which dispatches to other event filters. | 267 // Toplevel event filter which dispatches to other event filters. |
| 269 corewm::CompoundEventFilter* root_window_event_filter_; | 268 corewm::CompoundEventFilter* root_window_event_filter_; |
| 270 | 269 |
| 271 scoped_ptr<corewm::InputMethodEventFilter> input_method_event_filter_; | 270 scoped_ptr<corewm::InputMethodEventFilter> input_method_event_filter_; |
| 272 | 271 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 294 | 293 |
| 295 // See class documentation for Widget in widget.h for a note about type. | 294 // See class documentation for Widget in widget.h for a note about type. |
| 296 Widget::InitParams::Type widget_type_; | 295 Widget::InitParams::Type widget_type_; |
| 297 | 296 |
| 298 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); | 297 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); |
| 299 }; | 298 }; |
| 300 | 299 |
| 301 } // namespace views | 300 } // namespace views |
| 302 | 301 |
| 303 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ | 302 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ |
| OLD | NEW |