| 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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 Widget::InitParams::Ownership ownership_; | 151 Widget::InitParams::Ownership ownership_; |
| 152 | 152 |
| 153 // The following factory is used for calls to close the NativeWidgetAura | 153 // The following factory is used for calls to close the NativeWidgetAura |
| 154 // instance. | 154 // instance. |
| 155 base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_; | 155 base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_; |
| 156 | 156 |
| 157 bool can_activate_; | 157 bool can_activate_; |
| 158 | 158 |
| 159 gfx::NativeCursor cursor_; | 159 gfx::NativeCursor cursor_; |
| 160 | 160 |
| 161 scoped_ptr<TooltipManager> tooltip_manager_; |
| 162 |
| 161 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); | 163 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); |
| 162 }; | 164 }; |
| 163 | 165 |
| 164 } // namespace views | 166 } // namespace views |
| 165 | 167 |
| 166 #endif // VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 168 #endif // VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
| OLD | NEW |