| 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 952f300d2e701811e9d720a2d1a3bea586a45b42..e3ba6374d5723916232a8d71de30aecdca15600a 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
|
| @@ -888,11 +888,6 @@ public class ContentViewCore implements AccessibilityStateChangeListener, Displa
|
| return mContentViewClient;
|
| }
|
|
|
| - @CalledByNative
|
| - private void onBackgroundColorChanged(int color) {
|
| - getContentViewClient().onBackgroundColorChanged(color);
|
| - }
|
| -
|
| /**
|
| * @return Viewport width in physical pixels as set from onSizeChanged.
|
| */
|
| @@ -914,7 +909,7 @@ public class ContentViewCore implements AccessibilityStateChangeListener, Displa
|
| */
|
| @CalledByNative
|
| public int getViewportHeightWithOSKHiddenPix() {
|
| - return mViewportHeightPix + getContentViewClient().getSystemWindowInsetBottom();
|
| + return mViewportHeightPix + mViewAndroidDelegate.getSystemWindowInsetBottom();
|
| }
|
|
|
| /**
|
| @@ -1979,11 +1974,11 @@ public class ContentViewCore implements AccessibilityStateChangeListener, Displa
|
|
|
| if (topBarChanged) {
|
| float topBarTranslate = topBarShownPix - browserControlsHeightDp * deviceScale;
|
| - getContentViewClient().onTopControlsChanged(topBarTranslate, topBarShownPix);
|
| + mViewAndroidDelegate.onTopControlsChanged(topBarTranslate, topBarShownPix);
|
| }
|
| if (bottomBarChanged) {
|
| float bottomBarTranslate = bottomControlsHeightDp * deviceScale - bottomBarShownPix;
|
| - getContentViewClient().onBottomControlsChanged(bottomBarTranslate, bottomBarShownPix);
|
| + mViewAndroidDelegate.onBottomControlsChanged(bottomBarTranslate, bottomBarShownPix);
|
| }
|
|
|
| if (mBrowserAccessibilityManager != null) {
|
|
|