|
[ObjC ARC] Converts ios/chrome/browser/ui/tab_switcher:tab_switcher to ARC.
Automatically generated ARCMigrate commit
Notable issues:
* Replaced 2 instances of replaceOldTabModel:(TabModel**)oldTabModel withTabModel:(TabModel*)newTabModel method with an equivalent construct that does not pass pointers to pointers to objc objects. Feel free to suggest a better way that I can implement in a follow-up CL.
* some weak pointer dereferencing replaced with strong pointer dereferencing in blocks
* In tab_model_snapshot.mm, added a bridge cast. I'm not sure if this should be a conversion to std::string, because std::stringstream.operator<<(NSString*) can be both.
BUG= 624363
TEST=None
Review-Url: https://codereview.chromium.org/2810193002
Cr-Commit-Position: refs/heads/master@{#468652}
Committed: https://chromium.googlesource.com/chromium/src/+/9d30c08f5979bb312459afee2871e74a5b43d094
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+379 lines, -343 lines) |
Patch |
 |
M |
ios/chrome/browser/ui/tab_switcher/BUILD.gn
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/tab_switcher/tab_model_snapshot.mm
|
View
|
1
2
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/tab_switcher/tab_switcher_button.mm
|
View
|
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/tab_switcher/tab_switcher_cache.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/tab_switcher/tab_switcher_cache.mm
|
View
|
|
6 chunks |
+33 lines, -22 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/tab_switcher/tab_switcher_controller.mm
|
View
|
1
2
|
23 chunks |
+61 lines, -70 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/tab_switcher/tab_switcher_header_cell.mm
|
View
|
|
4 chunks |
+10 lines, -7 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/tab_switcher/tab_switcher_header_view.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/tab_switcher/tab_switcher_header_view.mm
|
View
|
|
14 chunks |
+29 lines, -27 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/tab_switcher/tab_switcher_model.mm
|
View
|
|
5 chunks |
+29 lines, -13 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/tab_switcher/tab_switcher_panel_cell.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/tab_switcher/tab_switcher_panel_cell.mm
|
View
|
|
17 chunks |
+64 lines, -63 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/tab_switcher/tab_switcher_panel_collection_view_layout.mm
|
View
|
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/tab_switcher/tab_switcher_panel_controller.h
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/tab_switcher/tab_switcher_panel_controller.mm
|
View
|
|
7 chunks |
+17 lines, -15 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/tab_switcher/tab_switcher_panel_overlay_view.mm
|
View
|
|
14 chunks |
+52 lines, -61 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/tab_switcher/tab_switcher_panel_view.mm
|
View
|
|
2 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/tab_switcher/tab_switcher_session_cell_data.mm
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/tab_switcher/tab_switcher_session_changes.mm
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/tab_switcher/tab_switcher_tab_strip_placeholder_view.mm
|
View
|
|
2 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/tab_switcher/tab_switcher_transition_context.mm
|
View
|
|
7 chunks |
+12 lines, -19 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/tab_switcher/tab_switcher_view.h
|
View
|
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/tab_switcher/tab_switcher_view.mm
|
View
|
|
7 chunks |
+15 lines, -12 lines |
0 comments
|
Download
|
Total messages: 21 (15 generated)
|