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

Issue 2519213002: [DevTools] Remove preventFollow and special checks for links throughout frontend. (Closed)

Created:
4 years, 1 month ago by dgozman
Modified:
4 years, 1 month ago
Reviewers:
lushnikov
CC:
chromium-reviews, caseq+blink_chromium.org, blink-reviews-style_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, pfeldman, kozyatinskiy+blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[DevTools] Remove preventFollow and special checks for links throughout frontend. Previously, we handled links using click handler on document, so many places had to be careful to not intercept clicks on links. Now links have their own click handler so we can remove those check. Also, different context menu handlers should have been aware to call appendApplicableItems for target node. Now it's done automatically in ContextMenu constructor, which handles it for everyone. BUG=665661 Committed: https://crrev.com/411a262c8298a3f9acd8db3f9650067a0a984d54 Cr-Commit-Position: refs/heads/master@{#434113}

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -31 lines) Patch
M third_party/WebKit/Source/devtools/front_end/components/Linkifier.js View 4 chunks +9 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js View 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js View 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js View 2 chunks +0 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeElement.js View 1 chunk +3 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeOutline.js View 1 chunk +0 lines, -1 line 2 comments Download
M third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js View 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/main/Main.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network/NetworkLogView.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network/NetworkLogViewColumns.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/ContextMenu.js View 2 chunks +4 lines, -1 line 2 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js View 1 chunk +0 lines, -3 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 13 (6 generated)
dgozman
Take a look please.
4 years, 1 month ago (2016-11-22 00:37:03 UTC) #2
lushnikov
https://codereview.chromium.org/2519213002/diff/1/third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeOutline.js File third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeOutline.js (left): https://codereview.chromium.org/2519213002/diff/1/third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeOutline.js#oldcode788 third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeOutline.js:788: contextMenu.appendApplicableItems(event.target); why is this gone? https://codereview.chromium.org/2519213002/diff/1/third_party/WebKit/Source/devtools/front_end/ui/ContextMenu.js File third_party/WebKit/Source/devtools/front_end/ui/ContextMenu.js (right): ...
4 years, 1 month ago (2016-11-22 01:11:49 UTC) #3
dgozman
https://codereview.chromium.org/2519213002/diff/1/third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeOutline.js File third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeOutline.js (left): https://codereview.chromium.org/2519213002/diff/1/third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeOutline.js#oldcode788 third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeOutline.js:788: contextMenu.appendApplicableItems(event.target); On 2016/11/22 01:11:49, lushnikov wrote: > why is ...
4 years, 1 month ago (2016-11-22 01:33:19 UTC) #5
lushnikov
lgtm
4 years, 1 month ago (2016-11-22 01:50:22 UTC) #6
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/2519213002/1
4 years, 1 month ago (2016-11-23 02:05:23 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-23 04:17:18 UTC) #11
commit-bot: I haz the power
4 years, 1 month ago (2016-11-23 04:19:38 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/411a262c8298a3f9acd8db3f9650067a0a984d54
Cr-Commit-Position: refs/heads/master@{#434113}

Powered by Google App Engine
This is Rietveld 408576698