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

Issue 2747553002: [DevTools] Rework Popover API (Closed)

Created:
3 years, 9 months ago by dgozman
Modified:
3 years, 9 months ago
Reviewers:
lushnikov
CC:
chromium-reviews, extensions-reviews_chromium.org, 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, chromium-apps-reviews_chromium.org, kozyatinskiy+blink_chromium.org, pfeldman, Eric Willigers
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[DevTools] Rework Popover API - Client now provides a method which resolves event to UI.PopoverRequest. - We can be sure that show/hide methods are called in pairs. - We can now scope additional work and local variables instead of passing them strangely through the AnchorBox. BUG=none Review-Url: https://codereview.chromium.org/2747553002 Cr-Commit-Position: refs/heads/master@{#458663} Committed: https://chromium.googlesource.com/chromium/src/+/cb6ebed7c921e667425703651130450eab318721

Patch Set 1 #

Patch Set 2 : almost works #

Patch Set 3 : works! #

Total comments: 1

Patch Set 4 : await #

Total comments: 19

Patch Set 5 : review comments addressed #

Total comments: 1

Patch Set 6 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+461 lines, -542 lines) Patch
M third_party/WebKit/LayoutTests/inspector/elements/elements-img-tooltip.html View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/animation/AnimationTimeline.js View 1 2 3 4 2 chunks +39 lines, -45 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/components/DOMPresentationUtils.js View 1 2 3 4 2 chunks +11 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/dom_extension/DOMExtension.js View 1 chunk +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js View 1 2 3 4 5 2 chunks +19 lines, -32 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeOutline.js View 1 2 3 4 5 3 chunks +29 lines, -41 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network/NetworkLogViewColumns.js View 1 2 3 4 5 2 chunks +21 lines, -29 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network/NetworkWaterfallColumn.js View 1 2 3 4 5 3 chunks +16 lines, -25 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/perf_ui/TimelineOverviewPane.js View 1 2 3 4 2 chunks +21 lines, -38 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotGridNodes.js View 1 2 3 3 chunks +9 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotView.js View 1 2 3 4 2 chunks +28 lines, -51 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js View 1 2 3 4 5 1 chunk +30 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/source_frame/UISourceCodeFrame.js View 1 2 3 4 5 2 chunks +18 lines, -26 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js View 1 2 3 4 5 2 chunks +72 lines, -124 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/timeline/TimelineUIUtils.js View 1 2 3 4 5 2 chunks +7 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/Popover.js View 1 2 3 4 5 2 chunks +131 lines, -103 lines 0 comments Download

Messages

Total messages: 38 (25 generated)
dgozman
Could you please take a look? https://codereview.chromium.org/2747553002/diff/40001/third_party/WebKit/Source/devtools/front_end/ui/Popover.js File third_party/WebKit/Source/devtools/front_end/ui/Popover.js (right): https://codereview.chromium.org/2747553002/diff/40001/third_party/WebKit/Source/devtools/front_end/ui/Popover.js#newcode236 third_party/WebKit/Source/devtools/front_end/ui/Popover.js:236: /** @typedef {{box: ...
3 years, 9 months ago (2017-03-14 00:15:29 UTC) #3
lushnikov
https://codereview.chromium.org/2747553002/diff/60001/third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeOutline.js File third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeOutline.js (right): https://codereview.chromium.org/2747553002/diff/60001/third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeOutline.js#newcode541 third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeOutline.js:541: this._loadDimensionsForNode( the _loadDimensionsForNode is only used for a popover. ...
3 years, 9 months ago (2017-03-14 01:44:04 UTC) #8
dgozman
Please take another look. https://codereview.chromium.org/2747553002/diff/60001/third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeOutline.js File third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeOutline.js (right): https://codereview.chromium.org/2747553002/diff/60001/third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeOutline.js#newcode541 third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeOutline.js:541: this._loadDimensionsForNode( On 2017/03/14 01:44:03, lushnikov ...
3 years, 9 months ago (2017-03-14 21:34:02 UTC) #9
lushnikov
lgtm https://codereview.chromium.org/2747553002/diff/80001/third_party/WebKit/Source/devtools/front_end/ui/Popover.js File third_party/WebKit/Source/devtools/front_end/ui/Popover.js (right): https://codereview.chromium.org/2747553002/diff/80001/third_party/WebKit/Source/devtools/front_end/ui/Popover.js#newcode210 third_party/WebKit/Source/devtools/front_end/ui/Popover.js:210: if (request.hide) having .hide mandatory would simplify things
3 years, 9 months ago (2017-03-14 22:13:44 UTC) #14
lushnikov
lgtm
3 years, 9 months ago (2017-03-14 22:13:50 UTC) #15
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/2747553002/80001
3 years, 9 months ago (2017-03-14 22:52:31 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/227871) linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, ...
3 years, 9 months ago (2017-03-14 23:05:26 UTC) #19
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/2747553002/80001
3 years, 9 months ago (2017-03-14 23:36:03 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/227909) android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, ...
3 years, 9 months ago (2017-03-14 23:49:13 UTC) #24
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/2747553002/80001
3 years, 9 months ago (2017-03-15 23:20:01 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/137708) linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, ...
3 years, 9 months ago (2017-03-15 23:31:12 UTC) #28
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/2747553002/100001
3 years, 9 months ago (2017-03-22 05:28:39 UTC) #35
commit-bot: I haz the power
3 years, 9 months ago (2017-03-22 07:24:06 UTC) #38
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/cb6ebed7c921e667425703651130...

Powered by Google App Engine
This is Rietveld 408576698