| 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 3de174ce2fd47ad3183732a90dce51b2ffc4a9ab..6b019dd9863da84688001acebac23f6fce526bf8 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
|
| @@ -240,8 +240,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;
|
| @@ -726,22 +724,6 @@ public class ContentViewCore
|
| }
|
|
|
| /**
|
| - * @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..
|
| */
|
| @CalledByNative
|
| @@ -1152,21 +1134,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);
|
|
|