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

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

Issue 930353002: Remove unused/invalid comments from ContentViewCore. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « content/browser/android/content_view_core_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 962400db2a919e8485e366761759d53d15c28d92..1616b717f64c62e4414f0d72f5207db76c7e3fb3 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
@@ -583,11 +583,6 @@ public class ContentViewCore
return mWebContents;
}
- /* TODO(aelias): Remove this after downstream callers switch to setTopControlsHeight. */
- public void setViewportSizeOffset(int offsetXPix, int offsetYPix) {
- setTopControlsHeight(mTopControlsHeightPix, offsetYPix != 0);
- }
-
/**
*
* @param topControlsHeightPix The height of the top controls in pixels.
@@ -653,7 +648,7 @@ public class ContentViewCore
return mViewAndroid;
}
- private ImeAdapter createImeAdapter(Context context) {
+ private ImeAdapter createImeAdapter() {
return new ImeAdapter(mInputMethodManagerWrapper,
new ImeAdapter.ImeAdapterDelegate() {
@Override
@@ -746,7 +741,7 @@ public class ContentViewCore
setContainerViewInternals(internalDispatcher);
mRenderCoordinates.reset();
initPopupZoomer(mContext);
- mImeAdapter = createImeAdapter(mContext);
+ mImeAdapter = createImeAdapter();
attachImeAdapter();
mAccessibilityInjector = AccessibilityInjector.newInstance(this);
« no previous file with comments | « content/browser/android/content_view_core_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698