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

Side by Side Diff: content/browser/android/content_view_core_impl.h

Issue 1251323002: Plumb smooth scrolling in Chromium compositor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
6 #define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 6 #define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/android/jni_android.h" 10 #include "base/android/jni_android.h"
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 jfloat x, jfloat y, jfloat dx, jfloat dy); 138 jfloat x, jfloat y, jfloat dx, jfloat dy);
139 void FlingStart(JNIEnv* env, 139 void FlingStart(JNIEnv* env,
140 jobject obj, 140 jobject obj,
141 jlong time_ms, 141 jlong time_ms,
142 jfloat x, 142 jfloat x,
143 jfloat y, 143 jfloat y,
144 jfloat vx, 144 jfloat vx,
145 jfloat vy, 145 jfloat vy,
146 jboolean target_viewport); 146 jboolean target_viewport);
147 void FlingCancel(JNIEnv* env, jobject obj, jlong time_ms); 147 void FlingCancel(JNIEnv* env, jobject obj, jlong time_ms);
148 void SmoothScrollStart(JNIEnv* env,
149 jobject obj,
150 jlong time_ms,
151 float start_x,
152 float start_y,
153 float dx,
154 float dy,
155 jlong duration_ms);
148 void SingleTap(JNIEnv* env, jobject obj, jlong time_ms, 156 void SingleTap(JNIEnv* env, jobject obj, jlong time_ms,
149 jfloat x, jfloat y); 157 jfloat x, jfloat y);
150 void DoubleTap(JNIEnv* env, jobject obj, jlong time_ms, 158 void DoubleTap(JNIEnv* env, jobject obj, jlong time_ms,
151 jfloat x, jfloat y) ; 159 jfloat x, jfloat y) ;
152 void LongPress(JNIEnv* env, jobject obj, jlong time_ms, 160 void LongPress(JNIEnv* env, jobject obj, jlong time_ms,
153 jfloat x, jfloat y); 161 jfloat x, jfloat y);
154 void PinchBegin(JNIEnv* env, jobject obj, jlong time_ms, jfloat x, jfloat y); 162 void PinchBegin(JNIEnv* env, jobject obj, jlong time_ms, jfloat x, jfloat y);
155 void PinchEnd(JNIEnv* env, jobject obj, jlong time_ms); 163 void PinchEnd(JNIEnv* env, jobject obj, jlong time_ms);
156 void PinchBy(JNIEnv* env, jobject obj, jlong time_ms, 164 void PinchBy(JNIEnv* env, jobject obj, jlong time_ms,
157 jfloat x, jfloat y, jfloat delta); 165 jfloat x, jfloat y, jfloat delta);
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; 397 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_;
390 398
391 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 399 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
392 }; 400 };
393 401
394 bool RegisterContentViewCore(JNIEnv* env); 402 bool RegisterContentViewCore(JNIEnv* env);
395 403
396 } // namespace content 404 } // namespace content
397 405
398 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 406 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698