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 | |
212 // Are we in the destructor? | 209 // Are we in the destructor? |
213 bool destroying_; | 210 bool destroying_; |
214 | 211 |
215 gfx::NativeCursor cursor_; | 212 gfx::NativeCursor cursor_; |
216 | 213 |
217 // The saved window state for exiting full screen state. | 214 // The saved window state for exiting full screen state. |
218 ui::WindowShowState saved_window_state_; | 215 ui::WindowShowState saved_window_state_; |
219 | 216 |
220 scoped_ptr<TooltipManagerAura> tooltip_manager_; | 217 scoped_ptr<TooltipManagerAura> tooltip_manager_; |
221 | 218 |
222 // Reorders child windows of |window_| associated with a view based on the | 219 // Reorders child windows of |window_| associated with a view based on the |
223 // order of the associated views in the widget's view hierarchy. | 220 // order of the associated views in the widget's view hierarchy. |
224 scoped_ptr<WindowReorderer> window_reorderer_; | 221 scoped_ptr<WindowReorderer> window_reorderer_; |
225 | 222 |
226 scoped_ptr<DropHelper> drop_helper_; | 223 scoped_ptr<DropHelper> drop_helper_; |
227 int last_drop_operation_; | 224 int last_drop_operation_; |
228 | 225 |
229 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); | 226 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); |
230 }; | 227 }; |
231 | 228 |
232 } // namespace views | 229 } // namespace views |
233 | 230 |
234 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 231 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
OLD | NEW |