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

Issue 2377193004: [DevTools] Rework some focus code. (Closed)

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

Description

[DevTools] Rework some focus code. - Removed WI.currentFocusElement() and friends; - Fixed TabbedLocation lazy loading focus; - Focusing drawer tabs conditionally; - Added primitives to DOMExtension.js. This doesn't touch last focused widget logic. BUG=none Committed: https://crrev.com/c320a900cd8320048e1e1f553cdc01f2633c68b3 Cr-Commit-Position: refs/heads/master@{#424035}

Patch Set 1 #

Total comments: 4

Patch Set 2 : fixes #

Total comments: 14

Patch Set 3 : FocusRestorer #

Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -175 lines) Patch
M third_party/WebKit/LayoutTests/inspector/components/widget-focus.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector/extensions/extensions-panel.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/components/DockController.js View 1 3 chunks +6 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/components/Spectrum.js View 1 2 3 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeOutline.js View 1 1 chunk +0 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/main/Main.js View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/platform/DOMExtension.js View 1 2 3 chunks +39 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/AdvancedSearchView.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js View 1 2 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorUtils.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 2 chunks +3 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js View 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/InplaceEditor.js View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js View 1 2 4 chunks +18 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/SearchableView.js View 4 chunks +2 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/SwatchPopoverHelper.js View 1 2 2 chunks +3 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/TabbedPane.js View 2 chunks +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/TextPrompt.js View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js View 1 2 4 chunks +21 lines, -77 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/View.js View 1 2 3 chunks +11 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/Widget.js View 1 2 4 chunks +31 lines, -5 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 32 (20 generated)
dgozman
Could you please take a look? This passes all my manual tests. I will additionally ...
4 years, 2 months ago (2016-09-30 02:42:02 UTC) #3
dgozman
Tested everything, a couple of fixes applied. Ready to land :-)
4 years, 2 months ago (2016-09-30 17:39:16 UTC) #5
luoe
Neat! One thing I didn't understand was where isConnected is being set. How does it ...
4 years, 2 months ago (2016-09-30 18:25:36 UTC) #6
einbinder
On 2016/09/30 at 18:25:36, luoe wrote: > Neat! > > One thing I didn't understand ...
4 years, 2 months ago (2016-09-30 18:41:54 UTC) #7
einbinder
https://codereview.chromium.org/2377193004/diff/20001/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js File third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js (left): https://codereview.chromium.org/2377193004/diff/20001/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js#oldcode335 third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js:335: this.focus(); Why does this get removed? Is the prompt ...
4 years, 2 months ago (2016-09-30 19:37:52 UTC) #8
dgozman
https://codereview.chromium.org/2377193004/diff/1/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/2377193004/diff/1/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js#newcode833 third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js:833: * @return {?Element} On 2016/09/30 18:25:36, luoe wrote: > ...
4 years, 2 months ago (2016-09-30 20:27:19 UTC) #9
pfeldman
https://codereview.chromium.org/2377193004/diff/20001/third_party/WebKit/Source/devtools/front_end/externs.js File third_party/WebKit/Source/devtools/front_end/externs.js (right): https://codereview.chromium.org/2377193004/diff/20001/third_party/WebKit/Source/devtools/front_end/externs.js#newcode46 third_party/WebKit/Source/devtools/front_end/externs.js:46: Node.prototype.isConnected; Firefox: No public signals Edge: No public signals ...
4 years, 2 months ago (2016-09-30 22:29:03 UTC) #10
dgozman
New stuff! PTAL https://codereview.chromium.org/2377193004/diff/20001/third_party/WebKit/Source/devtools/front_end/externs.js File third_party/WebKit/Source/devtools/front_end/externs.js (right): https://codereview.chromium.org/2377193004/diff/20001/third_party/WebKit/Source/devtools/front_end/externs.js#newcode46 third_party/WebKit/Source/devtools/front_end/externs.js:46: Node.prototype.isConnected; On 2016/09/30 22:29:03, pfeldman wrote: ...
4 years, 2 months ago (2016-09-30 23:28:25 UTC) #11
pfeldman
lgtm
4 years, 2 months ago (2016-10-03 22:01:46 UTC) #20
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/2377193004/40001
4 years, 2 months ago (2016-10-07 22:13:04 UTC) #28
commit-bot: I haz the power
Failed to apply the patch. On branch working_branch Your branch is up-to-date with 'origin/refs/pending/heads/master'. nothing ...
4 years, 2 months ago (2016-10-08 01:33:17 UTC) #30
commit-bot: I haz the power
4 years, 2 months ago (2016-10-08 01:33:58 UTC) #32
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c320a900cd8320048e1e1f553cdc01f2633c68b3
Cr-Commit-Position: refs/heads/master@{#424035}

Powered by Google App Engine
This is Rietveld 408576698