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

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

Issue 969833002: Glue layer settings for OffscreenPreRaster. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.util.Log; 7 import android.util.Log;
8 import android.webkit.WebSettings.LayoutAlgorithm; 8 import android.webkit.WebSettings.LayoutAlgorithm;
9 import android.webkit.WebSettings.PluginState; 9 import android.webkit.WebSettings.PluginState;
10 import android.webkit.WebSettings.RenderPriority; 10 import android.webkit.WebSettings.RenderPriority;
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after
577 @Override 577 @Override
578 public void setMixedContentMode(int mode) { 578 public void setMixedContentMode(int mode) {
579 mAwSettings.setMixedContentMode(mode); 579 mAwSettings.setMixedContentMode(mode);
580 } 580 }
581 581
582 @Override 582 @Override
583 public int getMixedContentMode() { 583 public int getMixedContentMode() {
584 return mAwSettings.getMixedContentMode(); 584 return mAwSettings.getMixedContentMode();
585 } 585 }
586 586
587 // TODO(hush):add @Override later
boliu 2015/03/02 19:17:17 I advocate getting rid of all @Overrides here inst
hush (inactive) 2015/03/02 19:26:27 Okay. I'm not going to add any more.
588 public void setOffscreenPreRaster(boolean enabled) {
589 return mAwSettings.setOffscreenPreRaster(enabled);
boliu 2015/03/02 19:17:17 Don't return void
hush (inactive) 2015/03/02 19:26:27 Done.
590 }
591
592 // TODO(hush):add @Override later
593 public boolean getOffscreenPreRaster() {
594 return mAwSettings.getOffscreenPreRaster();
595 }
596
587 @Override 597 @Override
588 public void setVideoOverlayForEmbeddedEncryptedVideoEnabled(boolean flag) { 598 public void setVideoOverlayForEmbeddedEncryptedVideoEnabled(boolean flag) {
589 mAwSettings.setVideoOverlayForEmbeddedVideoEnabled(flag); 599 mAwSettings.setVideoOverlayForEmbeddedVideoEnabled(flag);
590 } 600 }
591 601
592 @Override 602 @Override
593 public boolean getVideoOverlayForEmbeddedEncryptedVideoEnabled() { 603 public boolean getVideoOverlayForEmbeddedEncryptedVideoEnabled() {
594 return mAwSettings.getVideoOverlayForEmbeddedVideoEnabled(); 604 return mAwSettings.getVideoOverlayForEmbeddedVideoEnabled();
595 } 605 }
596 } 606 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698