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

Issue 2780423003: [ios] Use web_state_list in web_contents_mediator. (Closed)

Created:
3 years, 8 months ago by edchin
Modified:
3 years, 8 months ago
CC:
chromium-reviews, marq+scrutinize_chromium.org, lpromero+watch_chromium.org, ios-reviews+clean_chromium.org, ios-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[ios] Use web_state_list in web_contents_mediator This CL enables the user to select a tab in the tab switcher and the new tab is reflected immediately in the currently open tab container. BUG=none Review-Url: https://codereview.chromium.org/2780423003 Cr-Commit-Position: refs/heads/master@{#462776} Committed: https://chromium.googlesource.com/chromium/src/+/ac5bc014fa46a1c13fa1e5702d01593279ecee64

Patch Set 1 #

Patch Set 2 : Update unittests. #

Total comments: 16

Patch Set 3 : Improve unittests. #

Patch Set 4 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+186 lines, -69 lines) Patch
M ios/clean/chrome/browser/ui/web_contents/BUILD.gn View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M ios/clean/chrome/browser/ui/web_contents/web_contents_mediator.h View 1 2 1 chunk +8 lines, -7 lines 0 comments Download
M ios/clean/chrome/browser/ui/web_contents/web_contents_mediator.mm View 1 2 2 chunks +83 lines, -16 lines 0 comments Download
M ios/clean/chrome/browser/ui/web_contents/web_contents_mediator_unittest.mm View 1 2 3 2 chunks +86 lines, -42 lines 0 comments Download
M ios/clean/chrome/browser/ui/web_contents/web_coordinator.mm View 1 2 3 2 chunks +5 lines, -4 lines 0 comments Download

Messages

Total messages: 67 (54 generated)
edchin
3 years, 8 months ago (2017-03-30 21:58:20 UTC) #5
edchin
PTAL. The unittests have been updated and improved.
3 years, 8 months ago (2017-04-03 01:44:47 UTC) #26
edchin
3 years, 8 months ago (2017-04-03 01:47:18 UTC) #28
lpromero
lgtm with comments. https://codereview.chromium.org/2780423003/diff/100001/ios/clean/chrome/browser/ui/web_contents/web_contents_mediator.mm File ios/clean/chrome/browser/ui/web_contents/web_contents_mediator.mm (right): https://codereview.chromium.org/2780423003/diff/100001/ios/clean/chrome/browser/ui/web_contents/web_contents_mediator.mm#newcode76 ios/clean/chrome/browser/ui/web_contents/web_contents_mediator.mm:76: - (void)updateActiveWebState:(web::WebState*)webState { Add a comment. ...
3 years, 8 months ago (2017-04-03 09:48:36 UTC) #29
rohitrao (ping after 24h)
https://codereview.chromium.org/2780423003/diff/100001/ios/clean/chrome/browser/ui/web_contents/web_contents_mediator.mm File ios/clean/chrome/browser/ui/web_contents/web_contents_mediator.mm (right): https://codereview.chromium.org/2780423003/diff/100001/ios/clean/chrome/browser/ui/web_contents/web_contents_mediator.mm#newcode69 ios/clean/chrome/browser/ui/web_contents/web_contents_mediator.mm:69: oldWebState->SetWebUsageEnabled(false); Did you copy this line from somewhere in ...
3 years, 8 months ago (2017-04-03 23:48:51 UTC) #30
edchin
The latest improvements to unittests implements a -disconnect method on the mediator. The mediator pattern ...
3 years, 8 months ago (2017-04-04 19:50:12 UTC) #32
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/2780423003/200001
3 years, 8 months ago (2017-04-05 15:38:50 UTC) #41
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/403151)
3 years, 8 months ago (2017-04-05 15:48:34 UTC) #43
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/2780423003/200001
3 years, 8 months ago (2017-04-05 16:00:35 UTC) #45
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/403172)
3 years, 8 months ago (2017-04-05 16:08:34 UTC) #47
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/2780423003/260001
3 years, 8 months ago (2017-04-07 04:29:03 UTC) #61
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/2780423003/260001
3 years, 8 months ago (2017-04-07 05:33:51 UTC) #64
commit-bot: I haz the power
3 years, 8 months ago (2017-04-07 05:44:04 UTC) #67
Message was sent while issue was closed.
Committed patchset #4 (id:260001) as
https://chromium.googlesource.com/chromium/src/+/ac5bc014fa46a1c13fa1e5702d01...

Powered by Google App Engine
This is Rietveld 408576698