Index: content/public/android/java/src/org/chromium/content/browser/accessibility/captioning/EmptyCaptioningBridge.java |
diff --git a/content/public/android/java/src/org/chromium/content/browser/accessibility/captioning/EmptyCaptioningBridge.java b/content/public/android/java/src/org/chromium/content/browser/accessibility/captioning/EmptyCaptioningBridge.java |
new file mode 100644 |
index 0000000000000000000000000000000000000000..da2568370b36b37405ac9795ce0aafebfb8ec3b5 |
--- /dev/null |
+++ b/content/public/android/java/src/org/chromium/content/browser/accessibility/captioning/EmptyCaptioningBridge.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; |
+ |
+/** |
+ * This is the empty implementation of SystemCaptioningBridge that does nothing used |
+ * on versions of Android that do not have support for system closed captioning settings. |
+ */ |
+public class EmptyCaptioningBridge implements SystemCaptioningBridge { |
+ /** |
+ * A no-op implementation of the syncToDelegate function. |
+ */ |
+ public void syncToDelegate() {} |
+ |
+ /** |
+ * A no-op implementation of the destroy function. |
+ */ |
+ public void destroy() {} |
+} |