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

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

Issue 11188012: gesture recognizer: Remove the touch-event queue. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge Created 8 years, 2 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_UI_EVENTS_HELPER_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_UI_EVENTS_HELPER_H_
7
8 #include "base/memory/scoped_vector.h"
9
10 namespace WebKit {
11 class WebTouchEvent;
12 }
13
14 namespace ui {
15 class TouchEvent;
16 }
17
18 namespace content {
19
20 // Creates a list of ui::TouchEvents out of a single WebTouchEvent.
21 // A WebTouchEvent can contain information about a number of WebTouchPoints,
22 // whereas a ui::TouchEvent contains information about a single touch-point. So
23 // it is possible to create more than one ui::TouchEvents out of a single
24 // WebTouchEvent.
25 bool MakeUITouchEventsFromWebTouchEvents(const WebKit::WebTouchEvent& touch,
26 ScopedVector<ui::TouchEvent>* list);
27 }
28
29 #endif // CONTENT_BROWSER_RENDERER_HOST_UI_EVENTS_HELPER_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/touch_event_queue.cc ('k') | content/browser/renderer_host/ui_events_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698