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

Unified Diff: content/browser/frame_host/render_frame_host_impl.cc

Issue 1002473003: Expose text track settings in Content and implement for Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix CQ Issues Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/frame_host/render_frame_host_impl.cc
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
index 0a6c18a637ebbdae5d2447a4b80b2c991ced0f64..cfce8d2f362345b456221ce3ca8048d888e53c7f 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -1809,6 +1809,12 @@ void RenderFrameHostImpl::SetAccessibilityCallbackForTesting(
accessibility_testing_callback_ = callback;
}
+void RenderFrameHostImpl::SetTextTrackSettings(
+ const FrameMsg_TextTrackSettings_Params& params) {
+ DCHECK(!GetParent());
+ Send(new FrameMsg_SetTextTrackSettings(routing_id_, params));
+}
+
const ui::AXTree* RenderFrameHostImpl::GetAXTreeForTesting() {
return ax_tree_for_testing_.get();
}

Powered by Google App Engine
This is Rietveld 408576698