| OLD | NEW |
| 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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_ |
| 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_ |
| 7 | 7 |
| 8 #include <jni.h> | 8 #include <jni.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 void ScrollFocusedEditableNodeIntoView( | 110 void ScrollFocusedEditableNodeIntoView( |
| 111 JNIEnv* env, | 111 JNIEnv* env, |
| 112 const base::android::JavaParamRef<jobject>& obj); | 112 const base::android::JavaParamRef<jobject>& obj); |
| 113 void SelectWordAroundCaret(JNIEnv* env, | 113 void SelectWordAroundCaret(JNIEnv* env, |
| 114 const base::android::JavaParamRef<jobject>& obj); | 114 const base::android::JavaParamRef<jobject>& obj); |
| 115 void AdjustSelectionByCharacterOffset( | 115 void AdjustSelectionByCharacterOffset( |
| 116 JNIEnv* env, | 116 JNIEnv* env, |
| 117 const base::android::JavaParamRef<jobject>& obj, | 117 const base::android::JavaParamRef<jobject>& obj, |
| 118 jint start_adjust, | 118 jint start_adjust, |
| 119 jint end_adjust); | 119 jint end_adjust); |
| 120 void InsertCSS(JNIEnv* env, | |
| 121 const base::android::JavaParamRef<jobject>& jobj, | |
| 122 const base::android::JavaParamRef<jstring>& jcss); | |
| 123 void EvaluateJavaScript(JNIEnv* env, | 120 void EvaluateJavaScript(JNIEnv* env, |
| 124 const base::android::JavaParamRef<jobject>& obj, | 121 const base::android::JavaParamRef<jobject>& obj, |
| 125 const base::android::JavaParamRef<jstring>& script, | 122 const base::android::JavaParamRef<jstring>& script, |
| 126 const base::android::JavaParamRef<jobject>& callback); | 123 const base::android::JavaParamRef<jobject>& callback); |
| 127 void EvaluateJavaScriptForTests( | 124 void EvaluateJavaScriptForTests( |
| 128 JNIEnv* env, | 125 JNIEnv* env, |
| 129 const base::android::JavaParamRef<jobject>& obj, | 126 const base::android::JavaParamRef<jobject>& obj, |
| 130 const base::android::JavaParamRef<jstring>& script, | 127 const base::android::JavaParamRef<jstring>& script, |
| 131 const base::android::JavaParamRef<jobject>& callback); | 128 const base::android::JavaParamRef<jobject>& callback); |
| 132 | 129 |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 SynchronousCompositorClient* synchronous_compositor_client_; | 219 SynchronousCompositorClient* synchronous_compositor_client_; |
| 223 | 220 |
| 224 base::WeakPtrFactory<WebContentsAndroid> weak_factory_; | 221 base::WeakPtrFactory<WebContentsAndroid> weak_factory_; |
| 225 | 222 |
| 226 DISALLOW_COPY_AND_ASSIGN(WebContentsAndroid); | 223 DISALLOW_COPY_AND_ASSIGN(WebContentsAndroid); |
| 227 }; | 224 }; |
| 228 | 225 |
| 229 } // namespace content | 226 } // namespace content |
| 230 | 227 |
| 231 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_ | 228 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_ |
| OLD | NEW |