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

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

Issue 660663002: Clear pending events upon main frame navigation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updates Created 6 years, 1 month 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 void PinchBegin(JNIEnv* env, jobject obj, jlong time_ms, jfloat x, jfloat y); 138 void PinchBegin(JNIEnv* env, jobject obj, jlong time_ms, jfloat x, jfloat y);
139 void PinchEnd(JNIEnv* env, jobject obj, jlong time_ms); 139 void PinchEnd(JNIEnv* env, jobject obj, jlong time_ms);
140 void PinchBy(JNIEnv* env, jobject obj, jlong time_ms, 140 void PinchBy(JNIEnv* env, jobject obj, jlong time_ms,
141 jfloat x, jfloat y, jfloat delta); 141 jfloat x, jfloat y, jfloat delta);
142 void SelectBetweenCoordinates(JNIEnv* env, jobject obj, 142 void SelectBetweenCoordinates(JNIEnv* env, jobject obj,
143 jfloat x1, jfloat y1, 143 jfloat x1, jfloat y1,
144 jfloat x2, jfloat y2); 144 jfloat x2, jfloat y2);
145 void MoveCaret(JNIEnv* env, jobject obj, jfloat x, jfloat y); 145 void MoveCaret(JNIEnv* env, jobject obj, jfloat x, jfloat y);
146 void HideTextHandles(JNIEnv* env, jobject obj); 146 void HideTextHandles(JNIEnv* env, jobject obj);
147 147
148 void ResetGestureDetection(JNIEnv* env, jobject obj); 148 void CancelActiveTouchSequence(JNIEnv* env, jobject obj);
149 void ResetPendingInput(JNIEnv* env, jobject obj);
149 void SetDoubleTapSupportEnabled(JNIEnv* env, jobject obj, jboolean enabled); 150 void SetDoubleTapSupportEnabled(JNIEnv* env, jobject obj, jboolean enabled);
150 void SetMultiTouchZoomSupportEnabled(JNIEnv* env, 151 void SetMultiTouchZoomSupportEnabled(JNIEnv* env,
151 jobject obj, 152 jobject obj,
152 jboolean enabled); 153 jboolean enabled);
153 154
154 long GetNativeImeAdapter(JNIEnv* env, jobject obj); 155 long GetNativeImeAdapter(JNIEnv* env, jobject obj);
155 void SetFocus(JNIEnv* env, jobject obj, jboolean focused); 156 void SetFocus(JNIEnv* env, jobject obj, jboolean focused);
156 157
157 jint GetBackgroundColor(JNIEnv* env, jobject obj); 158 jint GetBackgroundColor(JNIEnv* env, jobject obj);
158 void SetBackgroundColor(JNIEnv* env, jobject obj, jint color); 159 void SetBackgroundColor(JNIEnv* env, jobject obj, jint color);
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 java_bridge_dispatcher_host_; 343 java_bridge_dispatcher_host_;
343 344
344 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 345 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
345 }; 346 };
346 347
347 bool RegisterContentViewCore(JNIEnv* env); 348 bool RegisterContentViewCore(JNIEnv* env);
348 349
349 } // namespace content 350 } // namespace content
350 351
351 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 352 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/apps/web_view_browsertest.cc ('k') | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698