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

Issue 2034533002: [DevTools] Add removeFunction to EventListener protocol object (Closed)

Created:
4 years, 6 months ago by kozy
Modified:
4 years, 6 months ago
Reviewers:
dgozman, pfeldman
CC:
chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, blink-reviews-bindings_chromium.org, sergeyv+blink_chromium.org, pfeldman, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[DevTools] Add removeFunction to EventListener protocol object With this change CommandLineAPI getEventListeners and protocol getEventListeners methods use the same way to provide remove function. One redundant roundtrip is removed from frontend side. BUG=595206 R=dgozman@chromium.org Committed: https://crrev.com/45ecc4451be879bc38d54903401ab30ef18a566e Cr-Commit-Position: refs/heads/master@{#397406}

Patch Set 1 #

Total comments: 8

Patch Set 2 : #

Messages

Total messages: 24 (10 generated)
kozy
Dmitry, please take a look!
4 years, 6 months ago (2016-06-01 23:19:45 UTC) #1
dgozman
lgtm https://codereview.chromium.org/2034533002/diff/1/third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.cpp File third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.cpp (right): https://codereview.chromium.org/2034533002/diff/1/third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.cpp#newcode108 third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.cpp:108: EventListenerVector* listeners = target->getEventListeners(eventTypes[j]); Just getEventListeners(type) https://codereview.chromium.org/2034533002/diff/1/third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.cpp#newcode117 third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.cpp:117: ...
4 years, 6 months ago (2016-06-01 23:54:05 UTC) #2
kozy
All done! https://codereview.chromium.org/2034533002/diff/1/third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.cpp File third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.cpp (right): https://codereview.chromium.org/2034533002/diff/1/third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.cpp#newcode108 third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.cpp:108: EventListenerVector* listeners = target->getEventListeners(eventTypes[j]); On 2016/06/01 23:54:05, ...
4 years, 6 months ago (2016-06-02 01:04:39 UTC) #3
kozy
Pavel, please take a look! I need owner lgtm for bindings.
4 years, 6 months ago (2016-06-02 01:05:07 UTC) #5
pfeldman
lgtm
4 years, 6 months ago (2016-06-02 01:08:48 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2034533002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2034533002/20001
4 years, 6 months ago (2016-06-02 01:17:28 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/179485)
4 years, 6 months ago (2016-06-02 02:04:39 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2034533002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2034533002/20001
4 years, 6 months ago (2016-06-02 02:17:12 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/179527)
4 years, 6 months ago (2016-06-02 02:38:12 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2034533002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2034533002/20001
4 years, 6 months ago (2016-06-02 04:02:02 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/222046) linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, ...
4 years, 6 months ago (2016-06-02 04:21:28 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2034533002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2034533002/20001
4 years, 6 months ago (2016-06-02 13:33:35 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-06-02 15:10:51 UTC) #22
commit-bot: I haz the power
4 years, 6 months ago (2016-06-02 15:12:32 UTC) #24
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/45ecc4451be879bc38d54903401ab30ef18a566e
Cr-Commit-Position: refs/heads/master@{#397406}

Powered by Google App Engine
This is Rietveld 408576698