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

Issue 2699833004: Add WebStateListOrderController to control WebState insertion. (Closed)

Created:
3 years, 10 months ago by sdefresne
Modified:
3 years, 10 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

Add WebStateListOrderController to control WebState insertion. Introduce WebStateListOrderController to control the position of insertion of WebState and refactor TabModel to use (using new API of WebStateList). BUG=687207 Review-Url: https://codereview.chromium.org/2699833004 Cr-Commit-Position: refs/heads/master@{#452496} Committed: https://chromium.googlesource.com/chromium/src/+/ef097a7cd0861251cd05ee6adfe0293eeb56197e

Patch Set 1 #

Total comments: 9

Patch Set 2 : Rebase. #

Patch Set 3 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+242 lines, -216 lines) Patch
M ios/chrome/browser/tabs/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M ios/chrome/browser/tabs/tab_model.mm View 1 2 5 chunks +41 lines, -38 lines 0 comments Download
M ios/chrome/browser/tabs/tab_model_order_controller.h View 2 chunks +0 lines, -25 lines 0 comments Download
M ios/chrome/browser/tabs/tab_model_order_controller.mm View 1 chunk +0 lines, -27 lines 0 comments Download
M ios/chrome/browser/tabs/tab_model_order_controller_unittest.mm View 1 chunk +0 lines, -124 lines 0 comments Download
M ios/shared/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M ios/shared/chrome/browser/tabs/BUILD.gn View 3 chunks +5 lines, -0 lines 0 comments Download
M ios/shared/chrome/browser/tabs/web_state_list.h View 1 2 3 chunks +13 lines, -0 lines 0 comments Download
M ios/shared/chrome/browser/tabs/web_state_list.mm View 1 2 3 chunks +13 lines, -1 line 0 comments Download
A ios/shared/chrome/browser/tabs/web_state_list_order_controller.h View 1 1 chunk +35 lines, -0 lines 0 comments Download
A ios/shared/chrome/browser/tabs/web_state_list_order_controller.mm View 1 1 chunk +42 lines, -0 lines 0 comments Download
A ios/shared/chrome/browser/tabs/web_state_list_order_controller_unittest.mm View 1 2 1 chunk +92 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 23 (14 generated)
sdefresne
Please both take a look.
3 years, 10 months ago (2017-02-17 11:50:15 UTC) #5
sdefresne
Nico, can you take a look at the new DEPS on ui/base. Note that the ...
3 years, 10 months ago (2017-02-17 11:51:18 UTC) #7
Nico
Deps lgtm
3 years, 10 months ago (2017-02-17 12:44:44 UTC) #8
rohitrao (ping after 24h)
lgtm https://codereview.chromium.org/2699833004/diff/40001/ios/shared/chrome/browser/tabs/web_state_list.mm File ios/shared/chrome/browser/tabs/web_state_list.mm (right): https://codereview.chromium.org/2699833004/diff/40001/ios/shared/chrome/browser/tabs/web_state_list.mm#newcode171 ios/shared/chrome/browser/tabs/web_state_list.mm:171: // creats a New Tab (e.g. Ctrl+T, or ...
3 years, 10 months ago (2017-02-17 13:04:12 UTC) #9
marq (ping after 24h)
https://codereview.chromium.org/2699833004/diff/40001/ios/shared/chrome/browser/tabs/web_state_list.h File ios/shared/chrome/browser/tabs/web_state_list.h (right): https://codereview.chromium.org/2699833004/diff/40001/ios/shared/chrome/browser/tabs/web_state_list.h#newcode80 ios/shared/chrome/browser/tabs/web_state_list.h:80: // WebState may be passed. Pass kInvalidIndex for |index| ...
3 years, 10 months ago (2017-02-17 13:33:00 UTC) #12
sdefresne
marq: PTAL https://codereview.chromium.org/2699833004/diff/40001/ios/shared/chrome/browser/tabs/web_state_list.h File ios/shared/chrome/browser/tabs/web_state_list.h (right): https://codereview.chromium.org/2699833004/diff/40001/ios/shared/chrome/browser/tabs/web_state_list.h#newcode80 ios/shared/chrome/browser/tabs/web_state_list.h:80: // WebState may be passed. Pass kInvalidIndex ...
3 years, 10 months ago (2017-02-20 16:12:56 UTC) #16
marq (ping after 24h)
lgtm
3 years, 10 months ago (2017-02-21 10:13:02 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/2699833004/90001
3 years, 10 months ago (2017-02-23 14:45:31 UTC) #20
commit-bot: I haz the power
3 years, 10 months ago (2017-02-23 15:41:49 UTC) #23
Message was sent while issue was closed.
Committed patchset #3 (id:90001) as
https://chromium.googlesource.com/chromium/src/+/ef097a7cd0861251cd05ee6adfe0...

Powered by Google App Engine
This is Rietveld 408576698