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

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

Issue 10834269: gestures: Some more event cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge Created 8 years, 4 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 SetAccessibilityFocus(int acc_obj_id) OVERRIDE; 227 virtual void SetAccessibilityFocus(int acc_obj_id) OVERRIDE;
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(
238 const ui::GestureEventDetails& details,
239 const gfx::Point& location,
240 int flags,
241 base::Time time,
242 unsigned int touch_id_bitfield) OVERRIDE;
243 virtual ui::TouchEvent* CreateTouchEvent(
244 ui::EventType type,
245 const gfx::Point& location,
246 int touch_id,
247 base::TimeDelta time_stamp) OVERRIDE;
248 virtual bool DispatchLongPressGestureEvent(ui::GestureEvent* event) OVERRIDE; 237 virtual bool DispatchLongPressGestureEvent(ui::GestureEvent* event) OVERRIDE;
249 virtual bool DispatchCancelTouchEvent(ui::TouchEvent* event) OVERRIDE; 238 virtual bool DispatchCancelTouchEvent(ui::TouchEvent* event) OVERRIDE;
250 239
251 protected: 240 protected:
252 friend class RenderWidgetHostView; 241 friend class RenderWidgetHostView;
253 242
254 // Should construct only via RenderWidgetHostView::CreateViewForWidget. 243 // Should construct only via RenderWidgetHostView::CreateViewForWidget.
255 // 244 //
256 // The view will associate itself with the given widget. 245 // The view will associate itself with the given widget.
257 explicit RenderWidgetHostViewWin(RenderWidgetHost* widget); 246 explicit RenderWidgetHostViewWin(RenderWidgetHost* widget);
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 bool touch_events_enabled_; 539 bool touch_events_enabled_;
551 540
552 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; 541 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_;
553 542
554 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); 543 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin);
555 }; 544 };
556 545
557 } // namespace content 546 } // namespace content
558 547
559 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 548 #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