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

Side by Side Diff: webkit/child/webkitplatformsupport_child_impl.h

Issue 16424008: move webkit/glue/fling_* to webkit/child (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android 5 Created 7 years, 6 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 2013 The Chromium Authors. All rights reserved. 1 // // Copyright 2013 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 WEBKIT_CHILD_WEBKITPLATFORMSUPPORT_CHILD_IMPL_H_ 5 #ifndef WEBKIT_CHILD_WEBKITPLATFORMSUPPORT_CHILD_IMPL_H_
6 #define WEBKIT_CHILD_WEBKITPLATFORMSUPPORT_CHILD_IMPL_H_ 6 #define WEBKIT_CHILD_WEBKITPLATFORMSUPPORT_CHILD_IMPL_H_
7 7
8 #include "webkit/child/webkit_child_export.h" 8 #include "webkit/child/webkit_child_export.h"
9 #include "webkit/glue/webkitplatformsupport_impl.h" 9 #include "webkit/glue/webkitplatformsupport_impl.h"
10 10
11 namespace webkit_glue { 11 namespace webkit_glue {
12 12
13 class FlingCurveConfiguration;
14
13 class WEBKIT_CHILD_EXPORT WebKitPlatformSupportChildImpl : 15 class WEBKIT_CHILD_EXPORT WebKitPlatformSupportChildImpl :
14 public WebKitPlatformSupportImpl { 16 public WebKitPlatformSupportImpl {
15 public: 17 public:
16 WebKitPlatformSupportChildImpl(); 18 WebKitPlatformSupportChildImpl();
17 virtual ~WebKitPlatformSupportChildImpl(); 19 virtual ~WebKitPlatformSupportChildImpl();
20
21 void SetFlingCurveParameters(
22 const std::vector<float>& new_touchpad,
23 const std::vector<float>& new_touchscreen);
24
25 virtual WebKit::WebGestureCurve* createFlingAnimationCurve(
26 int device_source,
27 const WebKit::WebFloatPoint& velocity,
28 const WebKit::WebSize& cumulative_scroll) OVERRIDE;
29
30 scoped_ptr<FlingCurveConfiguration> fling_curve_configuration_;
18 }; 31 };
19 32
20 } // namespace webkit_glue 33 } // namespace webkit_glue
21 34
22 #endif // WEBKIT_CHILD_WEBKITPLATFORMSUPPORT_CHILD_IMPL_H_ 35 #endif // WEBKIT_CHILD_WEBKITPLATFORMSUPPORT_CHILD_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/child/fling_curve_configuration.cc ('k') | webkit/child/webkitplatformsupport_child_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698