summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authortedchoc <tedchoc@chromium.org>2015-02-17 14:43:20 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-17 22:43:49 +0000
commitb78ef8a2fa5917acbb12242cffe32ea3e73e3ab5 (patch)
treee90d0f7f81ad6722a327027846a95f4560e3716a /content
parentfa1ac9537d8f6a5a02fe3fdc37280bf1b6799786 (diff)
downloadchromium_src-b78ef8a2fa5917acbb12242cffe32ea3e73e3ab5.zip
chromium_src-b78ef8a2fa5917acbb12242cffe32ea3e73e3ab5.tar.gz
chromium_src-b78ef8a2fa5917acbb12242cffe32ea3e73e3ab5.tar.bz2
Remove unused/invalid comments from ContentViewCore.
BUG= Review URL: https://codereview.chromium.org/930353002 Cr-Commit-Position: refs/heads/master@{#316684}
Diffstat (limited to 'content')
-rw-r--r--content/browser/android/content_view_core_impl.h1
-rw-r--r--content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java9
2 files changed, 2 insertions, 8 deletions
diff --git a/content/browser/android/content_view_core_impl.h b/content/browser/android/content_view_core_impl.h
index 26a9d5a..701fa69 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -34,7 +34,6 @@ class RenderFrameHost;
class RenderWidgetHostViewAndroid;
struct MenuItem;
-// TODO(jrg): this is a shell. Upstream the rest.
class ContentViewCoreImpl : public ContentViewCore,
public WebContentsObserver {
public:
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 962400d..1616b71 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);