Commit 6b9ae2f7 authored by Jinsuk Kim's avatar Jinsuk Kim Committed by Commit Bot

Android: Clean up unused Tab methods

Now that https://chrome-internal-review.googlesource.com/c/clank/internal/apps/+/813849
landed, the methods left unused in Tab can be cleaned up.

Bug: 925242
Change-Id: I64e0d8a6868644ce1843fbc965b6a3fa920d8e11
Reviewed-on: https://chromium-review.googlesource.com/c/1470285Reviewed-by: default avatarTed Choc <tedchoc@chromium.org>
Commit-Queue: Jinsuk Kim <jinsukkim@chromium.org>
Cr-Commit-Position: refs/heads/master@{#632406}
parent 674259d3
...@@ -128,12 +128,6 @@ public class Tab ...@@ -128,12 +128,6 @@ public class Tab
private static final long INVALID_TIMESTAMP = -1; private static final long INVALID_TIMESTAMP = -1;
/**
* The required page load percentage for the page to be considered ready assuming the
* TextureView is also ready.
*/
private static final int CONSIDERED_READY_LOAD_PERCENTAGE = 100;
/** Used for logging. */ /** Used for logging. */
private static final String TAG = "Tab"; private static final String TAG = "Tab";
...@@ -834,15 +828,6 @@ public class Tab ...@@ -834,15 +828,6 @@ public class Tab
} }
} }
/**
* @return Whether or not the loading and rendering of the page is done.
* TODO(jinsukkim): Delete this method once the refactoring is finished.
*/
@VisibleForTesting
public boolean isLoadingAndRenderingDone() {
return isReady() && getProgress() >= CONSIDERED_READY_LOAD_PERCENTAGE;
}
/** Stop the current navigation. */ /** Stop the current navigation. */
public void stopLoading() { public void stopLoading() {
if (isLoading()) { if (isLoading()) {
......
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