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

Issue 2740803002: [DevTools] Simplify Popover API (Closed)

Created:
3 years, 9 months ago by dgozman
Modified:
3 years, 9 months ago
Reviewers:
lushnikov
CC:
chromium-reviews, caseq+blink_chromium.org, shans, rjwright, blink-reviews-animation_chromium.org, devtools-reviews_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, darktears, blink-reviews, kozyatinskiy+blink_chromium.org, pfeldman, Eric Willigers
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[DevTools] Simplify Popover API Removed Popover class (it is just a GlassPane now) and merged remaining bits into PopoverHelper. Also started using promises for resolving. Next step would be to rename PopoverHelper into Popover and replace three callbacks with a callback + promise. BUG=none Review-Url: https://codereview.chromium.org/2740803002 Cr-Commit-Position: refs/heads/master@{#456260} Committed: https://chromium.googlesource.com/chromium/src/+/fc4bb36920dc06b4c961e32dfab83ecc30fd2561

Patch Set 1 #

Patch Set 2 : better #

Patch Set 3 : better #

Total comments: 6

Patch Set 4 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -141 lines) Patch
M third_party/WebKit/LayoutTests/inspector/elements/styles-1/color-swatch.html View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/animation/AnimationTimeline.js View 1 2 2 chunks +8 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js View 1 2 2 chunks +14 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeOutline.js View 1 2 2 chunks +9 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/inline_editor/SwatchPopoverHelper.js View 1 2 3 2 chunks +9 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/inline_editor/module.json View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
A + third_party/WebKit/Source/devtools/front_end/inline_editor/swatchPopover.css View 1 2 3 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network/NetworkLogViewColumns.js View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network/NetworkWaterfallColumn.js View 1 2 2 chunks +7 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/object_ui/ObjectPopoverHelper.js View 1 2 6 chunks +27 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/object_ui/objectPopover.css View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/perf_ui/TimelineOverviewPane.js View 1 2 2 chunks +9 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/source_frame/UISourceCodeFrame.js View 1 2 2 chunks +8 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/Popover.js View 1 2 3 7 chunks +36 lines, -82 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/popover.css View 1 2 1 chunk +2 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 19 (14 generated)
dgozman
Could you please take a look?
3 years, 9 months ago (2017-03-10 19:29:08 UTC) #5
lushnikov
lgtm https://codereview.chromium.org/2740803002/diff/40001/third_party/WebKit/LayoutTests/inspector/elements/styles-1/color-swatch.html File third_party/WebKit/LayoutTests/inspector/elements/styles-1/color-swatch.html (right): https://codereview.chromium.org/2740803002/diff/40001/third_party/WebKit/LayoutTests/inspector/elements/styles-1/color-swatch.html#newcode62 third_party/WebKit/LayoutTests/inspector/elements/styles-1/color-swatch.html:62: return !!document.body.querySelector('* /deep/ .spectrum-color'); fyi: /deep/ is deprecated ...
3 years, 9 months ago (2017-03-10 22:07:14 UTC) #8
dgozman
Thanks! https://codereview.chromium.org/2740803002/diff/40001/third_party/WebKit/LayoutTests/inspector/elements/styles-1/color-swatch.html File third_party/WebKit/LayoutTests/inspector/elements/styles-1/color-swatch.html (right): https://codereview.chromium.org/2740803002/diff/40001/third_party/WebKit/LayoutTests/inspector/elements/styles-1/color-swatch.html#newcode62 third_party/WebKit/LayoutTests/inspector/elements/styles-1/color-swatch.html:62: return !!document.body.querySelector('* /deep/ .spectrum-color'); On 2017/03/10 22:07:14, lushnikov ...
3 years, 9 months ago (2017-03-11 00:00:44 UTC) #9
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/2740803002/60001
3 years, 9 months ago (2017-03-11 02:18:29 UTC) #16
commit-bot: I haz the power
3 years, 9 months ago (2017-03-11 02:23:26 UTC) #19
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/fc4bb36920dc06b4c961e32dfab8...

Powered by Google App Engine
This is Rietveld 408576698