Commit 0f1320ae authored by newt@chromium.org's avatar newt@chromium.org

[Android] Delete dead code for capturing screenshots of pages.

Review URL: https://codereview.chromium.org/14046039

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194742 0039d316-1c4b-4281-b951-d872f2087c98
parent cafa295e
......@@ -23,12 +23,9 @@ import android.widget.FrameLayout;
import com.google.common.annotations.VisibleForTesting;
import org.chromium.content.common.ProcessInitException;
import org.chromium.content.common.TraceEvent;
import org.chromium.ui.gfx.NativeWindow;
import java.util.ArrayList;
/**
* The containing view for {@link ContentViewCore} that exists in the Android UI hierarchy and
* exposes the various {@link View} functionality to it.
......@@ -235,15 +232,6 @@ public class ContentView extends FrameLayout implements ContentViewCore.Internal
return mContentViewCore.getBitmap(width, height);
}
/**
* @return Whether the ContentView is covered by an overlay that is more than half
* of it's surface. This is used to determine if we need to do a slow bitmap capture or
* to show the ContentView without them.
*/
public boolean hasLargeOverlay() {
return mContentViewCore.hasLargeOverlay();
}
/**
* @return Whether the current WebContents has a previous navigation entry.
*/
......@@ -775,13 +763,6 @@ public class ContentView extends FrameLayout implements ContentViewCore.Internal
return mContentViewCore.isReady();
}
/**
* @return Whether or not the texture view is available or not.
*/
public boolean isAvailable() {
return mContentViewCore.isAvailable();
}
/**
* Returns whether or not accessibility injection is being used.
*/
......
......@@ -917,16 +917,6 @@ public class ContentViewCore implements MotionEventDelegate, NavigationClient {
scale);
}
/**
* @return Whether the ContentView is covered by an overlay that is more than half
* of it's surface. This is used to determine if we need to do a slow bitmap capture or
* to show the ContentView without them.
*/
public boolean hasLargeOverlay() {
// TODO(nileshagrawal): Implement this.
return false;
}
/**
* @return Whether the current WebContents has a previous navigation entry.
*/
......@@ -2432,14 +2422,6 @@ public class ContentViewCore implements MotionEventDelegate, NavigationClient {
return nativeIsRenderWidgetHostViewReady(mNativeContentViewCore);
}
/**
* @return Whether or not the texture view is available or not.
*/
public boolean isAvailable() {
// TODO(nileshagrawal): Implement this.
return false;
}
@CalledByNative
private void startContentIntent(String contentUrl) {
getContentViewClient().onStartContentIntent(getContext(), contentUrl);
......
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