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

Issue 17031006: Rename DOMWindow interface to Window (Closed)

Created:
7 years, 6 months ago by do-not-use
Modified:
7 years, 6 months ago
CC:
blink-reviews, Nils Barth (inactive), jsbell+bindings_chromium.org, feature-media-reviews_chromium.org, alecflett, eae+blinkwatch, abarth-chromium, kinuko, marja+watch_chromium.org, dglazkov+blink, dgrogan, adamk+blink_chromium.org, Nate Chapin, jsbell, lgombos
Visibility:
Public.

Description

Rename DOMWindow interface to Window Stop using deprecated [InterfaceName] for the Window IDL interface. Instead rename the file to Window.idl and use [ImplementedAs=DOMWindow]. Also rename Window partial interfaces accordingly. R=haraken@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=152452 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=152525

Patch Set 1 #

Patch Set 2 : Fix clean build #

Patch Set 3 : Rebase on master #

Patch Set 4 : Rebase on master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+318 lines, -2114 lines) Patch
M Source/bindings/bindings.gypi View 4 chunks +3 lines, -3 lines 0 comments Download
M Source/bindings/derived_sources.gyp View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/bindings/scripts/CodeGeneratorV8.pm View 1 2 3 25 chunks +60 lines, -47 lines 0 comments Download
M Source/bindings/scripts/generate-bindings.pl View 1 2 3 5 chunks +19 lines, -11 lines 0 comments Download
M Source/bindings/scripts/preprocess_idls.py View 2 chunks +5 lines, -5 lines 0 comments Download
M Source/bindings/v8/DOMWrapperWorld.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/bindings/v8/Dictionary.cpp View 4 chunks +4 lines, -4 lines 0 comments Download
M Source/bindings/v8/PageScriptDebugServer.cpp View 3 chunks +4 lines, -4 lines 0 comments Download
M Source/bindings/v8/ScriptController.h View 4 chunks +5 lines, -5 lines 0 comments Download
M Source/bindings/v8/ScriptController.cpp View 8 chunks +9 lines, -9 lines 0 comments Download
M Source/bindings/v8/ScriptEventListener.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/v8/ScriptProfiler.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/bindings/v8/ScriptState.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/v8/V8Binding.cpp View 2 chunks +10 lines, -10 lines 0 comments Download
D Source/bindings/v8/V8DOMWindowShell.h View 1 chunk +0 lines, -114 lines 0 comments Download
D Source/bindings/v8/V8DOMWindowShell.cpp View 1 chunk +0 lines, -512 lines 0 comments Download
M Source/bindings/v8/V8DOMWrapper.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/v8/V8EventListenerList.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/v8/V8Initializer.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
A + Source/bindings/v8/V8WindowShell.h View 7 chunks +11 lines, -11 lines 0 comments Download
A + Source/bindings/v8/V8WindowShell.cpp View 18 chunks +34 lines, -34 lines 0 comments Download
D Source/bindings/v8/custom/V8DOMWindowCustom.cpp View 1 chunk +0 lines, -601 lines 0 comments Download
M Source/bindings/v8/custom/V8DocumentCustom.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/v8/custom/V8HTMLDocumentCustom.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/bindings/v8/custom/V8HistoryCustom.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/v8/custom/V8InjectedScriptManager.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M Source/bindings/v8/custom/V8MessageEventCustom.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/bindings/v8/custom/V8SVGDocumentCustom.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/v8/custom/V8SVGPathSegCustom.cpp View 2 chunks +1 line, -1 line 0 comments Download
A + Source/bindings/v8/custom/V8WindowCustom.cpp View 19 chunks +45 lines, -48 lines 0 comments Download
M Source/core/core.gypi View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/dom/CompositionEvent.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/Document.idl View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/dom/EventTargetFactory.in View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/KeyboardEvent.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/MessageEvent.idl View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/dom/MouseEvent.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/TextEvent.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/TouchEvent.idl View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/UIEvent.idl View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/dom/WheelEvent.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLFrameElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLFrameSetElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLIFrameElement.idl View 1 chunk +1 line, -1 line 0 comments Download
D Source/core/page/DOMWindow.idl View 1 chunk +0 lines, -320 lines 0 comments Download
D Source/core/page/DOMWindowPagePopup.idl View 1 chunk +0 lines, -35 lines 0 comments Download
A + Source/core/page/Window.idl View 4 chunks +11 lines, -11 lines 0 comments Download
A + Source/core/page/WindowPagePopup.idl View 1 chunk +3 lines, -2 lines 0 comments Download
M Source/core/scripts/make_dom_exceptions.py View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/scripts/make_event_factory.py View 1 1 chunk +3 lines, -2 lines 0 comments Download
M Source/core/scripts/name_macros.py View 1 2 chunks +9 lines, -3 lines 0 comments Download
M Source/core/testing/Internals.idl View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
D Source/modules/crypto/DOMWindowCrypto.idl View 1 chunk +0 lines, -29 lines 0 comments Download
A + Source/modules/crypto/WindowCrypto.idl View 1 chunk +3 lines, -1 line 0 comments Download
D Source/modules/filesystem/DOMWindowFileSystem.idl View 1 chunk +0 lines, -36 lines 0 comments Download
A + Source/modules/filesystem/WindowFileSystem.idl View 1 chunk +3 lines, -1 line 0 comments Download
D Source/modules/indexeddb/DOMWindowIndexedDatabase.idl View 1 chunk +0 lines, -31 lines 0 comments Download
A + Source/modules/indexeddb/WindowIndexedDatabase.idl View 1 chunk +3 lines, -1 line 0 comments Download
D Source/modules/mediasource/DOMWindowMediaSource.idl View 1 chunk +0 lines, -34 lines 0 comments Download
A + Source/modules/mediasource/WindowMediaSource.idl View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/modules/modules.gypi View 1 2 3 9 chunks +8 lines, -8 lines 0 comments Download
D Source/modules/notifications/DOMWindowNotifications.idl View 1 chunk +0 lines, -34 lines 0 comments Download
A + Source/modules/notifications/WindowNotifications.idl View 1 chunk +3 lines, -2 lines 0 comments Download
D Source/modules/quota/DOMWindowQuota.idl View 1 chunk +0 lines, -29 lines 0 comments Download
A + Source/modules/quota/WindowQuota.idl View 1 chunk +3 lines, -1 line 0 comments Download
D Source/modules/speech/DOMWindowSpeechSynthesis.idl View 1 chunk +0 lines, -30 lines 0 comments Download
A + Source/modules/speech/WindowSpeechSynthesis.idl View 1 chunk +3 lines, -2 lines 0 comments Download
D Source/modules/webdatabase/DOMWindowWebDatabase.idl View 1 chunk +0 lines, -30 lines 0 comments Download
A + Source/modules/webdatabase/WindowWebDatabase.idl View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
do-not-use
7 years, 6 months ago (2013-06-14 13:22:45 UTC) #1
haraken
LGTM abarth: Do you have any concern about this change?
7 years, 6 months ago (2013-06-14 13:53:24 UTC) #2
abarth-chromium
No, this is great.
7 years, 6 months ago (2013-06-14 14:00:13 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@sisa.samsung.com/17031006/1
7 years, 6 months ago (2013-06-14 14:12:27 UTC) #4
commit-bot: I haz the power
Retried try job too often on linux_layout_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_layout_rel&number=12791
7 years, 6 months ago (2013-06-14 15:00:32 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@sisa.samsung.com/17031006/1
7 years, 6 months ago (2013-06-14 15:09:34 UTC) #6
do-not-use
Committed patchset #1 manually as r152452 (presubmit successful).
7 years, 6 months ago (2013-06-14 15:13:46 UTC) #7
do-not-use
Reopening as I reverted the patch in r152456. It broke clean builds because make_event_factory does ...
7 years, 6 months ago (2013-06-14 16:03:48 UTC) #8
do-not-use
I fixed the clean build, could you please take another look?
7 years, 6 months ago (2013-06-16 12:36:52 UTC) #9
haraken
LGTM
7 years, 6 months ago (2013-06-16 23:39:54 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@sisa.samsung.com/17031006/18001
7 years, 6 months ago (2013-06-17 05:55:40 UTC) #11
commit-bot: I haz the power
Failed to apply patch for Source/bindings/scripts/generate-bindings.pl: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 6 months ago (2013-06-17 05:55:50 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@sisa.samsung.com/17031006/26001
7 years, 6 months ago (2013-06-17 06:07:54 UTC) #13
do-not-use
Committed patchset #4 manually as r152525 (presubmit successful).
7 years, 6 months ago (2013-06-17 06:25:04 UTC) #14
eroman
Would it make sense to rename the .cpp files as well? For instance in WindowCrypto.idl ...
7 years, 6 months ago (2013-06-18 21:15:51 UTC) #15
haraken
7 years, 6 months ago (2013-06-18 23:55:16 UTC) #16
Message was sent while issue was closed.
On 2013/06/18 21:15:51, eroman wrote:
> Would it make sense to rename the .cpp files as well?
> 
> For instance in WindowCrypto.idl  delete "ImplementedAs=DOMWindowCrypto" and
> rename the class and files appropriately?

If we want to do it, we should also rename DOMWindow to Window as well. That
sounds cool but might cause some naming conflict. (I don't know what is blocking
us from renaming DOMWindow to Window.)

Powered by Google App Engine
This is Rietveld 408576698