Commit 8314c303 authored by Jinsuk Kim's avatar Jinsuk Kim Committed by Commit Bot

Android: Remove an unused API from ContentViewCore

|ContentViewCore.isAttachedToWindow| became unused after a series
of refactoring. This CL removes the interface and implementation.

Bug: 598880
Change-Id: Ic1cbb747b50230e8851143b01524cd75ba156a9b
Reviewed-on: https://chromium-review.googlesource.com/979390Reviewed-by: default avatarBo <boliu@chromium.org>
Commit-Queue: Jinsuk Kim <jinsukkim@chromium.org>
Cr-Commit-Position: refs/heads/master@{#545997}
parent 89eb9672
......@@ -407,11 +407,6 @@ public class ContentViewCoreImpl implements ContentViewCore, DisplayAndroidObser
nativeResetGestureDetection(mNativeContentViewCore);
}
@Override
public boolean isAttachedToWindow() {
return mAttachedToWindow;
}
@SuppressWarnings("javadoc")
@Override
public void onAttachedToWindow() {
......
......@@ -159,11 +159,6 @@ public interface ContentViewCore {
*/
void onHide();
/**
* Whether or not the associated ContentView is currently attached to a window.
*/
boolean isAttachedToWindow();
/**
* @see View#onAttachedToWindow()
*/
......
......@@ -55,11 +55,6 @@ public class TestContentViewCore implements ContentViewCore {
@Override
public void onHide() {}
@Override
public boolean isAttachedToWindow() {
return false;
}
@Override
public void onAttachedToWindow() {}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment