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

Side by Side Diff: android_webview/glue/java/src/com/android/webview/chromium/ContentSettingsAdapter.java

Issue 2299883007: Remove video overlay support from WebView (Closed)
Patch Set: Removed another external_video_surface reference Created 4 years, 3 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 package com.android.webview.chromium; 5 package com.android.webview.chromium;
6 6
7 import android.webkit.WebSettings.LayoutAlgorithm; 7 import android.webkit.WebSettings.LayoutAlgorithm;
8 import android.webkit.WebSettings.PluginState; 8 import android.webkit.WebSettings.PluginState;
9 import android.webkit.WebSettings.RenderPriority; 9 import android.webkit.WebSettings.RenderPriority;
10 import android.webkit.WebSettings.ZoomDensity; 10 import android.webkit.WebSettings.ZoomDensity;
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after
546 public void setDisabledActionModeMenuItems(int menuItems) { 546 public void setDisabledActionModeMenuItems(int menuItems) {
547 mAwSettings.setDisabledActionModeMenuItems(menuItems); 547 mAwSettings.setDisabledActionModeMenuItems(menuItems);
548 } 548 }
549 549
550 public int getDisabledActionModeMenuItems() { 550 public int getDisabledActionModeMenuItems() {
551 return mAwSettings.getDisabledActionModeMenuItems(); 551 return mAwSettings.getDisabledActionModeMenuItems();
552 } 552 }
553 553
554 @Override 554 @Override
555 public void setVideoOverlayForEmbeddedEncryptedVideoEnabled(boolean flag) { 555 public void setVideoOverlayForEmbeddedEncryptedVideoEnabled(boolean flag) {
556 mAwSettings.setVideoOverlayForEmbeddedVideoEnabled(flag); 556 // No-op, see http://crbug.com/616583
557 } 557 }
558 558
559 @Override 559 @Override
560 public boolean getVideoOverlayForEmbeddedEncryptedVideoEnabled() { 560 public boolean getVideoOverlayForEmbeddedEncryptedVideoEnabled() {
561 return mAwSettings.getVideoOverlayForEmbeddedVideoEnabled(); 561 // Always false, see http://crbug.com/616583
562 return false;
562 } 563 }
563 } 564 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698