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

Issue 2798833003: [ios clean] Updates all BrowserCoordinator to the new rule (Closed)

Created:
3 years, 8 months ago by lpromero
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 clean] Updates all BrowserCoordinator to the new rule The new rule is that coordinators don't decide how they are presented (presentation, containment, etc.). The parent can decide in -childCoordinatorDidStart|WillStop. That also means that the CoordinationContext is unnecessary. BUG=none R=marq@chromium.org,rohitrao@chromium.org,edchin@chromium.org,sczs@chromium.org Review-Url: https://codereview.chromium.org/2798833003 Cr-Commit-Position: refs/heads/master@{#462679} Committed: https://chromium.googlesource.com/chromium/src/+/7d3049a95961ec0b6601a15a0b0335e11acc01c8

Patch Set 1 #

Patch Set 2 : Rebased #

Patch Set 3 : Fix unittests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -202 lines) Patch
M ios/clean/chrome/browser/ui/context_menu/BUILD.gn View 1 1 chunk +0 lines, -1 line 0 comments Download
M ios/clean/chrome/browser/ui/ntp/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M ios/clean/chrome/browser/ui/ntp/new_tab_page_coordinator.mm View 2 chunks +0 lines, -4 lines 0 comments Download
M ios/clean/chrome/browser/ui/settings/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M ios/clean/chrome/browser/ui/settings/settings_coordinator.mm View 2 chunks +0 lines, -11 lines 0 comments Download
M ios/clean/chrome/browser/ui/tab/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M ios/clean/chrome/browser/ui/tab/tab_coordinator.mm View 4 chunks +9 lines, -24 lines 0 comments Download
M ios/clean/chrome/browser/ui/tab_grid/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M ios/clean/chrome/browser/ui/tab_grid/tab_grid_coordinator.mm View 4 chunks +16 lines, -9 lines 0 comments Download
M ios/clean/chrome/browser/ui/tab_strip/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M ios/clean/chrome/browser/ui/tab_strip/tab_strip_coordinator.mm View 1 2 chunks +0 lines, -4 lines 0 comments Download
M ios/clean/chrome/browser/ui/toolbar/BUILD.gn View 1 1 chunk +0 lines, -1 line 0 comments Download
M ios/clean/chrome/browser/ui/toolbar/toolbar_coordinator.mm View 1 3 chunks +14 lines, -6 lines 0 comments Download
M ios/clean/chrome/browser/ui/tools/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M ios/clean/chrome/browser/ui/tools/tools_coordinator.mm View 2 chunks +7 lines, -19 lines 0 comments Download
M ios/clean/chrome/browser/ui/web_contents/BUILD.gn View 1 1 chunk +0 lines, -1 line 0 comments Download
M ios/clean/chrome/browser/ui/web_contents/web_coordinator.mm View 1 2 chunks +0 lines, -8 lines 0 comments Download
D ios/shared/chrome/browser/coordinator_context/BUILD.gn View 1 chunk +0 lines, -24 lines 0 comments Download
D ios/shared/chrome/browser/coordinator_context/coordinator_context.h View 1 chunk +0 lines, -24 lines 0 comments Download
D ios/shared/chrome/browser/coordinator_context/coordinator_context.mm View 1 chunk +0 lines, -24 lines 0 comments Download
D ios/shared/chrome/browser/coordinator_context/coordinator_context_unittest.mm View 1 chunk +0 lines, -20 lines 0 comments Download
M ios/shared/chrome/browser/ui/coordinators/BUILD.gn View 2 chunks +0 lines, -2 lines 0 comments Download
M ios/shared/chrome/browser/ui/coordinators/browser_coordinator.h View 2 chunks +0 lines, -4 lines 0 comments Download
M ios/shared/chrome/browser/ui/coordinators/browser_coordinator.mm View 4 chunks +0 lines, -4 lines 0 comments Download
M ios/shared/chrome/browser/ui/coordinators/browser_coordinator+internal.h View 1 chunk +0 lines, -2 lines 0 comments Download
M ios/shared/chrome/browser/ui/coordinators/browser_coordinator_unittest.mm View 1 2 2 chunks +0 lines, -4 lines 0 comments Download

Messages

Total messages: 24 (18 generated)
lpromero
3 years, 8 months ago (2017-04-05 18:19:34 UTC) #1
lpromero
Rohit, did you rely on the coordinator context in wasAddedToParentCoordinator in one of your CL? ...
3 years, 8 months ago (2017-04-05 18:21:04 UTC) #4
rohitrao (ping after 24h)
My code uses self.browser, but I don't need the context for anything.
3 years, 8 months ago (2017-04-05 18:23:57 UTC) #7
marq (ping after 24h)
lgtm
3 years, 8 months ago (2017-04-06 13:50:47 UTC) #10
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/2798833003/40001
3 years, 8 months ago (2017-04-06 23:15:46 UTC) #21
commit-bot: I haz the power
3 years, 8 months ago (2017-04-06 23:30:15 UTC) #24
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/7d3049a95961ec0b6601a15a0b03...

Powered by Google App Engine
This is Rietveld 408576698