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

Issue 182763002: Add [WillBeGarbageCollected] to Event.idl (Closed)

Created:
6 years, 9 months ago by haraken
Modified:
6 years, 9 months ago
CC:
blink-reviews, shans, eae+blinkwatch, fs, eric.carlson_apple.com, nessy, apavlov+blink_chromium.org, adamk+blink_chromium.org, Steve Block, rwlbuis, jsbell+serviceworker_chromium.org, dino_apple.com, arv+blink, alancutter (OOO until 2018), mvanouwerkerk+watch_chromium.org, alecflett, dglazkov+blink, aandrey+blink_chromium.org, dstockwell, Timothy Loh, Rik, pdr., rune+blink, Eric Willigers, philipj_slow, rjwright, sof, timvolodine, Raymond Toy, feature-media-reviews_chromium.org, tommyw+watchlist_chromium.org, krit, gyuyoung.kim_webkit.org, darktears, jsbell+idb_chromium.org, vcarbune.chromium, alecflett+watch_chromium.org, gasubic, ericu+idb_chromium.org, Mike Lawther (Google), ed+blinkwatch_opera.com, f(malita), Inactive, cmumford, dgrogan, Stephen Chennney, watchdog-blink-watchlist_google.com
Visibility:
Public.

Description

Add [WillBeGarbageCollected] to Event.idl - This CL adds [WillBeGarbageCollected] to Event.idl and makes minimal changes to the code base to make it workable. - This CL is almost just replacing: PassRefPtr<XEvent> XEvent::create() { return adoptRef(new XEvent); } with PassRefPtrWillBeRawPtr<XEvent> XEvent::create() { return adoptRefWillBeRefCountedGarbageCollected(new XEvent); } - This CL adds a trace() metho to SpeechRecognitionError, because I found that it inherits Event. BUG=340522 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168100

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+378 lines, -359 lines) Patch
Source/bindings/templates/interface.cpp View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
Source/bindings/tests/results/V8TestInterfaceEventConstructor.h View 1 2 3 4 3 chunks +7 lines, -6 lines 0 comments Download
Source/bindings/tests/results/V8TestInterfaceEventConstructor.cpp View 1 2 3 4 4 chunks +5 lines, -3 lines 0 comments Download
M Source/build/scripts/templates/EventFactory.cpp.tmpl View 1 chunk +1 line, -1 line 0 comments Download
Source/core/css/CSSFontFaceLoadEvent.h View 1 2 3 4 1 chunk +5 lines, -5 lines 0 comments Download
Source/core/dom/Document.h View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
Source/core/dom/Document.cpp View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
Source/core/events/AutocompleteErrorEvent.h View 1 2 3 4 1 chunk +6 lines, -6 lines 0 comments Download
M Source/core/events/BeforeTextInsertedEvent.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
Source/core/events/BeforeUnloadEvent.h View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/events/ClipboardEvent.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
Source/core/events/CompositionEvent.h View 1 2 3 4 1 chunk +6 lines, -6 lines 0 comments Download
M Source/core/events/CustomEvent.h View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
Source/core/events/ErrorEvent.h View 1 2 3 4 1 chunk +8 lines, -8 lines 0 comments Download
Source/core/events/Event.h View 1 2 3 4 2 chunks +6 lines, -6 lines 0 comments Download
Source/core/events/Event.idl View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/events/EventFactory.h View 2 chunks +2 lines, -1 line 0 comments Download
Source/core/events/FocusEvent.h View 1 2 3 4 1 chunk +6 lines, -6 lines 0 comments Download
Source/core/events/GestureEvent.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
Source/core/events/GestureEvent.cpp View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
Source/core/events/HashChangeEvent.h View 1 2 3 4 1 chunk +6 lines, -6 lines 0 comments Download
M Source/core/events/KeyboardEvent.h View 1 2 1 chunk +8 lines, -8 lines 0 comments Download
Source/core/events/MessageEvent.h View 1 2 3 4 1 chunk +15 lines, -15 lines 0 comments Download
Source/core/events/MessageEvent.cpp View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
Source/core/events/MouseEvent.h View 1 2 3 4 1 chunk +5 lines, -5 lines 0 comments Download
Source/core/events/MouseEvent.cpp View 1 2 3 4 2 chunks +7 lines, -6 lines 0 comments Download
M Source/core/events/MutationEvent.h View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M Source/core/events/OverflowEvent.h View 1 2 1 chunk +6 lines, -6 lines 0 comments Download
M Source/core/events/PageTransitionEvent.h View 1 2 1 chunk +6 lines, -6 lines 0 comments Download
Source/core/events/PopStateEvent.h View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
Source/core/events/PopStateEvent.cpp View 1 2 3 4 1 chunk +6 lines, -6 lines 0 comments Download
M Source/core/events/ProgressEvent.h View 1 2 1 chunk +6 lines, -6 lines 0 comments Download
M Source/core/events/ResourceProgressEvent.h View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
Source/core/events/SecurityPolicyViolationEvent.h View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
Source/core/events/TextEvent.h View 1 2 3 4 1 chunk +5 lines, -5 lines 0 comments Download
Source/core/events/TextEvent.cpp View 1 2 3 4 1 chunk +10 lines, -10 lines 0 comments Download
Source/core/events/TouchEvent.h View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M Source/core/events/TransitionEvent.h View 1 2 1 chunk +6 lines, -6 lines 0 comments Download
Source/core/events/UIEvent.h View 1 2 3 4 1 chunk +6 lines, -6 lines 0 comments Download
M Source/core/events/WebKitAnimationEvent.h View 1 2 1 chunk +6 lines, -6 lines 0 comments Download
Source/core/events/WheelEvent.h View 1 2 3 4 1 chunk +6 lines, -6 lines 0 comments Download
M Source/core/html/MediaKeyEvent.h View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M Source/core/html/canvas/WebGLContextEvent.h View 1 2 1 chunk +6 lines, -6 lines 0 comments Download
M Source/core/html/track/TrackEvent.h View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M Source/core/speech/SpeechInputEvent.h View 1 chunk +2 lines, -2 lines 0 comments Download
Source/core/speech/SpeechInputEvent.cpp View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
Source/core/storage/StorageEvent.h View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
Source/core/storage/StorageEvent.cpp View 1 2 3 4 2 chunks +6 lines, -6 lines 0 comments Download
M Source/core/svg/SVGZoomEvent.h View 1 2 1 chunk +4 lines, -1 line 0 comments Download
Source/core/xml/XMLHttpRequestProgressEvent.h View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M Source/modules/device_orientation/DeviceMotionEvent.h View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M Source/modules/device_orientation/DeviceOrientationEvent.h View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M Source/modules/encryptedmedia/MediaKeyMessageEvent.h View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M Source/modules/encryptedmedia/MediaKeyNeededEvent.h View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
Source/modules/gamepad/GamepadEvent.h View 1 2 3 4 1 chunk +6 lines, -6 lines 0 comments Download
Source/modules/indexeddb/IDBVersionChangeEvent.h View 1 2 3 4 1 chunk +6 lines, -6 lines 0 comments Download
M Source/modules/mediastream/MediaStreamEvent.h View 1 chunk +3 lines, -3 lines 0 comments Download
Source/modules/mediastream/MediaStreamEvent.cpp View 1 2 3 4 1 chunk +6 lines, -6 lines 0 comments Download
M Source/modules/mediastream/MediaStreamTrackEvent.h View 1 chunk +2 lines, -2 lines 0 comments Download
Source/modules/mediastream/MediaStreamTrackEvent.cpp View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M Source/modules/mediastream/RTCDTMFToneChangeEvent.h View 1 chunk +3 lines, -3 lines 0 comments Download
Source/modules/mediastream/RTCDTMFToneChangeEvent.cpp View 1 2 3 4 1 chunk +6 lines, -6 lines 0 comments Download
M Source/modules/mediastream/RTCDataChannelEvent.h View 1 chunk +2 lines, -2 lines 0 comments Download
Source/modules/mediastream/RTCDataChannelEvent.cpp View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M Source/modules/mediastream/RTCIceCandidateEvent.h View 1 chunk +2 lines, -2 lines 0 comments Download
Source/modules/mediastream/RTCIceCandidateEvent.cpp View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M Source/modules/serviceworkers/FetchEvent.h View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
Source/modules/serviceworkers/FetchEvent.cpp View 1 2 3 4 2 chunks +9 lines, -4 lines 0 comments Download
M Source/modules/serviceworkers/InstallEvent.h View 1 chunk +2 lines, -2 lines 0 comments Download
Source/modules/serviceworkers/InstallEvent.cpp View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M Source/modules/serviceworkers/InstallPhaseEvent.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/serviceworkers/InstallPhaseEvent.cpp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
Source/modules/speech/SpeechRecognitionError.h View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M Source/modules/speech/SpeechRecognitionError.cpp View 1 2 1 chunk +6 lines, -6 lines 0 comments Download
Source/modules/speech/SpeechRecognitionEvent.h View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M Source/modules/speech/SpeechRecognitionEvent.cpp View 1 2 2 chunks +6 lines, -6 lines 0 comments Download
M Source/modules/speech/SpeechSynthesisEvent.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/modules/speech/SpeechSynthesisEvent.cpp View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M Source/modules/webaudio/AudioProcessingEvent.h View 1 chunk +2 lines, -2 lines 0 comments Download
Source/modules/webaudio/AudioProcessingEvent.cpp View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M Source/modules/webaudio/OfflineAudioCompletionEvent.h View 1 chunk +2 lines, -2 lines 0 comments Download
Source/modules/webaudio/OfflineAudioCompletionEvent.cpp View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M Source/modules/webmidi/MIDIConnectionEvent.h View 1 2 1 chunk +6 lines, -6 lines 0 comments Download
M Source/modules/webmidi/MIDIMessageEvent.h View 1 2 1 chunk +6 lines, -6 lines 0 comments Download
Source/modules/websockets/CloseEvent.h View 1 2 3 4 1 chunk +6 lines, -6 lines 0 comments Download
Source/web/tests/CustomEventTest.cpp View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M Source/wtf/GetPtr.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
haraken
PTAL This is a minimal change to make [WillBeGarbageCollected] in Event.idl workable.
6 years, 9 months ago (2014-02-27 07:54:11 UTC) #1
Mads Ager (chromium)
LGTM
6 years, 9 months ago (2014-02-27 10:08:13 UTC) #2
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 9 months ago (2014-02-27 10:24:40 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/182763002/20001
6 years, 9 months ago (2014-02-27 10:24:49 UTC) #4
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-02-27 10:52:45 UTC) #5
commit-bot: I haz the power
Retried try job too often on blink_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=blink_presubmit&number=16877
6 years, 9 months ago (2014-02-27 10:52:46 UTC) #6
haraken
jochen@: rubberstamp to web/ please?
6 years, 9 months ago (2014-02-27 10:54:09 UTC) #7
tkent
https://codereview.chromium.org/182763002/diff/20001/Source/bindings/scripts/code_generator_v8.pm File Source/bindings/scripts/code_generator_v8.pm (right): https://codereview.chromium.org/182763002/diff/20001/Source/bindings/scripts/code_generator_v8.pm#newcode1 Source/bindings/scripts/code_generator_v8.pm:1: # Copyright (C) 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> code_generator_v8.pm ...
6 years, 9 months ago (2014-02-28 00:59:47 UTC) #8
haraken
https://codereview.chromium.org/182763002/diff/20001/Source/web/tests/CustomEventTest.cpp File Source/web/tests/CustomEventTest.cpp (right): https://codereview.chromium.org/182763002/diff/20001/Source/web/tests/CustomEventTest.cpp#newcode108 Source/web/tests/CustomEventTest.cpp:108: // FIXME: oilpan: Remove PassRefPtr<Event>() once we support PassRefPtrWillBeRawPtr ...
6 years, 9 months ago (2014-02-28 01:10:02 UTC) #9
tkent
https://codereview.chromium.org/182763002/diff/20001/Source/web/tests/CustomEventTest.cpp File Source/web/tests/CustomEventTest.cpp (right): https://codereview.chromium.org/182763002/diff/20001/Source/web/tests/CustomEventTest.cpp#newcode108 Source/web/tests/CustomEventTest.cpp:108: // FIXME: oilpan: Remove PassRefPtr<Event>() once we support PassRefPtrWillBeRawPtr ...
6 years, 9 months ago (2014-02-28 01:13:35 UTC) #10
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 9 months ago (2014-02-28 01:14:02 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/182763002/20001
6 years, 9 months ago (2014-02-28 01:15:54 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-02-28 01:16:20 UTC) #13
commit-bot: I haz the power
Failed to apply patch for Source/bindings/scripts/code_generator_v8.pm: While running patch -p1 --forward --force --no-backup-if-mismatch; can't find ...
6 years, 9 months ago (2014-02-28 01:16:21 UTC) #14
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 9 months ago (2014-02-28 04:13:55 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/182763002/40001
6 years, 9 months ago (2014-02-28 04:14:14 UTC) #16
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 9 months ago (2014-02-28 04:32:42 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/182763002/60001
6 years, 9 months ago (2014-02-28 04:32:55 UTC) #18
commit-bot: I haz the power
6 years, 9 months ago (2014-02-28 08:30:32 UTC) #19
Message was sent while issue was closed.
Change committed as 168100

Powered by Google App Engine
This is Rietveld 408576698