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

Issue 2379653002: Add a inner text parameter to ContextMenuParams (Closed)

Created:
4 years, 2 months ago by gambard
Modified:
4 years, 2 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a inner text parameter to ContextMenuParams This CL adds a parameter to ContextMenuParams, the inner text of a link on which a context menu is opened. BUG=591365 Committed: https://crrev.com/698c843e73f50ed1448a7e3da456989eee9207b0 Cr-Commit-Position: refs/heads/master@{#423814}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add comment #

Patch Set 3 : nil or nonempty #

Patch Set 4 : Rename inner_text to link_text #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -1 line) Patch
M ios/web/public/web_state/context_menu_params.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M ios/web/web_state/js/resources/core.js View 1 chunk +2 lines, -1 line 0 comments Download
M ios/web/web_state/ui/crw_web_controller.mm View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (7 generated)
gambard
PTAL.
4 years, 2 months ago (2016-09-28 16:36:30 UTC) #2
Jackie Quinn
lgtm. I assume the plan is to display the link's text in addition to URL ...
4 years, 2 months ago (2016-09-28 18:24:42 UTC) #3
gambard
On 2016/09/28 18:24:42, Jackie Quinn wrote: > lgtm. I assume the plan is to display ...
4 years, 2 months ago (2016-10-03 07:42:47 UTC) #4
marq (ping after 24h)
https://codereview.chromium.org/2379653002/diff/1/ios/web/web_state/ui/crw_web_controller.mm File ios/web/web_state/ui/crw_web_controller.mm (right): https://codereview.chromium.org/2379653002/diff/1/ios/web/web_state/ui/crw_web_controller.mm#newcode4293 ios/web/web_state/ui/crw_web_controller.mm:4293: NSString* innerText = element[@"innerText"]; If the JS innerText value ...
4 years, 2 months ago (2016-10-03 11:31:09 UTC) #5
gambard
Thanks, PTAL. https://codereview.chromium.org/2379653002/diff/1/ios/web/web_state/ui/crw_web_controller.mm File ios/web/web_state/ui/crw_web_controller.mm (right): https://codereview.chromium.org/2379653002/diff/1/ios/web/web_state/ui/crw_web_controller.mm#newcode4293 ios/web/web_state/ui/crw_web_controller.mm:4293: NSString* innerText = element[@"innerText"]; On 2016/10/03 11:31:09, ...
4 years, 2 months ago (2016-10-03 12:05:52 UTC) #6
marq (ping after 24h)
On 2016/10/03 12:05:52, gambard wrote: > Thanks, PTAL. > > https://codereview.chromium.org/2379653002/diff/1/ios/web/web_state/ui/crw_web_controller.mm > File ios/web/web_state/ui/crw_web_controller.mm (right): ...
4 years, 2 months ago (2016-10-03 15:52:52 UTC) #7
gambard
Thanks, PTAL. I thought the check [string length] > 0 would have checked for nil ...
4 years, 2 months ago (2016-10-05 07:35:59 UTC) #8
gambard
+eugenebut@ as marq@ is OOO. PTAL
4 years, 2 months ago (2016-10-06 13:25:05 UTC) #10
marq (ping after 24h)
lgtm
4 years, 2 months ago (2016-10-06 17:02:10 UTC) #12
Eugene But (OOO till 7-30)
On 2016/10/06 17:02:10, marq wrote: > lgtm Please take a look at content::ContextMenuParams: https://cs.chromium.org/chromium/src/content/public/common/context_menu_params.h?q=ContextMenuParams&sq=package:chromium&l=55 How ...
4 years, 2 months ago (2016-10-06 22:49:45 UTC) #13
gambard
Thanks, I have renamed the variable. We are different from the content API because we ...
4 years, 2 months ago (2016-10-07 07:23:50 UTC) #14
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/2379653002/60001
4 years, 2 months ago (2016-10-07 07:24:40 UTC) #17
Eugene But (OOO till 7-30)
Thank you! Returning nil makes total sense because the value is backed up by NSString. ...
4 years, 2 months ago (2016-10-07 07:27:17 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-10-07 07:40:29 UTC) #20
commit-bot: I haz the power
4 years, 2 months ago (2016-10-07 07:42:12 UTC) #22
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/698c843e73f50ed1448a7e3da456989eee9207b0
Cr-Commit-Position: refs/heads/master@{#423814}

Powered by Google App Engine
This is Rietveld 408576698