|
[ios clean] Move dispatcher out of Browser.
This CL moves the dispatcher object out of Browser and makes it a
property of BrowserCoordinatior. The root coordinator in a coordinator
tree must create and own the dispatcher for its tree; child coordinators
get handed a pointer to the dispatcher.
This allows the creation of coordinator trees for generating proxy UI
without risk of dispatcher collisions (by passing a nil dispatcher
into the tree).
Additionally, a 'callableDispatcher' property is added to
BrowserCoordinator. This property is just the coordinator's dispatcher,
cast to |id|. This is a convenience for passing the dispatcher into
view controllers or other objects that don't know about the dispatcher
itself.
BUG=
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+110 lines, -110 lines) |
Patch |
|
M |
ios/clean/chrome/app/steps/root_coordinator+application_step.mm
|
View
|
1
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
ios/clean/chrome/browser/ui/context_menu/web_context_menu_coordinator.mm
|
View
|
|
1 chunk |
+4 lines, -7 lines |
0 comments
|
Download
|
|
M |
ios/clean/chrome/browser/ui/find_in_page/find_in_page_coordinator.mm
|
View
|
|
1 chunk |
+14 lines, -16 lines |
0 comments
|
Download
|
|
M |
ios/clean/chrome/browser/ui/ntp/ntp_coordinator.mm
|
View
|
|
1 chunk |
+8 lines, -9 lines |
0 comments
|
Download
|
|
M |
ios/clean/chrome/browser/ui/ntp/ntp_home_coordinator.mm
|
View
|
|
2 chunks |
+9 lines, -11 lines |
0 comments
|
Download
|
|
M |
ios/clean/chrome/browser/ui/settings/settings_coordinator.mm
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ios/clean/chrome/browser/ui/tab/tab_coordinator.mm
|
View
|
1
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
ios/clean/chrome/browser/ui/tab_grid/tab_grid_coordinator.mm
|
View
|
|
5 chunks |
+21 lines, -27 lines |
0 comments
|
Download
|
|
M |
ios/clean/chrome/browser/ui/tab_strip/tab_strip_coordinator.mm
|
View
|
1
|
3 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
ios/clean/chrome/browser/ui/toolbar/toolbar_coordinator.mm
|
View
|
|
2 chunks |
+14 lines, -13 lines |
0 comments
|
Download
|
|
M |
ios/clean/chrome/browser/ui/tools/tools_coordinator.mm
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
ios/clean/chrome/browser/ui/web_contents/web_coordinator.mm
|
View
|
|
2 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
|
M |
ios/shared/chrome/browser/ui/browser_list/browser.h
|
View
|
1
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
ios/shared/chrome/browser/ui/browser_list/browser.mm
|
View
|
1
|
2 chunks |
+0 lines, -2 lines |
1 comment
|
Download
|
|
M |
ios/shared/chrome/browser/ui/commands/command_dispatcher.mm
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
ios/shared/chrome/browser/ui/coordinators/browser_coordinator.h
|
View
|
1
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
ios/shared/chrome/browser/ui/coordinators/browser_coordinator.mm
|
View
|
1
|
4 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
Depends on Patchset:
Total messages: 7 (1 generated)
|