OLD | NEW |
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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 void ContinuePendingReload(JNIEnv* env, jobject obj); | 166 void ContinuePendingReload(JNIEnv* env, jobject obj); |
167 void ClearHistory(JNIEnv* env, jobject obj); | 167 void ClearHistory(JNIEnv* env, jobject obj); |
168 void EvaluateJavaScript(JNIEnv* env, | 168 void EvaluateJavaScript(JNIEnv* env, |
169 jobject obj, | 169 jobject obj, |
170 jstring script, | 170 jstring script, |
171 jobject callback, | 171 jobject callback, |
172 jboolean start_renderer); | 172 jboolean start_renderer); |
173 int GetNativeImeAdapter(JNIEnv* env, jobject obj); | 173 int GetNativeImeAdapter(JNIEnv* env, jobject obj); |
174 void SetFocus(JNIEnv* env, jobject obj, jboolean focused); | 174 void SetFocus(JNIEnv* env, jobject obj, jboolean focused); |
175 void ScrollFocusedEditableNodeIntoView(JNIEnv* env, jobject obj); | 175 void ScrollFocusedEditableNodeIntoView(JNIEnv* env, jobject obj); |
176 void UndoScrollFocusedEditableNodeIntoView(JNIEnv* env, jobject obj); | |
177 | 176 |
178 jint GetBackgroundColor(JNIEnv* env, jobject obj); | 177 jint GetBackgroundColor(JNIEnv* env, jobject obj); |
179 void SetBackgroundColor(JNIEnv* env, jobject obj, jint color); | 178 void SetBackgroundColor(JNIEnv* env, jobject obj, jint color); |
180 void OnShow(JNIEnv* env, jobject obj); | 179 void OnShow(JNIEnv* env, jobject obj); |
181 void OnHide(JNIEnv* env, jobject obj); | 180 void OnHide(JNIEnv* env, jobject obj); |
182 void ClearSslPreferences(JNIEnv* env, jobject /* obj */); | 181 void ClearSslPreferences(JNIEnv* env, jobject /* obj */); |
183 void SetUseDesktopUserAgent(JNIEnv* env, | 182 void SetUseDesktopUserAgent(JNIEnv* env, |
184 jobject /* obj */, | 183 jobject /* obj */, |
185 jboolean state, | 184 jboolean state, |
186 jboolean reload_on_state_change); | 185 jboolean reload_on_state_change); |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 bool geolocation_needs_pause_; | 400 bool geolocation_needs_pause_; |
402 | 401 |
403 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 402 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
404 }; | 403 }; |
405 | 404 |
406 bool RegisterContentViewCore(JNIEnv* env); | 405 bool RegisterContentViewCore(JNIEnv* env); |
407 | 406 |
408 } // namespace content | 407 } // namespace content |
409 | 408 |
410 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 409 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
OLD | NEW |