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

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

Issue 14046039: [Android] Delete dead code for capturing screenshots of pages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 | « no previous file | content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java » ('j') | 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/ContentView.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentView.java b/content/public/android/java/src/org/chromium/content/browser/ContentView.java
index 3f621d310ab5449b8321369853f71a0ef510e9f0..24f2ffef87372c3f4ee7566807aae5a62fc4bf26 100644
--- a/content/public/android/java/src/org/chromium/content/browser/ContentView.java
+++ b/content/public/android/java/src/org/chromium/content/browser/ContentView.java
@@ -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.
@@ -236,15 +233,6 @@ public class ContentView extends FrameLayout implements ContentViewCore.Internal
}
/**
- * @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.
*/
public boolean canGoBack() {
@@ -776,13 +764,6 @@ public class ContentView extends FrameLayout implements ContentViewCore.Internal
}
/**
- * @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.
*/
public boolean isInjectingAccessibilityScript() {
« no previous file with comments | « no previous file | content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698