OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 5 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
6 #define VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 6 #define VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/memory/scoped_vector.h" | 9 #include "base/memory/scoped_vector.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 | 149 |
150 aura::Window* window_; | 150 aura::Window* window_; |
151 | 151 |
152 // See class documentation for Widget in widget.h for a note about ownership. | 152 // See class documentation for Widget in widget.h for a note about ownership. |
153 Widget::InitParams::Ownership ownership_; | 153 Widget::InitParams::Ownership ownership_; |
154 | 154 |
155 // The following factory is used for calls to close the NativeWidgetAura | 155 // The following factory is used for calls to close the NativeWidgetAura |
156 // instance. | 156 // instance. |
157 base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_; | 157 base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_; |
158 | 158 |
| 159 // Can we be made active? |
159 bool can_activate_; | 160 bool can_activate_; |
160 | 161 |
161 gfx::NativeCursor cursor_; | 162 gfx::NativeCursor cursor_; |
162 | 163 |
163 scoped_ptr<TooltipManagerViews> tooltip_manager_; | 164 scoped_ptr<TooltipManagerViews> tooltip_manager_; |
164 | 165 |
165 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); | 166 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); |
166 }; | 167 }; |
167 | 168 |
168 } // namespace views | 169 } // namespace views |
169 | 170 |
170 #endif // VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 171 #endif // VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
OLD | NEW |