| Index: content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
|
| diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
|
| index ff3ecb7267594a99b57b3abfcabfde3c813398a4..9381bd3fa543e443192babdd8be48a977e5f8e31 100644
|
| --- a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
|
| +++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
|
| @@ -239,8 +239,6 @@ public class ContentViewCore
|
| // Size of the viewport in physical pixels as set from onSizeChanged.
|
| private int mViewportWidthPix;
|
| private int mViewportHeightPix;
|
| - private int mPhysicalBackingWidthPix;
|
| - private int mPhysicalBackingHeightPix;
|
| private int mTopControlsHeightPix;
|
| private int mBottomControlsHeightPix;
|
| private boolean mTopControlsShrinkBlinkSize;
|
| @@ -724,22 +722,6 @@ public class ContentViewCore
|
| return mViewportHeightPix;
|
| }
|
|
|
| - /**
|
| - * @return Width of underlying physical surface.
|
| - */
|
| - @CalledByNative
|
| - private int getPhysicalBackingWidthPix() {
|
| - return mPhysicalBackingWidthPix;
|
| - }
|
| -
|
| - /**
|
| - * @return Height of underlying physical surface.
|
| - */
|
| - @CalledByNative
|
| - private int getPhysicalBackingHeightPix() {
|
| - return mPhysicalBackingHeightPix;
|
| - }
|
| -
|
| /**
|
| * @return The amount that the viewport size given to Blink is shrunk by the URL-bar..
|
| */
|
| @@ -1151,21 +1133,6 @@ public class ContentViewCore
|
| updateAfterSizeChanged();
|
| }
|
|
|
| - /**
|
| - * Called when the underlying surface the compositor draws to changes size.
|
| - * This may be larger than the viewport size.
|
| - */
|
| - public void onPhysicalBackingSizeChanged(int wPix, int hPix) {
|
| - if (mPhysicalBackingWidthPix == wPix && mPhysicalBackingHeightPix == hPix) return;
|
| -
|
| - mPhysicalBackingWidthPix = wPix;
|
| - mPhysicalBackingHeightPix = hPix;
|
| -
|
| - if (mNativeContentViewCore != 0) {
|
| - nativeWasResized(mNativeContentViewCore);
|
| - }
|
| - }
|
| -
|
| @CalledByNative
|
| private void onTouchDown(MotionEvent event) {
|
| if (mShouldRequestUnbufferedDispatch) requestUnbufferedDispatch(event);
|
|
|