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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_win.h

Issue 10816008: ash: Record some additional information about the gestures. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge Created 8 years, 5 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
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 CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
7 7
8 #include <atlbase.h> 8 #include <atlbase.h>
9 #include <atlapp.h> 9 #include <atlapp.h>
10 #include <atlcrack.h> 10 #include <atlcrack.h>
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 virtual void AccessibilityDoDefaultAction(int acc_obj_id) OVERRIDE; 228 virtual void AccessibilityDoDefaultAction(int acc_obj_id) OVERRIDE;
229 virtual void AccessibilityScrollToMakeVisible( 229 virtual void AccessibilityScrollToMakeVisible(
230 int acc_obj_id, gfx::Rect subfocus) OVERRIDE; 230 int acc_obj_id, gfx::Rect subfocus) OVERRIDE;
231 virtual void AccessibilityScrollToPoint( 231 virtual void AccessibilityScrollToPoint(
232 int acc_obj_id, gfx::Point point) OVERRIDE; 232 int acc_obj_id, gfx::Point point) OVERRIDE;
233 virtual void AccessibilitySetTextSelection( 233 virtual void AccessibilitySetTextSelection(
234 int acc_obj_id, int start_offset, int end_offset) OVERRIDE; 234 int acc_obj_id, int start_offset, int end_offset) OVERRIDE;
235 235
236 // Overridden from ui::GestureEventHelper. 236 // Overridden from ui::GestureEventHelper.
237 virtual ui::GestureEvent* CreateGestureEvent( 237 virtual ui::GestureEvent* CreateGestureEvent(
238 ui::EventType type, 238 const ui::GestureEventDetails& details,
239 const gfx::Point& location, 239 const gfx::Point& location,
240 int flags, 240 int flags,
241 base::Time time, 241 base::Time time,
242 float param_first,
243 float param_second,
244 unsigned int touch_id_bitfield) OVERRIDE; 242 unsigned int touch_id_bitfield) OVERRIDE;
245 virtual ui::TouchEvent* CreateTouchEvent( 243 virtual ui::TouchEvent* CreateTouchEvent(
246 ui::EventType type, 244 ui::EventType type,
247 const gfx::Point& location, 245 const gfx::Point& location,
248 int touch_id, 246 int touch_id,
249 base::TimeDelta time_stamp) OVERRIDE; 247 base::TimeDelta time_stamp) OVERRIDE;
250 virtual bool DispatchLongPressGestureEvent(ui::GestureEvent* event) OVERRIDE; 248 virtual bool DispatchLongPressGestureEvent(ui::GestureEvent* event) OVERRIDE;
251 virtual bool DispatchCancelTouchEvent(ui::TouchEvent* event) OVERRIDE; 249 virtual bool DispatchCancelTouchEvent(ui::TouchEvent* event) OVERRIDE;
252 250
253 protected: 251 protected:
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
551 549
552 // Are touch events currently enabled? 550 // Are touch events currently enabled?
553 bool touch_events_enabled_; 551 bool touch_events_enabled_;
554 552
555 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; 553 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_;
556 554
557 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); 555 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin);
558 }; 556 };
559 557
560 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 558 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698