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

Side by Side Diff: content/browser/renderer_host/input/touch_emulator_client.h

Issue 138163016: [DevTools] Touch emulation in content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missing files added Created 6 years, 8 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
OLDNEW
(Empty)
1 // Copyright 2014 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_INPUT_TOUCH_EMULATOR_CLIENT_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_EMULATOR_CLIENT_H_
7
8 #include "content/common/content_export.h"
9 #include "content/common/cursors/webcursor.h"
10 #include "third_party/WebKit/public/web/WebInputEvent.h"
11 #include "ui/events/latency_info.h"
12
13 namespace content {
14
15 // Emulates touch input with mouse and keyboard.
16 class CONTENT_EXPORT TouchEmulatorClient {
17 public:
18 virtual ~TouchEmulatorClient() {}
19
20 virtual void ForwardGestureEvent(const blink::WebGestureEvent& event) = 0;
21 virtual void ForwardTouchEventWithLatencyInfo(
jdduke (slow) 2014/04/07 18:12:37 Let's call this |ForwardTouchEvent()|, and add a n
dgozman 2014/04/08 16:56:49 Done.
22 const blink::WebTouchEvent& event,
23 const ui::LatencyInfo& latency_info) = 0;
24 virtual void SetCursor(const WebCursor& cursor) = 0;
25 };
26
27 } // namespace content
28
29 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_EMULATOR_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698