Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Side by Side Diff: ui/views/widget/native_widget_aura.h

Issue 8907029: AURA/X11: Handle VKEY_MENU accelerator on content area (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 // See class documentation for Widget in widget.h for a note about ownership. 164 // See class documentation for Widget in widget.h for a note about ownership.
165 Widget::InitParams::Ownership ownership_; 165 Widget::InitParams::Ownership ownership_;
166 166
167 // The following factory is used for calls to close the NativeWidgetAura 167 // The following factory is used for calls to close the NativeWidgetAura
168 // instance. 168 // instance.
169 base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_; 169 base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_;
170 170
171 // Can we be made active? 171 // Can we be made active?
172 bool can_activate_; 172 bool can_activate_;
173 173
174 #if defined(USE_X11)
175 // Indicates if we should handle the upcoming Alt key release event.
176 bool should_handle_menu_key_release_;
177 #endif
178
179 gfx::NativeCursor cursor_; 174 gfx::NativeCursor cursor_;
180 175
181 scoped_ptr<TooltipManagerAura> tooltip_manager_; 176 scoped_ptr<TooltipManagerAura> tooltip_manager_;
182 177
183 scoped_ptr<ActiveWindowObserver> active_window_observer_; 178 scoped_ptr<ActiveWindowObserver> active_window_observer_;
184 179
185 scoped_ptr<DropHelper> drop_helper_; 180 scoped_ptr<DropHelper> drop_helper_;
186 181
187 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); 182 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura);
188 }; 183 };
189 184
190 } // namespace views 185 } // namespace views
191 186
192 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 187 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698