| 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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 void AddJavascriptInterface(JNIEnv* env, | 164 void AddJavascriptInterface(JNIEnv* env, |
| 165 jobject obj, | 165 jobject obj, |
| 166 jobject object, | 166 jobject object, |
| 167 jstring name, | 167 jstring name, |
| 168 jclass safe_annotation_clazz); | 168 jclass safe_annotation_clazz); |
| 169 void RemoveJavascriptInterface(JNIEnv* env, jobject obj, jstring name); | 169 void RemoveJavascriptInterface(JNIEnv* env, jobject obj, jstring name); |
| 170 void WasResized(JNIEnv* env, jobject obj); | 170 void WasResized(JNIEnv* env, jobject obj); |
| 171 | 171 |
| 172 void SetAccessibilityEnabled(JNIEnv* env, jobject obj, bool enabled); | 172 void SetAccessibilityEnabled(JNIEnv* env, jobject obj, bool enabled); |
| 173 | 173 |
| 174 void SetTextTrackSettings(JNIEnv* env, |
| 175 jobject obj, |
| 176 jstring textTrackBackgroundColor, |
| 177 jstring textTrackFontFamily, |
| 178 jstring textTrackFontStyle, |
| 179 jstring textTrackFontVariant, |
| 180 jstring textTrackTextColor, |
| 181 jstring textTrackTextShadow, |
| 182 jstring textTrackTextSize); |
| 183 |
| 174 void ExtractSmartClipData(JNIEnv* env, | 184 void ExtractSmartClipData(JNIEnv* env, |
| 175 jobject obj, | 185 jobject obj, |
| 176 jint x, | 186 jint x, |
| 177 jint y, | 187 jint y, |
| 178 jint width, | 188 jint width, |
| 179 jint height); | 189 jint height); |
| 180 | 190 |
| 181 void SetBackgroundOpaque(JNIEnv* env, jobject jobj, jboolean opaque); | 191 void SetBackgroundOpaque(JNIEnv* env, jobject jobj, jboolean opaque); |
| 182 void SetDrawsContent(JNIEnv* env, jobject jobj, jboolean draws); | 192 void SetDrawsContent(JNIEnv* env, jobject jobj, jboolean draws); |
| 183 | 193 |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; | 358 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; |
| 349 | 359 |
| 350 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 360 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
| 351 }; | 361 }; |
| 352 | 362 |
| 353 bool RegisterContentViewCore(JNIEnv* env); | 363 bool RegisterContentViewCore(JNIEnv* env); |
| 354 | 364 |
| 355 } // namespace content | 365 } // namespace content |
| 356 | 366 |
| 357 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 367 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
| OLD | NEW |