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

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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 virtual void AccessibilityDoDefaultAction(int acc_obj_id) OVERRIDE; 227 virtual void AccessibilityDoDefaultAction(int acc_obj_id) OVERRIDE;
228 virtual void AccessibilityScrollToMakeVisible( 228 virtual void AccessibilityScrollToMakeVisible(
229 int acc_obj_id, gfx::Rect subfocus) OVERRIDE; 229 int acc_obj_id, gfx::Rect subfocus) OVERRIDE;
230 virtual void AccessibilityScrollToPoint( 230 virtual void AccessibilityScrollToPoint(
231 int acc_obj_id, gfx::Point point) OVERRIDE; 231 int acc_obj_id, gfx::Point point) OVERRIDE;
232 virtual void AccessibilitySetTextSelection( 232 virtual void AccessibilitySetTextSelection(
233 int acc_obj_id, int start_offset, int end_offset) OVERRIDE; 233 int acc_obj_id, int start_offset, int end_offset) OVERRIDE;
234 234
235 // Overridden from ui::GestureEventHelper. 235 // Overridden from ui::GestureEventHelper.
236 virtual ui::GestureEvent* CreateGestureEvent( 236 virtual ui::GestureEvent* CreateGestureEvent(
237 ui::EventType type, 237 const ui::GestureEventDetails& details,
238 const gfx::Point& location, 238 const gfx::Point& location,
239 int flags, 239 int flags,
240 base::Time time, 240 base::Time time,
241 float param_first,
242 float param_second,
243 unsigned int touch_id_bitfield) OVERRIDE; 241 unsigned int touch_id_bitfield) OVERRIDE;
244 virtual ui::TouchEvent* CreateTouchEvent( 242 virtual ui::TouchEvent* CreateTouchEvent(
245 ui::EventType type, 243 ui::EventType type,
246 const gfx::Point& location, 244 const gfx::Point& location,
247 int touch_id, 245 int touch_id,
248 base::TimeDelta time_stamp) OVERRIDE; 246 base::TimeDelta time_stamp) OVERRIDE;
249 virtual bool DispatchLongPressGestureEvent(ui::GestureEvent* event) OVERRIDE; 247 virtual bool DispatchLongPressGestureEvent(ui::GestureEvent* event) OVERRIDE;
250 virtual bool DispatchCancelTouchEvent(ui::TouchEvent* event) OVERRIDE; 248 virtual bool DispatchCancelTouchEvent(ui::TouchEvent* event) OVERRIDE;
251 249
252 protected: 250 protected:
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 bool touch_events_enabled_; 550 bool touch_events_enabled_;
553 551
554 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; 552 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_;
555 553
556 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); 554 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin);
557 }; 555 };
558 556
559 } // namespace content 557 } // namespace content
560 558
561 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 559 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
OLDNEW
« no previous file with comments | « ash/wm/user_activity_detector_unittest.cc ('k') | content/browser/renderer_host/render_widget_host_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698