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

Issue 2768093003: [ios] Extend WebStateListObserver amd WebStateListDelegate APIs. (Closed)

Created:
3 years, 9 months ago by sdefresne
Modified:
3 years, 9 months ago
CC:
chromium-reviews, marq+scrutinize_chromium.org, ios-reviews+chrome_chromium.org, ios-reviews_chromium.org, pkl (ping after 24h if needed), noyau+watch_chromium.org, ios-reviews+clean_chromium.org, marq+watch_chromium.org, lpromero+watch_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[ios] Extend WebStateListObserver amd WebStateListDelegate APIs. In preparation of moving the ownership of all WebStates to WebStateList, add methods to WebStateListObserver and WebStateListDelegate called when the WebStates are detached or closed. Rename the |index| parameters to |atIndex| for WebStateListObserving protocol for consistency (some where called |index| other |atIndex|). BUG=546222 Review-Url: https://codereview.chromium.org/2768093003 Cr-Commit-Position: refs/heads/master@{#459417} Committed: https://chromium.googlesource.com/chromium/src/+/9e42572a191d565d3cdf8650e88c4971a1b6441c

Patch Set 1 #

Patch Set 2 : Rebase on origin/master. #

Total comments: 8

Patch Set 3 : Remove duplicated method. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -11 lines) Patch
M ios/chrome/browser/tabs/tab_model_observers_bridge.mm View 2 chunks +9 lines, -9 lines 0 comments Download
M ios/chrome/browser/tabs/tab_model_web_state_list_delegate.h View 1 chunk +1 line, -0 lines 0 comments Download
M ios/chrome/browser/tabs/tab_model_web_state_list_delegate.mm View 1 chunk +2 lines, -0 lines 0 comments Download
M ios/shared/chrome/browser/tabs/fake_web_state_list_delegate.h View 1 chunk +1 line, -0 lines 0 comments Download
M ios/shared/chrome/browser/tabs/fake_web_state_list_delegate.mm View 1 chunk +2 lines, -0 lines 0 comments Download
M ios/shared/chrome/browser/tabs/web_state_list.mm View 1 3 chunks +4 lines, -0 lines 0 comments Download
M ios/shared/chrome/browser/tabs/web_state_list_delegate.h View 1 chunk +5 lines, -0 lines 0 comments Download
M ios/shared/chrome/browser/tabs/web_state_list_observer.h View 1 chunk +12 lines, -0 lines 0 comments Download
M ios/shared/chrome/browser/tabs/web_state_list_observer.mm View 1 chunk +8 lines, -0 lines 0 comments Download
M ios/shared/chrome/browser/tabs/web_state_list_observer_bridge.h View 1 2 2 chunks +20 lines, -2 lines 0 comments Download
M ios/shared/chrome/browser/tabs/web_state_list_observer_bridge.mm View 2 chunks +26 lines, -0 lines 0 comments Download
M ios/shared/chrome/browser/ui/browser_list/browser_web_state_list_delegate.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M ios/shared/chrome/browser/ui/browser_list/browser_web_state_list_delegate.mm View 1 1 chunk +2 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 26 (20 generated)
sdefresne
Please take a look.
3 years, 9 months ago (2017-03-23 16:56:27 UTC) #8
rohitrao (ping after 24h)
lgtm if we need this to ease the transition, but I'm hoping we won't need ...
3 years, 9 months ago (2017-03-24 01:20:52 UTC) #11
sdefresne
On 2017/03/24 01:20:52, rohitrao wrote: > lgtm if we need this to ease the transition, ...
3 years, 9 months ago (2017-03-24 09:26:18 UTC) #12
rohitrao (ping after 24h)
lgtm https://codereview.chromium.org/2768093003/diff/20001/ios/chrome/browser/tabs/tab_model_observers_bridge.mm File ios/chrome/browser/tabs/tab_model_observers_bridge.mm (right): https://codereview.chromium.org/2768093003/diff/20001/ios/chrome/browser/tabs/tab_model_observers_bridge.mm#newcode36 ios/chrome/browser/tabs/tab_model_observers_bridge.mm:36: atIndex:(int)atIndex { On 2017/03/24 09:26:18, sdefresne wrote: > ...
3 years, 9 months ago (2017-03-24 14:18:09 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2768093003/40001
3 years, 9 months ago (2017-03-24 14:19:15 UTC) #23
commit-bot: I haz the power
3 years, 9 months ago (2017-03-24 14:25:34 UTC) #26
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/9e42572a191d565d3cdf8650e88c...

Powered by Google App Engine
This is Rietveld 408576698