| 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_NATIVE_WIDGET_AURA_H_ | 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
| 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_vector.h" | 8 #include "base/memory/scoped_vector.h" |
| 9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
| 10 #include "ui/aura/client/focus_change_observer.h" | 10 #include "ui/aura/client/focus_change_observer.h" |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 // non-NULL. | 199 // non-NULL. |
| 200 aura::Window* window_; | 200 aura::Window* window_; |
| 201 | 201 |
| 202 // See class documentation for Widget in widget.h for a note about ownership. | 202 // See class documentation for Widget in widget.h for a note about ownership. |
| 203 Widget::InitParams::Ownership ownership_; | 203 Widget::InitParams::Ownership ownership_; |
| 204 | 204 |
| 205 // The following factory is used for calls to close the NativeWidgetAura | 205 // The following factory is used for calls to close the NativeWidgetAura |
| 206 // instance. | 206 // instance. |
| 207 base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_; | 207 base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_; |
| 208 | 208 |
| 209 // Can we be made active? |
| 210 bool can_activate_; |
| 211 |
| 209 // Are we in the destructor? | 212 // Are we in the destructor? |
| 210 bool destroying_; | 213 bool destroying_; |
| 211 | 214 |
| 212 gfx::NativeCursor cursor_; | 215 gfx::NativeCursor cursor_; |
| 213 | 216 |
| 214 // The saved window state for exiting full screen state. | 217 // The saved window state for exiting full screen state. |
| 215 ui::WindowShowState saved_window_state_; | 218 ui::WindowShowState saved_window_state_; |
| 216 | 219 |
| 217 scoped_ptr<TooltipManagerAura> tooltip_manager_; | 220 scoped_ptr<TooltipManagerAura> tooltip_manager_; |
| 218 | 221 |
| 219 // Reorders child windows of |window_| associated with a view based on the | 222 // Reorders child windows of |window_| associated with a view based on the |
| 220 // order of the associated views in the widget's view hierarchy. | 223 // order of the associated views in the widget's view hierarchy. |
| 221 scoped_ptr<WindowReorderer> window_reorderer_; | 224 scoped_ptr<WindowReorderer> window_reorderer_; |
| 222 | 225 |
| 223 scoped_ptr<DropHelper> drop_helper_; | 226 scoped_ptr<DropHelper> drop_helper_; |
| 224 int last_drop_operation_; | 227 int last_drop_operation_; |
| 225 | 228 |
| 226 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); | 229 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); |
| 227 }; | 230 }; |
| 228 | 231 |
| 229 } // namespace views | 232 } // namespace views |
| 230 | 233 |
| 231 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 234 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
| OLD | NEW |