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

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

Issue 11593011: Add a new code/message path for moving an insertion handle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase + function rename Created 7 years, 11 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
« no previous file with comments | « no previous file | content/browser/android/content_view_core_impl.cc » ('j') | 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 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_helper.h" 10 #include "base/android/jni_helper.h"
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 void PinchEnd(JNIEnv* env, jobject obj, jlong time_ms); 136 void PinchEnd(JNIEnv* env, jobject obj, jlong time_ms);
137 void PinchBy(JNIEnv* env, 137 void PinchBy(JNIEnv* env,
138 jobject obj, 138 jobject obj,
139 jlong time_ms, 139 jlong time_ms,
140 jint x, 140 jint x,
141 jint y, 141 jint y,
142 jfloat delta); 142 jfloat delta);
143 void SelectBetweenCoordinates(JNIEnv* env, jobject obj, 143 void SelectBetweenCoordinates(JNIEnv* env, jobject obj,
144 jint x1, jint y1, 144 jint x1, jint y1,
145 jint x2, jint y2); 145 jint x2, jint y2);
146 void MoveCaret(JNIEnv* env, jobject obj, jint x, jint y);
146 147
147 jboolean CanGoBack(JNIEnv* env, jobject obj); 148 jboolean CanGoBack(JNIEnv* env, jobject obj);
148 jboolean CanGoForward(JNIEnv* env, jobject obj); 149 jboolean CanGoForward(JNIEnv* env, jobject obj);
149 jboolean CanGoToOffset(JNIEnv* env, jobject obj, jint offset); 150 jboolean CanGoToOffset(JNIEnv* env, jobject obj, jint offset);
150 void GoBack(JNIEnv* env, jobject obj); 151 void GoBack(JNIEnv* env, jobject obj);
151 void GoForward(JNIEnv* env, jobject obj); 152 void GoForward(JNIEnv* env, jobject obj);
152 void GoToOffset(JNIEnv* env, jobject obj, jint offset); 153 void GoToOffset(JNIEnv* env, jobject obj, jint offset);
153 void GoToNavigationIndex(JNIEnv* env, jobject obj, jint index); 154 void GoToNavigationIndex(JNIEnv* env, jobject obj, jint index);
154 void StopLoading(JNIEnv* env, jobject obj); 155 void StopLoading(JNIEnv* env, jobject obj);
155 void Reload(JNIEnv* env, jobject obj); 156 void Reload(JNIEnv* env, jobject obj);
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 ui::WindowAndroid* window_android_; 316 ui::WindowAndroid* window_android_;
316 317
317 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 318 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
318 }; 319 };
319 320
320 bool RegisterContentViewCore(JNIEnv* env); 321 bool RegisterContentViewCore(JNIEnv* env);
321 322
322 } // namespace content 323 } // namespace content
323 324
324 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 325 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698