Commit 2e73be2f authored by Rohit Rao's avatar Rohit Rao Committed by Commit Bot

[ios] Removes the unused tabModelClosedAllTabs: method.

BUG=911350

Change-Id: Iec791dc2bf41b10705686bf01bbadc39ccee9e9d
Reviewed-on: https://chromium-review.googlesource.com/c/1394013Reviewed-by: default avataredchin <edchin@chromium.org>
Commit-Queue: Rohit Rao <rohitrao@chromium.org>
Cr-Commit-Position: refs/heads/master@{#619752}
parent a1f331bf
...@@ -562,7 +562,6 @@ void RecordMainFrameNavigationMetric(web::WebState* web_state) { ...@@ -562,7 +562,6 @@ void RecordMainFrameNavigationMetric(web::WebState* web_state) {
- (void)closeAllTabs { - (void)closeAllTabs {
_webStateList->CloseAllWebStates(WebStateList::CLOSE_USER_ACTION); _webStateList->CloseAllWebStates(WebStateList::CLOSE_USER_ACTION);
[_observers tabModelClosedAllTabs:self];
} }
- (void)haltAllTabs { - (void)haltAllTabs {
......
...@@ -24,9 +24,6 @@ ...@@ -24,9 +24,6 @@
// The given tab will be removed. // The given tab will be removed.
- (void)tabModel:(TabModel*)model willRemoveTab:(Tab*)tab; - (void)tabModel:(TabModel*)model willRemoveTab:(Tab*)tab;
// All tabs in the model will close.
- (void)tabModelClosedAllTabs:(TabModel*)model;
// A tab was removed at the given index. // A tab was removed at the given index.
- (void)tabModel:(TabModel*)model - (void)tabModel:(TabModel*)model
didRemoveTab:(Tab*)tab didRemoveTab:(Tab*)tab
......
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