Index: content/public/android/java/src/org/chromium/content/browser/accessibility/captioning/SystemCaptioningBridge.java |
diff --git a/content/public/android/java/src/org/chromium/content/browser/accessibility/captioning/SystemCaptioningBridge.java b/content/public/android/java/src/org/chromium/content/browser/accessibility/captioning/SystemCaptioningBridge.java |
new file mode 100644 |
index 0000000000000000000000000000000000000000..55eb5afb07b409effc1a038c5b7c80f2aa753374 |
--- /dev/null |
+++ b/content/public/android/java/src/org/chromium/content/browser/accessibility/captioning/SystemCaptioningBridge.java |
@@ -0,0 +1,21 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+package org.chromium.content.browser.accessibility.captioning; |
+ |
+/** |
+ * Interface for platform dependent captioning bridges. |
+ */ |
+public interface SystemCaptioningBridge { |
+ /** |
+ * Calls all of the delegate's methods with the system's current captioning settings. |
+ */ |
+ public void syncToDelegate(); |
+ |
+ /** |
+ * Removes any external listeners that were added. This implementation doesn't do anything. |
+ * After destroy is called, this object should not be used again. |
+ */ |
+ public void destroy(); |
+} |