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

Issue 2346873005: [DevTools] Do not toggle tree element if there is a selection. (Closed)

Created:
4 years, 3 months ago by dgozman
Modified:
4 years, 3 months ago
Reviewers:
pfeldman
CC:
chromium-reviews, caseq+blink_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] Do not toggle tree element if there is a selection. This prevents the toggling when user just wanted to select text. Note that simple click usually clears the selection and element will be toggled. BUG=none Committed: https://crrev.com/569bccc198c32534e3855172fe95ab135574a991 Cr-Commit-Position: refs/heads/master@{#419353}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -19 lines) Patch
M third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js View 3 chunks +1 line, -19 lines 2 comments Download

Messages

Total messages: 12 (5 generated)
dgozman
Could you please take a look?
4 years, 3 months ago (2016-09-16 22:39:53 UTC) #3
pfeldman
https://codereview.chromium.org/2346873005/diff/1/third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js File third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js (right): https://codereview.chromium.org/2346873005/diff/1/third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js#newcode784 third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js:784: if (element.treeElement !== this || element.hasSelection()) hasSelection returns true ...
4 years, 3 months ago (2016-09-16 22:54:19 UTC) #4
dgozman
https://codereview.chromium.org/2346873005/diff/1/third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js File third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js (right): https://codereview.chromium.org/2346873005/diff/1/third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js#newcode784 third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js:784: if (element.treeElement !== this || element.hasSelection()) On 2016/09/16 22:54:18, ...
4 years, 3 months ago (2016-09-16 23:00:48 UTC) #5
pfeldman
lgtm
4 years, 3 months ago (2016-09-16 23:18:17 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/2346873005/1
4 years, 3 months ago (2016-09-16 23:21:19 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-17 00:58:04 UTC) #10
commit-bot: I haz the power
4 years, 3 months ago (2016-09-17 01:00:37 UTC) #12
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/569bccc198c32534e3855172fe95ab135574a991
Cr-Commit-Position: refs/heads/master@{#419353}

Powered by Google App Engine
This is Rietveld 408576698