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

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

Issue 1110103004: Hook up Android closed captions 'enabled' setting to Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed lgtm nits Created 5 years, 5 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 | « AUTHORS ('k') | 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 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
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
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_
OLDNEW
« no previous file with comments | « AUTHORS ('k') | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698