|
Remove -insertTabWithWebState:atIndex: from TabModel.
The method -insertTabWithWebState:atIndex: was used by TabModelTest but
-insertTabWithURL:referrer:transition:opener:openedByDOM:atIndex:... is
enough to implement all the tests, so modify them to use that method.
Introduce a new method -insertTabWithNavigationItems:... that is used
to introduce a new Tab with history restored from a saved session and
use it from tab_restore_service_delegate_impl_ios.mm.
BUG= 620083, 687207
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+421 lines, -382 lines) |
Patch |
 |
M |
ios/chrome/browser/sessions/DEPS
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/sessions/tab_restore_service_delegate_impl_ios.mm
|
View
|
1
|
2 chunks |
+6 lines, -14 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/tabs/tab.mm
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/tabs/tab_model.h
|
View
|
1
|
2 chunks |
+9 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/tabs/tab_model.mm
|
View
|
1
|
2 chunks |
+11 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/tabs/tab_model_observers_bridge.mm
|
View
|
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/tabs/tab_model_unittest.mm
|
View
|
1
|
30 chunks |
+382 lines, -344 lines |
0 comments
|
Download
|
 |
M |
ios/web/navigation/crw_session_controller_unittest.mm
|
View
|
1
|
5 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ios/web/navigation/navigation_manager_impl.mm
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ios/web/net/crw_ssl_status_updater_unittest.mm
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Depends on Patchset:
Dependent Patchsets:
Total messages: 14 (10 generated)
|