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

Issue 2658383002: [DevTools] Make UI.GlassPane position contentElement for different overlay controls. (Closed)

Created:
3 years, 10 months ago by dgozman
Modified:
3 years, 10 months ago
Reviewers:
caseq, einbinder, luoe, pfeldman
CC:
apavlov+blink_chromium.org, blink-reviews, caseq+blink_chromium.org, chromium-reviews, devtools-reviews_chromium.org, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[DevTools] Make UI.GlassPane position contentElement for different overlay controls. Currently used in Dialog and SuggestBox, with SoftContextMenu, Tooltip, Toolbar and Popover to follow. BUG=none Review-Url: https://codereview.chromium.org/2658383002 Cr-Commit-Position: refs/heads/master@{#447669} Committed: https://chromium.googlesource.com/chromium/src/+/ed1f2fac6209f8d2e0db3f7dcff38d1e69f5db26

Patch Set 1 #

Patch Set 2 : works for dialogs #

Patch Set 3 : works for suggestbox #

Patch Set 4 : behavior #

Patch Set 5 : events #

Patch Set 6 : less layouts #

Total comments: 22

Patch Set 7 : GlassPane #

Total comments: 12

Patch Set 8 : review comments addressed #

Patch Set 9 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+336 lines, -355 lines) Patch
M third_party/WebKit/Source/devtools/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/Dialog.js View 1 2 3 4 5 6 7 8 chunks +37 lines, -102 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/Geometry.js View 1 2 3 4 5 6 1 chunk +10 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/devtools/front_end/ui/GlassPane.js View 1 2 3 4 5 6 7 1 chunk +208 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/Popover.js View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/SoftContextMenu.js View 1 2 3 4 5 6 2 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/SuggestBox.js View 1 2 3 4 5 6 7 5 chunks +33 lines, -161 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/Tooltip.js View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js View 1 2 3 4 5 6 7 4 chunks +7 lines, -32 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/dialog.css View 1 2 2 chunks +1 line, -6 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/inspectorCommon.css View 1 2 3 4 5 6 7 1 chunk +14 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/module.json View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/suggestBox.css View 1 2 3 chunks +9 lines, -39 lines 0 comments Download

Messages

Total messages: 34 (20 generated)
dgozman
Could you please take a look?
3 years, 10 months ago (2017-01-30 21:44:50 UTC) #8
einbinder
https://codereview.chromium.org/2658383002/diff/100001/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js File third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js (right): https://codereview.chromium.org/2658383002/diff/100001/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js#newcode323 third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js:323: UI._glassPaneZIndex -= 1000; Should we do a check if ...
3 years, 10 months ago (2017-01-30 23:59:47 UTC) #10
pfeldman
Why isn't it a glass pane?
3 years, 10 months ago (2017-01-31 00:39:17 UTC) #14
dgozman
On 2017/01/31 00:39:17, pfeldman wrote: > Why isn't it a glass pane? It has one ...
3 years, 10 months ago (2017-01-31 01:35:49 UTC) #15
pfeldman
Judging by the name, I was thinking it would be one thing. Glass pane _is_ ...
3 years, 10 months ago (2017-01-31 18:11:14 UTC) #16
caseq
lgtm https://codereview.chromium.org/2658383002/diff/100001/third_party/WebKit/Source/devtools/front_end/ui/Dialog.js File third_party/WebKit/Source/devtools/front_end/ui/Dialog.js (right): https://codereview.chromium.org/2658383002/diff/100001/third_party/WebKit/Source/devtools/front_end/ui/Dialog.js#newcode74 third_party/WebKit/Source/devtools/front_end/ui/Dialog.js:74: this._overlay.document().body.addEventListener('keydown', this._keyDownBound, false); I wonder if we can ...
3 years, 10 months ago (2017-01-31 21:27:20 UTC) #17
pfeldman
not lgtm https://codereview.chromium.org/2658383002/diff/100001/third_party/WebKit/Source/devtools/front_end/ui/ModalOverlay.js File third_party/WebKit/Source/devtools/front_end/ui/ModalOverlay.js (right): https://codereview.chromium.org/2658383002/diff/100001/third_party/WebKit/Source/devtools/front_end/ui/ModalOverlay.js#newcode5 third_party/WebKit/Source/devtools/front_end/ui/ModalOverlay.js:5: UI.ModalOverlay = class { Could you clarify ...
3 years, 10 months ago (2017-01-31 21:30:18 UTC) #18
dgozman
PTAL https://codereview.chromium.org/2658383002/diff/100001/third_party/WebKit/Source/devtools/front_end/ui/Dialog.js File third_party/WebKit/Source/devtools/front_end/ui/Dialog.js (right): https://codereview.chromium.org/2658383002/diff/100001/third_party/WebKit/Source/devtools/front_end/ui/Dialog.js#newcode74 third_party/WebKit/Source/devtools/front_end/ui/Dialog.js:74: this._overlay.document().body.addEventListener('keydown', this._keyDownBound, false); On 2017/01/31 21:27:19, caseq wrote: ...
3 years, 10 months ago (2017-01-31 23:39:49 UTC) #20
pfeldman
now i like it very much. lgtm https://codereview.chromium.org/2658383002/diff/120001/third_party/WebKit/Source/devtools/front_end/ui/Dialog.js File third_party/WebKit/Source/devtools/front_end/ui/Dialog.js (right): https://codereview.chromium.org/2658383002/diff/120001/third_party/WebKit/Source/devtools/front_end/ui/Dialog.js#newcode82 third_party/WebKit/Source/devtools/front_end/ui/Dialog.js:82: this._glassPane.setContentPosition(this._positionX, this._positionY); ...
3 years, 10 months ago (2017-02-01 00:07:19 UTC) #21
dgozman
https://codereview.chromium.org/2658383002/diff/120001/third_party/WebKit/Source/devtools/front_end/ui/Dialog.js File third_party/WebKit/Source/devtools/front_end/ui/Dialog.js (right): https://codereview.chromium.org/2658383002/diff/120001/third_party/WebKit/Source/devtools/front_end/ui/Dialog.js#newcode82 third_party/WebKit/Source/devtools/front_end/ui/Dialog.js:82: this._glassPane.setContentPosition(this._positionX, this._positionY); On 2017/02/01 00:07:18, pfeldman wrote: > setContentPosition/setContentAnchorBox ...
3 years, 10 months ago (2017-02-01 16:19:45 UTC) #22
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/2658383002/140001
3 years, 10 months ago (2017-02-01 16:20:50 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/145716) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 10 months ago (2017-02-01 16:22:47 UTC) #27
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/2658383002/160001
3 years, 10 months ago (2017-02-01 23:21:56 UTC) #30
commit-bot: I haz the power
3 years, 10 months ago (2017-02-02 01:19:58 UTC) #34
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/ed1f2fac6209f8d2e0db3f7dcff3...

Powered by Google App Engine
This is Rietveld 408576698