commit | c831b63308dd1f8ef71808db8344ca2566ba4ed4 | [log] [tgz] |
---|---|---|
author | Michael Kolb <kolby@google.com> | Wed May 11 09:30:34 2011 -0700 |
committer | Michael Kolb <kolby@google.com> | Thu May 12 15:20:51 2011 -0700 |
tree | 00d447b01b488a1975db08aee05dc594ff419d00 | |
parent | 386a098b7cbd6ad1d6f02e0a6668ffa50dd653c1 [diff] [blame] |
introduce tab IDs Tabs are identified by IDs now, instead of their position Refactored the save/restore code Change-Id: I7133d55831201d097dc19ec938a85e7085f36749
diff --git a/src/com/android/browser/WebViewController.java b/src/com/android/browser/WebViewController.java index 6028a97..bf3bdba 100644 --- a/src/com/android/browser/WebViewController.java +++ b/src/com/android/browser/WebViewController.java
@@ -104,7 +104,7 @@ Tab openTab(String url, boolean incognito, boolean setActive, boolean useCurrent); - boolean switchToTab(int tabindex); + boolean switchToTab(Tab tab); void closeTab(Tab tab);