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

Issue 2640433002: Clean the new CRWContextMenuController (Closed)

Created:
3 years, 11 months ago by Olivier
Modified:
3 years, 11 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Clean the new CRWContextMenuController - Switch to ARC - Remove legacy code that detected system gesture recognizers on web views. - Extract the NSDictionary -> ContextMenuParams logic and add unittests. Note: egtests are already available in context_menu_egtests. BUG=680930 Review-Url: https://codereview.chromium.org/2640433002 Cr-Commit-Position: refs/heads/master@{#444318} Committed: https://chromium.googlesource.com/chromium/src/+/44fccdc3a9d6879d4cba838106cae466373475cc

Patch Set 1 #

Patch Set 2 : clean #

Total comments: 6

Patch Set 3 : feedback #

Total comments: 4

Patch Set 4 : feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+212 lines, -128 lines) Patch
M ios/web/BUILD.gn View 1 2 3 5 chunks +6 lines, -2 lines 0 comments Download
A ios/web/web_state/context_menu_params_utils.h View 1 2 3 1 chunk +22 lines, -0 lines 0 comments Download
A ios/web/web_state/context_menu_params_utils.mm View 1 2 3 1 chunk +56 lines, -0 lines 0 comments Download
A ios/web/web_state/context_menu_params_utils_unittest.mm View 1 2 3 1 chunk +99 lines, -0 lines 0 comments Download
M ios/web/web_state/ui/crw_context_menu_controller.mm View 1 2 3 9 chunks +29 lines, -126 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
Olivier
3 years, 11 months ago (2017-01-17 10:21:38 UTC) #2
stkhapugin
ARC lgtm with comments https://codereview.chromium.org/2640433002/diff/20001/ios/web/web_state/ui/crw_context_menu_controller.mm File ios/web/web_state/ui/crw_context_menu_controller.mm (right): https://codereview.chromium.org/2640433002/diff/20001/ios/web/web_state/ui/crw_context_menu_controller.mm#newcode75 ios/web/web_state/ui/crw_context_menu_controller.mm:75: __weak id<CRWContextMenuDelegate> _delegate; Make the ...
3 years, 11 months ago (2017-01-17 15:13:12 UTC) #3
Olivier
Thanks https://codereview.chromium.org/2640433002/diff/20001/ios/web/web_state/ui/crw_context_menu_controller.mm File ios/web/web_state/ui/crw_context_menu_controller.mm (right): https://codereview.chromium.org/2640433002/diff/20001/ios/web/web_state/ui/crw_context_menu_controller.mm#newcode75 ios/web/web_state/ui/crw_context_menu_controller.mm:75: __weak id<CRWContextMenuDelegate> _delegate; On 2017/01/17 15:13:12, stkhapugin wrote: ...
3 years, 11 months ago (2017-01-17 18:02:14 UTC) #4
Eugene But (OOO till 7-30)
lgtm https://codereview.chromium.org/2640433002/diff/40001/ios/web/public/web_state/context_menu_params.h File ios/web/public/web_state/context_menu_params.h (right): https://codereview.chromium.org/2640433002/diff/40001/ios/web/public/web_state/context_menu_params.h#newcode30 ios/web/public/web_state/context_menu_params.h:30: ContextMenuParams(NSDictionary* element); This method is specific to ios/web ...
3 years, 11 months ago (2017-01-17 18:12:49 UTC) #5
Eugene But (OOO till 7-30)
And thank you for cleanup!
3 years, 11 months ago (2017-01-17 18:18:30 UTC) #6
Olivier
https://codereview.chromium.org/2640433002/diff/40001/ios/web/public/web_state/context_menu_params.h File ios/web/public/web_state/context_menu_params.h (right): https://codereview.chromium.org/2640433002/diff/40001/ios/web/public/web_state/context_menu_params.h#newcode30 ios/web/public/web_state/context_menu_params.h:30: ContextMenuParams(NSDictionary* element); On 2017/01/17 18:12:48, Eugene But wrote: > ...
3 years, 11 months ago (2017-01-18 08:55:54 UTC) #7
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/2640433002/60001
3 years, 11 months ago (2017-01-18 08:56:16 UTC) #10
commit-bot: I haz the power
3 years, 11 months ago (2017-01-18 09:53:23 UTC) #13
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/44fccdc3a9d6879d4cba838106ca...

Powered by Google App Engine
This is Rietveld 408576698