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

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

Issue 10479010: Gesture related changes for views: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix test and add some mores Created 8 years, 6 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/widget/native_widget_win.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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 // Last position/flag of a mouse press/drag. Used if capture stops and we need 163 // Last position/flag of a mouse press/drag. Used if capture stops and we need
164 // to synthesize a release. 164 // to synthesize a release.
165 int last_mouse_event_flags_; 165 int last_mouse_event_flags_;
166 int last_mouse_event_x_; 166 int last_mouse_event_x_;
167 int last_mouse_event_y_; 167 int last_mouse_event_y_;
168 168
169 // The view currently handling touch events. 169 // The view currently handling touch events.
170 View* touch_pressed_handler_; 170 View* touch_pressed_handler_;
171 171
172 // The view currently handling gesture events. 172 // The view currently handling gesture events.
173 View* gesture_handling_view_; 173 View* gesture_handler_;
174 174
175 // Focus --------------------------------------------------------------------- 175 // Focus ---------------------------------------------------------------------
176 176
177 // The focus search algorithm. 177 // The focus search algorithm.
178 FocusSearch focus_search_; 178 FocusSearch focus_search_;
179 179
180 // Whether this root view belongs to the current active window. 180 // Whether this root view belongs to the current active window.
181 // bool activated_; 181 // bool activated_;
182 182
183 // The parent FocusTraversable, used for focus traversal. 183 // The parent FocusTraversable, used for focus traversal.
184 FocusTraversable* focus_traversable_parent_; 184 FocusTraversable* focus_traversable_parent_;
185 185
186 // The View that contains this RootView. This is used when we have RootView 186 // The View that contains this RootView. This is used when we have RootView
187 // wrapped inside native components, and is used for the focus traversal. 187 // wrapped inside native components, and is used for the focus traversal.
188 View* focus_traversable_parent_view_; 188 View* focus_traversable_parent_view_;
189 189
190 // Drag and drop ------------------------------------------------------------- 190 // Drag and drop -------------------------------------------------------------
191 191
192 // Tracks drag state for a view. 192 // Tracks drag state for a view.
193 View::DragInfo drag_info_; 193 View::DragInfo drag_info_;
194 194
195 DISALLOW_IMPLICIT_CONSTRUCTORS(RootView); 195 DISALLOW_IMPLICIT_CONSTRUCTORS(RootView);
196 }; 196 };
197 197
198 } // namespace internal 198 } // namespace internal
199 } // namespace views 199 } // namespace views
200 200
201 #endif // UI_VIEWS_WIDGET_ROOT_VIEW_H_ 201 #endif // UI_VIEWS_WIDGET_ROOT_VIEW_H_
OLDNEW
« no previous file with comments | « ui/views/widget/native_widget_win.cc ('k') | ui/views/widget/root_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698