| 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 #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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 // See class documentation for Widget in widget.h for a note about ownership. | 167 // See class documentation for Widget in widget.h for a note about ownership. |
| 168 Widget::InitParams::Ownership ownership_; | 168 Widget::InitParams::Ownership ownership_; |
| 169 | 169 |
| 170 // The following factory is used for calls to close the NativeWidgetAura | 170 // The following factory is used for calls to close the NativeWidgetAura |
| 171 // instance. | 171 // instance. |
| 172 base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_; | 172 base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_; |
| 173 | 173 |
| 174 // Can we be made active? | 174 // Can we be made active? |
| 175 bool can_activate_; | 175 bool can_activate_; |
| 176 | 176 |
| 177 #if defined(USE_X11) | |
| 178 // Indicates if we should handle the upcoming Alt key release event. | |
| 179 bool should_handle_menu_key_release_; | |
| 180 #endif | |
| 181 | |
| 182 gfx::NativeCursor cursor_; | 177 gfx::NativeCursor cursor_; |
| 183 | 178 |
| 184 // The saved window state for exiting full screen state. | 179 // The saved window state for exiting full screen state. |
| 185 int saved_window_state_; | 180 int saved_window_state_; |
| 186 | 181 |
| 187 scoped_ptr<TooltipManagerAura> tooltip_manager_; | 182 scoped_ptr<TooltipManagerAura> tooltip_manager_; |
| 188 | 183 |
| 189 scoped_ptr<ActiveWindowObserver> active_window_observer_; | 184 scoped_ptr<ActiveWindowObserver> active_window_observer_; |
| 190 | 185 |
| 191 scoped_ptr<DropHelper> drop_helper_; | 186 scoped_ptr<DropHelper> drop_helper_; |
| 192 | 187 |
| 193 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); | 188 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); |
| 194 }; | 189 }; |
| 195 | 190 |
| 196 } // namespace views | 191 } // namespace views |
| 197 | 192 |
| 198 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 193 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
| OLD | NEW |