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

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

Issue 291273007: Prevent the context menu from showing when long pressing the window controls (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months 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
« no previous file with comments | « ui/views/view.cc ('k') | ui/views/widget/root_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_ROOT_VIEW_H_ 5 #ifndef UI_VIEWS_WIDGET_ROOT_VIEW_H_
6 #define UI_VIEWS_WIDGET_ROOT_VIEW_H_ 6 #define UI_VIEWS_WIDGET_ROOT_VIEW_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 187
188 // The view currently handling gesture events. When set, this handler receives 188 // The view currently handling gesture events. When set, this handler receives
189 // all gesture events, except when there is an event handler for the specific 189 // all gesture events, except when there is an event handler for the specific
190 // gesture (e.g. scroll). 190 // gesture (e.g. scroll).
191 View* gesture_handler_; 191 View* gesture_handler_;
192 192
193 // The view currently handling scroll gesture events. 193 // The view currently handling scroll gesture events.
194 View* scroll_gesture_handler_; 194 View* scroll_gesture_handler_;
195 195
196 scoped_ptr<internal::PreEventDispatchHandler> pre_dispatch_handler_; 196 scoped_ptr<internal::PreEventDispatchHandler> pre_dispatch_handler_;
197 scoped_ptr<internal::PostEventDispatchHandler> post_dispatch_handler_;
197 198
198 // Focus --------------------------------------------------------------------- 199 // Focus ---------------------------------------------------------------------
199 200
200 // The focus search algorithm. 201 // The focus search algorithm.
201 FocusSearch focus_search_; 202 FocusSearch focus_search_;
202 203
203 // Whether this root view belongs to the current active window. 204 // Whether this root view belongs to the current active window.
204 // bool activated_; 205 // bool activated_;
205 206
206 // The parent FocusTraversable, used for focus traversal. 207 // The parent FocusTraversable, used for focus traversal.
(...skipping 11 matching lines...) Expand all
218 // Tracks drag state for a view. 219 // Tracks drag state for a view.
219 View::DragInfo drag_info_; 220 View::DragInfo drag_info_;
220 221
221 DISALLOW_IMPLICIT_CONSTRUCTORS(RootView); 222 DISALLOW_IMPLICIT_CONSTRUCTORS(RootView);
222 }; 223 };
223 224
224 } // namespace internal 225 } // namespace internal
225 } // namespace views 226 } // namespace views
226 227
227 #endif // UI_VIEWS_WIDGET_ROOT_VIEW_H_ 228 #endif // UI_VIEWS_WIDGET_ROOT_VIEW_H_
OLDNEW
« no previous file with comments | « ui/views/view.cc ('k') | ui/views/widget/root_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698