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

Issue 2649403002: Revert of WebStateList is an array of web::WebState* wrappers. (Closed)

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

Description

Revert of WebStateList is an array of web::WebState* wrappers. (patchset #3 id:40001 of https://codereview.chromium.org/2640093004/ ) Reason for revert: After offline discussion, WebStateList should probably be a C++ class with a std::vector<WebState*>. Reverting this CL as next step of the refactoring would more or less be a manual revert. Original issue's description: > WebStateList is an array of web::WebState* wrappers. > > Introduce a super class of TabModel with the goal of moving all > the code dealing with Tab management (iteration, selection, ...) > eventually. > > This is a first step in removing the Tab* class that is mostly > used as an Objective-C wrapper of web::WebState* with lots of > helper methods. > > BUG=681867 > > Review-Url: https://codereview.chromium.org/2640093004 > Cr-Commit-Position: refs/heads/master@{#445362} > Committed: https://chromium.googlesource.com/chromium/src/+/3579f53085d00ff7a80eb97bb644a90becddc068 TBR=marq@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=681867 Review-Url: https://codereview.chromium.org/2649403002 Cr-Commit-Position: refs/heads/master@{#446043} Committed: https://chromium.googlesource.com/chromium/src/+/297553e500df8ab7a94e4b5a89dda921a203e781

Patch Set 1 #

Patch Set 2 : Fix conflicts with other CLs. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -255 lines) Patch
M ios/chrome/browser/tabs/BUILD.gn View 1 1 chunk +0 lines, -1 line 0 comments Download
M ios/chrome/browser/tabs/tab.h View 1 4 chunks +6 lines, -3 lines 0 comments Download
M ios/chrome/browser/tabs/tab_model.h View 1 4 chunks +5 lines, -3 lines 0 comments Download
M ios/chrome/browser/tabs/tab_model.mm View 1 28 chunks +67 lines, -73 lines 0 comments Download
M ios/chrome/browser/tabs/tab_model_unittest.mm View 1 2 chunks +0 lines, -2 lines 0 comments Download
D ios/shared/chrome/browser/tabs/BUILD.gn View 1 chunk +0 lines, -16 lines 0 comments Download
D ios/shared/chrome/browser/tabs/web_state_handle.h View 1 chunk +0 lines, -26 lines 0 comments Download
D ios/shared/chrome/browser/tabs/web_state_list.h View 1 chunk +0 lines, -53 lines 0 comments Download
D ios/shared/chrome/browser/tabs/web_state_list.mm View 1 chunk +0 lines, -78 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 22 (11 generated)
sdefresne
Created Revert of WebStateList is an array of web::WebState* wrappers.
3 years, 11 months ago (2017-01-24 13:47:43 UTC) #2
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/2649403002/1
3 years, 11 months ago (2017-01-24 13:47:54 UTC) #3
commit-bot: I haz the power
Try jobs failed on following builders: ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-xcode-clang/builds/26450) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 11 months ago (2017-01-24 13:49:48 UTC) #5
marq (ping after 24h)
On 2017/01/24 13:49:48, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 11 months ago (2017-01-24 14:34:45 UTC) #6
sdefresne
Dependent CL was reverted, sending back to CQ.
3 years, 11 months ago (2017-01-24 14:54:45 UTC) #7
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/2649403002/1
3 years, 11 months ago (2017-01-24 14:54:58 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/141147) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 11 months ago (2017-01-24 14:56:30 UTC) #11
sdefresne
I had to manually fix some conflicts with other CLs that changed ios/chrome/browser/tabs/tab_model.mm. Could you ...
3 years, 11 months ago (2017-01-24 15:07:04 UTC) #12
marq (ping after 24h)
lgtm
3 years, 11 months ago (2017-01-24 15:42:27 UTC) #17
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/2649403002/210001
3 years, 11 months ago (2017-01-25 16:12:00 UTC) #19
commit-bot: I haz the power
3 years, 11 months ago (2017-01-25 17:10:15 UTC) #22
Message was sent while issue was closed.
Committed patchset #2 (id:210001) as
https://chromium.googlesource.com/chromium/src/+/297553e500df8ab7a94e4b5a89dd...

Powered by Google App Engine
This is Rietveld 408576698