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

Issue 2829003002: Add CommandDispatcher to BrowserViewController. (Closed)

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

Add CommandDispatcher to BrowserViewController. Basic dispatcher to help with ios/clean migration. Handlers UrlLoader, OmniboxFocuser and the WebToolbarDelegate, all used by the GoogleLandingController. BUG=694750 Review-Url: https://codereview.chromium.org/2829003002 Cr-Commit-Position: refs/heads/master@{#468023} Committed: https://chromium.googlesource.com/chromium/src/+/75011c3d5ea9d22e2317d6faa7d9901eb2d2a2ca

Patch Set 1 #

Patch Set 2 : Cleaner #

Total comments: 6

Patch Set 3 : Punt on gl mediator dispatching #

Patch Set 4 : Rebaes #

Patch Set 5 : Rebase #

Total comments: 6

Patch Set 6 : rohit comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -158 lines) Patch
M ios/chrome/browser/ui/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M ios/chrome/browser/ui/browser_view_controller.mm View 1 2 3 4 5 6 chunks +18 lines, -1 line 0 comments Download
M ios/chrome/browser/ui/commands/UIKit+ChromeExecuteCommand.h View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M ios/chrome/browser/ui/ntp/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M ios/chrome/browser/ui/ntp/google_landing_consumer.h View 1 2 1 chunk +0 lines, -5 lines 0 comments Download
M ios/chrome/browser/ui/ntp/google_landing_controller.h View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M ios/chrome/browser/ui/ntp/google_landing_controller.mm View 1 2 3 4 5 12 chunks +15 lines, -10 lines 0 comments Download
M ios/chrome/browser/ui/ntp/google_landing_controller_unittest.mm View 1 2 3 4 1 chunk +4 lines, -6 lines 0 comments Download
M ios/chrome/browser/ui/ntp/google_landing_data_source.h View 1 2 3 4 5 4 chunks +1 line, -11 lines 0 comments Download
M ios/chrome/browser/ui/ntp/google_landing_mediator.h View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M ios/chrome/browser/ui/ntp/google_landing_mediator.mm View 1 2 3 4 9 chunks +15 lines, -89 lines 0 comments Download
M ios/chrome/browser/ui/ntp/new_tab_page_controller.h View 1 chunk +2 lines, -1 line 0 comments Download
M ios/chrome/browser/ui/ntp/new_tab_page_controller.mm View 1 2 3 4 5 chunks +13 lines, -7 lines 0 comments Download
M ios/chrome/browser/ui/ntp/new_tab_page_controller_unittest.mm View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M ios/chrome/browser/ui/ntp/new_tab_page_header_view.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M ios/chrome/browser/ui/ntp/new_tab_page_header_view.mm View 1 2 3 4 5 1 chunk +4 lines, -3 lines 0 comments Download
M ios/chrome/browser/ui/ntp/new_tab_page_toolbar_controller.h View 1 2 3 4 5 2 chunks +7 lines, -2 lines 0 comments Download
M ios/chrome/browser/ui/ntp/new_tab_page_toolbar_controller.mm View 1 2 3 4 5 4 chunks +5 lines, -7 lines 0 comments Download
M ios/chrome/browser/ui/toolbar/web_toolbar_controller.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M ios/chrome/browser/ui/toolbar/web_toolbar_controller.mm View 1 1 chunk +1 line, -1 line 0 comments Download
M ios/clean/chrome/browser/ui/ntp/ntp_home_coordinator.mm View 1 2 3 4 5 3 chunks +17 lines, -6 lines 0 comments Download

Messages

Total messages: 23 (14 generated)
justincohen
Here's a concept CL for adding a dispatcher to old bling. I'd like to use ...
3 years, 8 months ago (2017-04-20 02:21:05 UTC) #3
marq (ping after 24h)
https://codereview.chromium.org/2829003002/diff/20001/ios/chrome/browser/ui/ntp/google_landing_commands.h File ios/chrome/browser/ui/ntp/google_landing_commands.h (right): https://codereview.chromium.org/2829003002/diff/20001/ios/chrome/browser/ui/ntp/google_landing_commands.h#newcode35 ios/chrome/browser/ui/ntp/google_landing_commands.h:35: - (BOOL)canGoForward; Our intent elsewhere has been that dispatched ...
3 years, 8 months ago (2017-04-20 13:17:14 UTC) #4
justincohen
ptal https://codereview.chromium.org/2829003002/diff/20001/ios/chrome/browser/ui/ntp/google_landing_commands.h File ios/chrome/browser/ui/ntp/google_landing_commands.h (right): https://codereview.chromium.org/2829003002/diff/20001/ios/chrome/browser/ui/ntp/google_landing_commands.h#newcode35 ios/chrome/browser/ui/ntp/google_landing_commands.h:35: - (BOOL)canGoForward; On 2017/04/20 13:17:14, marq wrote: > ...
3 years, 8 months ago (2017-04-20 21:28:31 UTC) #5
marq (ping after 24h)
lgtm
3 years, 8 months ago (2017-04-21 09:09:57 UTC) #7
justincohen
Over to rohitrao for review
3 years, 8 months ago (2017-04-22 06:30:16 UTC) #8
rohitrao (ping after 24h)
lgtm https://codereview.chromium.org/2829003002/diff/80001/ios/chrome/browser/ui/browser_view_controller.mm File ios/chrome/browser/ui/browser_view_controller.mm (right): https://codereview.chromium.org/2829003002/diff/80001/ios/chrome/browser/ui/browser_view_controller.mm#newcode991 ios/chrome/browser/ui/browser_view_controller.mm:991: [_dispatcher stopDispatchingToTarget:self]; The way the dispatcher is currently ...
3 years, 7 months ago (2017-04-28 11:56:22 UTC) #13
justincohen
https://codereview.chromium.org/2829003002/diff/80001/ios/chrome/browser/ui/browser_view_controller.mm File ios/chrome/browser/ui/browser_view_controller.mm (right): https://codereview.chromium.org/2829003002/diff/80001/ios/chrome/browser/ui/browser_view_controller.mm#newcode991 ios/chrome/browser/ui/browser_view_controller.mm:991: [_dispatcher stopDispatchingToTarget:self]; On 2017/04/28 11:56:22, rohitrao (ping after 24h) ...
3 years, 7 months ago (2017-04-28 14:02:21 UTC) #16
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/2829003002/100001
3 years, 7 months ago (2017-04-28 15:30:40 UTC) #20
commit-bot: I haz the power
3 years, 7 months ago (2017-04-28 16:33:30 UTC) #23
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/75011c3d5ea9d22e2317d6faa7d9...

Powered by Google App Engine
This is Rietveld 408576698