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

Issue 2553043003: [DevTools] Remove methods on Common.Event. (Closed)

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

Description

[DevTools] Remove methods on Common.Event. Patch removes preventDefault(), stopPropagation(), consume() and .type property. This is a preparation for typed events, which will not inherit from Common.Event. BUG=none Committed: https://crrev.com/cd3e789d9ae61c3028d05d9e3361198496b45412 Cr-Commit-Position: refs/heads/master@{#437987}

Patch Set 1 #

Total comments: 6

Patch Set 2 : review fixes #

Patch Set 3 : togglesgit cl issue! #

Patch Set 4 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+266 lines, -201 lines) Patch
M third_party/WebKit/LayoutTests/http/tests/inspector/network/font-face.html View 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/network/font-face-expected.txt View 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/elements/edit/set-outer-html-test.js View 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/breakpoint-manager.js View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/animation/AnimationTimeline.js View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/bindings/DebuggerWorkspaceBinding.js View 1 7 chunks +14 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/common/Object.js View 3 chunks +4 lines, -32 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/components/DockController.js View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/components/EventListenersView.js View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/components/ObjectPopoverHelper.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/components/Spectrum.js View 1 2 4 chunks +8 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/elements/ClassesPaneWidget.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/elements/ElementStatePaneWidget.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/elements/EventListenersWidget.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js View 1 2 3 7 chunks +16 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeToolbar.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/extensions/ExtensionPanel.js View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/layer_viewer/TransformController.js View 1 2 1 chunk +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/main/Main.js View 1 2 3 2 chunks +7 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network/BlockedURLsPane.js View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network/NetworkPanel.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotProxy.js View 2 chunks +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotView.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/profiler/ProfileView.js View 4 chunks +12 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/resources/AppManifestView.js View 2 chunks +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/resources/ApplicationCacheItemsView.js View 2 chunks +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/resources/CookieItemsView.js View 4 chunks +14 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/resources/DOMStorageItemsView.js View 7 chunks +8 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/resources/DatabaseTableView.js View 2 chunks +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/resources/IndexedDBViews.js View 4 chunks +18 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/resources/ServiceWorkerCacheViews.js View 1 3 chunks +14 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/resources/ServiceWorkersView.js View 1 2 chunks +20 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/screencast/ScreencastApp.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js View 1 2 3 3 chunks +9 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/settings/SettingsScreen.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/InplaceFormatterEditorAction.js View 2 chunks +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/ObjectEventListenersSidebarPane.js View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/ScriptFormatterEditorAction.js View 2 chunks +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/SourcesNavigator.js View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js View 1 2 3 chunks +5 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js View 1 2 chunks +3 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/XHRBreakpointsSidebarPane.js View 2 chunks +2 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/SearchableView.js View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/SplitWidget.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js View 1 2 4 chunks +12 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui_lazy/OverviewGrid.js View 4 chunks +16 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui_lazy/TimelineOverviewPane.js View 1 2 3 2 chunks +6 lines, -7 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 36 (19 generated)
dgozman
Take a look please.
4 years ago (2016-12-06 15:29:01 UTC) #3
lushnikov
lgtm https://codereview.chromium.org/2553043003/diff/1/third_party/WebKit/LayoutTests/inspector/elements/edit/set-outer-html-test.js File third_party/WebKit/LayoutTests/inspector/elements/edit/set-outer-html-test.js (left): https://codereview.chromium.org/2553043003/diff/1/third_party/WebKit/LayoutTests/inspector/elements/edit/set-outer-html-test.js#oldcode36 third_party/WebKit/LayoutTests/inspector/elements/edit/set-outer-html-test.js:36: if (!event.data || event.type === SDK.DOMModel.Events.MarkersChanged || event.type ...
4 years ago (2016-12-06 20:21:51 UTC) #7
dgozman
https://codereview.chromium.org/2553043003/diff/1/third_party/WebKit/LayoutTests/inspector/elements/edit/set-outer-html-test.js File third_party/WebKit/LayoutTests/inspector/elements/edit/set-outer-html-test.js (left): https://codereview.chromium.org/2553043003/diff/1/third_party/WebKit/LayoutTests/inspector/elements/edit/set-outer-html-test.js#oldcode36 third_party/WebKit/LayoutTests/inspector/elements/edit/set-outer-html-test.js:36: if (!event.data || event.type === SDK.DOMModel.Events.MarkersChanged || event.type === ...
4 years ago (2016-12-06 21:36:16 UTC) #8
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/2553043003/20001
4 years ago (2016-12-06 21:37:09 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-07 00:43:52 UTC) #13
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/ded3e43b7d536317c1041725ff41dcb15177d8fc Cr-Commit-Position: refs/heads/master@{#436788}
4 years ago (2016-12-07 00:46:04 UTC) #15
dgozman
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/2560553004/ by dgozman@chromium.org. ...
4 years ago (2016-12-07 19:29:08 UTC) #16
dgozman
Please take another look. Last time I forgot about ToolbarToogle instances which inherit from ToolbarButton.
4 years ago (2016-12-09 21:39:11 UTC) #18
lushnikov
lgtm
4 years ago (2016-12-10 01:16:00 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/2553043003/40001
4 years ago (2016-12-10 01:53:58 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/196460)
4 years ago (2016-12-10 03:46:04 UTC) #23
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/2553043003/40001
4 years ago (2016-12-10 04:09:51 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/196512)
4 years ago (2016-12-10 04:18:27 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/2553043003/60001
4 years ago (2016-12-12 22:09:50 UTC) #30
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-12-13 02:25:54 UTC) #33
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/cd3e789d9ae61c3028d05d9e3361198496b45412 Cr-Commit-Position: refs/heads/master@{#437987}
4 years ago (2016-12-13 02:28:16 UTC) #35
luoe
4 years ago (2016-12-14 23:53:10 UTC) #36
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.chromium.org/2573323002/ by luoe@chromium.org.

The reason for reverting is: Compromises the ability to add new watch
expressions and XHR Breakpoints.

In the debugger sidepane, Watch Expressions and XHR sections have a '+' icon
when open.  Clicking on the '+' should add a new entry, but instead it closes
the section..

Powered by Google App Engine
This is Rietveld 408576698