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

Side by Side Diff: webkit/glue/fling_animator_impl_android.h

Issue 12988003: [Android] Fix remaining linker errors for components build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 | Annotate | Revision Log
« no previous file with comments | « ui/gl/gl.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 WEBKIT_GLUE_FLING_ANIMATOR_IMPL_ANDROID_H_ 5 #ifndef WEBKIT_GLUE_FLING_ANIMATOR_IMPL_ANDROID_H_
6 #define WEBKIT_GLUE_FLING_ANIMATOR_IMPL_ANDROID_H_ 6 #define WEBKIT_GLUE_FLING_ANIMATOR_IMPL_ANDROID_H_
7 7
8 #include "base/android/scoped_java_ref.h" 8 #include "base/android/scoped_java_ref.h"
9 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatPoint.h" 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatPoint.h"
10 #include "third_party/WebKit/Source/Platform/chromium/public/WebGestureCurve.h" 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebGestureCurve.h"
11 #include "third_party/WebKit/Source/Platform/chromium/public/WebSize.h" 11 #include "third_party/WebKit/Source/Platform/chromium/public/WebSize.h"
12 #include "ui/gfx/point.h" 12 #include "ui/gfx/point.h"
13 #include "ui/gfx/point_f.h" 13 #include "ui/gfx/point_f.h"
14 #include "webkit/glue/webkit_glue_export.h"
14 15
15 namespace WebKit { 16 namespace WebKit {
16 class WebGestureCurveTarget; 17 class WebGestureCurveTarget;
17 } 18 }
18 19
19 namespace webkit_glue { 20 namespace webkit_glue {
20 21
21 class FlingAnimatorImpl : public WebKit::WebGestureCurve { 22 class WEBKIT_GLUE_EXPORT FlingAnimatorImpl : public WebKit::WebGestureCurve {
22 public: 23 public:
23 FlingAnimatorImpl(); 24 FlingAnimatorImpl();
24 virtual ~FlingAnimatorImpl(); 25 virtual ~FlingAnimatorImpl();
25 26
26 static FlingAnimatorImpl* CreateAndroidGestureCurve( 27 static FlingAnimatorImpl* CreateAndroidGestureCurve(
27 const WebKit::WebFloatPoint& velocity, 28 const WebKit::WebFloatPoint& velocity,
28 const WebKit::WebSize&); 29 const WebKit::WebSize&);
29 30
30 virtual bool apply(double time, 31 virtual bool apply(double time,
31 WebKit::WebGestureCurveTarget* target); 32 WebKit::WebGestureCurveTarget* target);
(...skipping 13 matching lines...) Expand all
45 base::android::ScopedJavaGlobalRef<jobject> java_scroller_; 46 base::android::ScopedJavaGlobalRef<jobject> java_scroller_;
46 47
47 gfx::Point last_position_; 48 gfx::Point last_position_;
48 49
49 DISALLOW_COPY_AND_ASSIGN(FlingAnimatorImpl); 50 DISALLOW_COPY_AND_ASSIGN(FlingAnimatorImpl);
50 }; 51 };
51 52
52 } // namespace webkit_glue 53 } // namespace webkit_glue
53 54
54 #endif // WEBKIT_GLUE_FLING_ANIMATOR_IMPL_ANDROID_H_ 55 #endif // WEBKIT_GLUE_FLING_ANIMATOR_IMPL_ANDROID_H_
OLDNEW
« no previous file with comments | « ui/gl/gl.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698