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

Unified Diff: android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java

Issue 23899004: Use contents size for android_webview layout. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 side-by-side diff with in-line comments
Download patch
Index: android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java b/android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java
index bee46a14c1c4ca7ec87174ea9953d5b7b4359cc3..d3b42d55c600c3f77b548ac81ec8f1d78b15efc2 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java
@@ -68,22 +68,6 @@ public class AwLayoutSizer {
}
/**
- * This is used to register the AwLayoutSizer to preferred content size change notifications in
- * the AwWebContentsDelegate.
- * NOTE: The preferred size notifications come in from the Renderer main thread and might be
- * out of sync with the content size as seen by the InProcessViewRenderer (and Compositor).
- */
- public AwWebContentsDelegateAdapter.PreferredSizeChangedListener
- getPreferredSizeChangedListener() {
- return new AwWebContentsDelegateAdapter.PreferredSizeChangedListener() {
- @Override
- public void updatePreferredSize(int widthCss, int heightCss) {
- onContentSizeChanged(widthCss, heightCss);
- }
- };
- }
-
- /**
* Postpone requesting layouts till unfreezeLayoutRequests is called.
*/
public void freezeLayoutRequests() {

Powered by Google App Engine
This is Rietveld 408576698