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

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

Issue 264033002: Move some interfaces from content/port to internal content since they're not referenced in content/… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync Created 6 years, 7 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 2014 The Chromium Authors. All rights reserved. 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 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_INPUT_TOUCH_EMULATOR_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_EMULATOR_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_EMULATOR_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_EMULATOR_H_
7 7
8 #include "content/browser/renderer_host/input/touch_emulator_client.h" 8 #include "content/browser/renderer_host/input/touch_emulator_client.h"
9 #include "content/common/cursors/webcursor.h" 9 #include "content/common/cursors/webcursor.h"
10 #include "content/port/common/input_event_ack_state.h" 10 #include "content/common/input/input_event_ack_state.h"
11 #include "third_party/WebKit/public/web/WebInputEvent.h" 11 #include "third_party/WebKit/public/web/WebInputEvent.h"
12 #include "ui/events/gesture_detection/filtered_gesture_provider.h" 12 #include "ui/events/gesture_detection/filtered_gesture_provider.h"
13 13
14 namespace content { 14 namespace content {
15 15
16 // Emulates touch input with mouse and keyboard. 16 // Emulates touch input with mouse and keyboard.
17 class CONTENT_EXPORT TouchEmulator : public ui::GestureProviderClient { 17 class CONTENT_EXPORT TouchEmulator : public ui::GestureProviderClient {
18 public: 18 public:
19 explicit TouchEmulator(TouchEmulatorClient* client); 19 explicit TouchEmulator(TouchEmulatorClient* client);
20 virtual ~TouchEmulator(); 20 virtual ~TouchEmulator();
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 // The cumulative scale change from the start of pinch gesture. 91 // The cumulative scale change from the start of pinch gesture.
92 float pinch_scale_; 92 float pinch_scale_;
93 bool pinch_gesture_active_; 93 bool pinch_gesture_active_;
94 94
95 DISALLOW_COPY_AND_ASSIGN(TouchEmulator); 95 DISALLOW_COPY_AND_ASSIGN(TouchEmulator);
96 }; 96 };
97 97
98 } // namespace content 98 } // namespace content
99 99
100 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_EMULATOR_H_ 100 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_EMULATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698