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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 jobject object, | 182 jobject object, |
183 jstring name, | 183 jstring name, |
184 jclass safe_annotation_clazz); | 184 jclass safe_annotation_clazz); |
185 void RemoveJavascriptInterface(JNIEnv* env, jobject obj, jstring name); | 185 void RemoveJavascriptInterface(JNIEnv* env, jobject obj, jstring name); |
186 void WasResized(JNIEnv* env, jobject obj); | 186 void WasResized(JNIEnv* env, jobject obj); |
187 | 187 |
188 void SetAccessibilityEnabled(JNIEnv* env, jobject obj, bool enabled); | 188 void SetAccessibilityEnabled(JNIEnv* env, jobject obj, bool enabled); |
189 | 189 |
190 void SetTextTrackSettings(JNIEnv* env, | 190 void SetTextTrackSettings(JNIEnv* env, |
191 jobject obj, | 191 jobject obj, |
| 192 jboolean textTracksEnabled, |
192 jstring textTrackBackgroundColor, | 193 jstring textTrackBackgroundColor, |
193 jstring textTrackFontFamily, | 194 jstring textTrackFontFamily, |
194 jstring textTrackFontStyle, | 195 jstring textTrackFontStyle, |
195 jstring textTrackFontVariant, | 196 jstring textTrackFontVariant, |
196 jstring textTrackTextColor, | 197 jstring textTrackTextColor, |
197 jstring textTrackTextShadow, | 198 jstring textTrackTextShadow, |
198 jstring textTrackTextSize); | 199 jstring textTrackTextSize); |
199 | 200 |
200 void ExtractSmartClipData(JNIEnv* env, | 201 void ExtractSmartClipData(JNIEnv* env, |
201 jobject obj, | 202 jobject obj, |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
388 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; | 389 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; |
389 | 390 |
390 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 391 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
391 }; | 392 }; |
392 | 393 |
393 bool RegisterContentViewCore(JNIEnv* env); | 394 bool RegisterContentViewCore(JNIEnv* env); |
394 | 395 |
395 } // namespace content | 396 } // namespace content |
396 | 397 |
397 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 398 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
OLD | NEW |