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

Issue 2626073003: [ObjC ARC] Converts ios/chrome/browser/ui/contextual_search:contextual_search to ARC. (Closed)

Created:
3 years, 11 months ago by stkhapugin
Modified:
3 years, 11 months ago
CC:
chromium-reviews, pkl (ping after 24h if needed), noyau+watch_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[ObjC ARC] Converts ios/chrome/browser/ui/contextual_search:contextual_search to ARC. Automatically generated ARCMigrate commit Notable issues: * In ContextualSearchController, there was a block with a weakSelf declared above it and never used. Replaced usage of self in the block with weakself. * In window_gesture_observer had to suppress a warning, because ARC forbids calling arbitrary selectors. BUG=624363 TEST=None Review-Url: https://codereview.chromium.org/2626073003 Cr-Commit-Position: refs/heads/master@{#444717} Committed: https://chromium.googlesource.com/chromium/src/+/1c4c1a7db53cb254200e60dad098be6a655f2ad0

Patch Set 1 #

Patch Set 2 : Removed usage of weak_ and scoped_nsobject. #

Patch Set 3 : Fixed an erroneously strong variable #

Patch Set 4 : Some fixes #

Total comments: 14

Patch Set 5 : format #

Unified diffs Side-by-side diffs Delta from patch set Stats (+225 lines, -203 lines) Patch
M ios/chrome/browser/ui/contextual_search/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M ios/chrome/browser/ui/contextual_search/contextual_search_controller.h View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/contextual_search/contextual_search_controller.mm View 1 2 3 35 chunks +75 lines, -78 lines 0 comments Download
M ios/chrome/browser/ui/contextual_search/contextual_search_header_view.h View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/contextual_search/contextual_search_header_view.mm View 7 chunks +19 lines, -13 lines 0 comments Download
M ios/chrome/browser/ui/contextual_search/contextual_search_highlighter_view.mm View 3 chunks +6 lines, -3 lines 0 comments Download
M ios/chrome/browser/ui/contextual_search/contextual_search_mask_view.mm View 1 chunk +4 lines, -0 lines 0 comments Download
M ios/chrome/browser/ui/contextual_search/contextual_search_metrics.mm View 1 chunk +4 lines, -0 lines 0 comments Download
M ios/chrome/browser/ui/contextual_search/contextual_search_panel_view.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/contextual_search/contextual_search_panel_view.mm View 1 2 3 4 15 chunks +39 lines, -56 lines 0 comments Download
M ios/chrome/browser/ui/contextual_search/contextual_search_promo_view.mm View 11 chunks +18 lines, -17 lines 0 comments Download
M ios/chrome/browser/ui/contextual_search/contextual_search_results_view.h View 1 chunk +3 lines, -3 lines 0 comments Download
M ios/chrome/browser/ui/contextual_search/contextual_search_results_view.mm View 1 2 3 4 12 chunks +20 lines, -16 lines 0 comments Download
M ios/chrome/browser/ui/contextual_search/contextual_search_web_state_observer.mm View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M ios/chrome/browser/ui/contextual_search/js_contextual_search_manager.mm View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M ios/chrome/browser/ui/contextual_search/panel_configuration.mm View 1 2 3 4 2 chunks +5 lines, -2 lines 0 comments Download
M ios/chrome/browser/ui/contextual_search/touch_to_search_permissions_mediator.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/contextual_search/touch_to_search_permissions_mediator.mm View 1 2 7 chunks +8 lines, -8 lines 0 comments Download
M ios/chrome/browser/ui/contextual_search/window_gesture_observer.h View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M ios/chrome/browser/ui/contextual_search/window_gesture_observer.mm View 1 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (18 generated)
stkhapugin
PTAL. Sorry for a large CL size, but changes are trivial
3 years, 11 months ago (2017-01-13 10:23:03 UTC) #16
marq (ping after 24h)
https://codereview.chromium.org/2626073003/diff/60001/ios/chrome/browser/ui/contextual_search/contextual_search_panel_view.h File ios/chrome/browser/ui/contextual_search/contextual_search_panel_view.h (right): https://codereview.chromium.org/2626073003/diff/60001/ios/chrome/browser/ui/contextual_search/contextual_search_panel_view.h#newcode24 ios/chrome/browser/ui/contextual_search/contextual_search_panel_view.h:24: @property(weak, nonatomic, readonly) PanelConfiguration* configuration; Style nit: the atomicity ...
3 years, 11 months ago (2017-01-13 10:38:18 UTC) #17
stkhapugin
PTAL https://codereview.chromium.org/2626073003/diff/60001/ios/chrome/browser/ui/contextual_search/contextual_search_panel_view.h File ios/chrome/browser/ui/contextual_search/contextual_search_panel_view.h (right): https://codereview.chromium.org/2626073003/diff/60001/ios/chrome/browser/ui/contextual_search/contextual_search_panel_view.h#newcode24 ios/chrome/browser/ui/contextual_search/contextual_search_panel_view.h:24: @property(weak, nonatomic, readonly) PanelConfiguration* configuration; On 2017/01/13 10:38:17, ...
3 years, 11 months ago (2017-01-17 15:57:45 UTC) #18
marq (ping after 24h)
lgtm
3 years, 11 months ago (2017-01-18 11:51:43 UTC) #19
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/2626073003/80001
3 years, 11 months ago (2017-01-19 12:25:33 UTC) #21
commit-bot: I haz the power
3 years, 11 months ago (2017-01-19 13:17:54 UTC) #24
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/1c4c1a7db53cb254200e60dad098...

Powered by Google App Engine
This is Rietveld 408576698