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

Issue 2917973002: [iOS Clean] Update ContextMenuItem to use a single command. (Closed)

Created:
3 years, 6 months ago by kkhorimoto
Modified:
3 years, 6 months ago
CC:
chromium-reviews, marq+scrutinize_chromium.org, ios-reviews+clean_chromium.org, ios-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[iOS Clean] Update ContextMenuItem to use a single command. Rather than passing a vector of commands, use a single command and send |-hideContextMenu:| directly from the ContextMenuViewController if the command doesn't open a new tab. BUG=none Review-Url: https://codereview.chromium.org/2917973002 Cr-Commit-Position: refs/heads/master@{#476849} Committed: https://chromium.googlesource.com/chromium/src/+/6cd2c7a3e911e023f62536ff9d939f516badb961

Patch Set 1 #

Total comments: 2

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -73 lines) Patch
M ios/clean/chrome/browser/ui/context_menu/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M ios/clean/chrome/browser/ui/context_menu/context_menu_item.h View 1 chunk +10 lines, -4 lines 0 comments Download
M ios/clean/chrome/browser/ui/context_menu/context_menu_item.mm View 1 chunk +14 lines, -15 lines 0 comments Download
M ios/clean/chrome/browser/ui/context_menu/context_menu_mediator.mm View 1 chunk +23 lines, -36 lines 0 comments Download
M ios/clean/chrome/browser/ui/context_menu/context_menu_view_controller.mm View 1 3 chunks +17 lines, -18 lines 0 comments Download
M ios/clean/chrome/browser/ui/context_menu/web_context_menu_coordinator.mm View 2 chunks +2 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 15 (8 generated)
kkhorimoto
Follow-up from CL feedback on https://codereview.chromium.org/2862783002/
3 years, 6 months ago (2017-06-01 23:08:13 UTC) #2
marq (ping after 24h)
LGTM -- this is exactly the simplification I had in mind. https://codereview.chromium.org/2917973002/diff/1/ios/clean/chrome/browser/ui/context_menu/context_menu_item.h File ios/clean/chrome/browser/ui/context_menu/context_menu_item.h (right): ...
3 years, 6 months ago (2017-06-02 09:35:41 UTC) #3
kkhorimoto
rebase
3 years, 6 months ago (2017-06-02 21:23:07 UTC) #5
kkhorimoto
https://codereview.chromium.org/2917973002/diff/1/ios/clean/chrome/browser/ui/context_menu/context_menu_item.h File ios/clean/chrome/browser/ui/context_menu/context_menu_item.h (right): https://codereview.chromium.org/2917973002/diff/1/ios/clean/chrome/browser/ui/context_menu/context_menu_item.h#newcode30 ios/clean/chrome/browser/ui/context_menu/context_menu_item.h:30: @property(nonatomic, readonly, assign) BOOL commandOpensTab; On 2017/06/02 09:35:40, marq ...
3 years, 6 months ago (2017-06-02 21:23:24 UTC) #8
commit-bot: I haz the power
This CL has an open dependency (Issue 2922573002 Patch 20001). Please resolve the dependency and ...
3 years, 6 months ago (2017-06-02 21:23:45 UTC) #10
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/2917973002/20001
3 years, 6 months ago (2017-06-02 21:52:59 UTC) #12
commit-bot: I haz the power
3 years, 6 months ago (2017-06-03 01:35:51 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/6cd2c7a3e911e023f62536ff9d93...

Powered by Google App Engine
This is Rietveld 408576698