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

Unified Diff: content/public/android/java/src/org/chromium/content_public/browser/WebContents.java

Issue 2810813004: Hide fullscreen rotation jank (Closed)
Patch Set: Refactor jank logic. Make RWHVA a WebContentsObserver to observe fullscreen state Created 3 years, 6 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/public/android/java/src/org/chromium/content_public/browser/WebContents.java
diff --git a/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java b/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java
index 1d516b1d836db61aad0d7207a71fb412e5c837a7..43666722af3a1c5b025be4b1ec74b022d231c3c3 100644
--- a/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java
+++ b/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java
@@ -172,6 +172,11 @@ public interface WebContents extends Parcelable {
*/
int getBackgroundColor();
+ /**
+ * Ask the underlying RenderWidgetHost for this WebContent whether we can show the static layer.
+ */
+ boolean canUseStaticLayer();
Khushal 2017/06/07 05:36:01 nit: Its unclear what a static layer is. Static/li
steimel 2017/06/13 23:15:44 Ack'd. Not included in the patch I'm uploading now
steimel 2017/06/14 00:29:38 Done.
+
/**
* Shows an interstitial page driven by the passed in delegate.
*

Powered by Google App Engine
This is Rietveld 408576698