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

Unified Diff: android_webview/java/src/org/chromium/android_webview/AwContents.java

Issue 11348113: Android WebView save/restoreState and copyBackForwardList (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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
Index: android_webview/java/src/org/chromium/android_webview/AwContents.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwContents.java b/android_webview/java/src/org/chromium/android_webview/AwContents.java
index 2e2ab88baaec93f0f3d4597db19dc291a8a8efe2..4bd36783c3370098c56cbd4b56263d5cb1fe513c 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwContents.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java
@@ -35,10 +35,12 @@ import org.chromium.ui.gfx.NativeWindow;
import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
-import java.security.KeyStoreException;
-import java.security.NoSuchAlgorithmException;
import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;
+import java.security.KeyStoreException;
+import java.security.NoSuchAlgorithmException;
+import java.util.ArrayList;
+import java.util.List;
/**
* Exposes the native AwContents class, and together these classes wrap the ContentViewCore
@@ -619,6 +621,27 @@ public class AwContents {
mContainerView.getVisibility() == View.VISIBLE);
}
+ public static class HistoryItem {
+ public Bitmap favicon;
+ public String originalUrl;
+ public String title;
+ public String url;
+ }
+
+ public static class HistoryItemList {
+ public int currentIndex;
+ public List<HistoryItem> historyItemList;
+ }
+
+ public HistoryItemList getHistoryItemList() {
+ return null;
+ }
+
+ public void saveState(Bundle outState) {
+ }
+
+ public void restoreState(Bundle inState) {
+ }
//--------------------------------------------------------------------------------------------
// Methods called from native via JNI

Powered by Google App Engine
This is Rietveld 408576698