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

Issue 2653883006: [bindings] Move callback functions from V8FooInternal namespace to V8Foo class (Closed)

Created:
3 years, 11 months ago by peria
Modified:
3 years, 11 months ago
Reviewers:
haraken, bashi, Yuki
CC:
chromium-reviews, blink-reviews, blink-reviews-bindings_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert exposed callback functions from V8FooInternal namespace to V8Foo class's static methods. Those functions are exposed and will be used from other .cpp files, so it doesn't make sense to keep them in V8FooInternal namespace. No behavior change. BUG=617892 Review-Url: https://codereview.chromium.org/2653883006 Cr-Commit-Position: refs/heads/master@{#446301} Committed: https://chromium.googlesource.com/chromium/src/+/32a27d38b42b99c1489221612aaa82142980b9d2

Patch Set 1 #

Total comments: 6

Patch Set 2 : Change export #

Patch Set 3 : Rebase #

Patch Set 4 : Revert expose change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6495 lines, -5226 lines) Patch
M third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl View 1 2 3 5 chunks +16 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/bindings/templates/constants.cpp.tmpl View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl View 1 2 3 12 chunks +36 lines, -33 lines 0 comments Download
M third_party/WebKit/Source/bindings/templates/interface.h.tmpl View 1 2 3 1 chunk +98 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/templates/interface_base.cpp.tmpl View 1 2 3 11 chunks +101 lines, -81 lines 0 comments Download
M third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl View 1 2 3 5 chunks +9 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/bindings/templates/partial_interface.h.tmpl View 1 2 3 1 chunk +52 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8ArrayBuffer.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8ArrayBufferView.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8DataView.h View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8SVGTestInterface.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8SVGTestInterface.cpp View 1 2 3 3 chunks +8 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestCallbackFunctions.h View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestCallbackFunctions.cpp View 1 2 3 11 chunks +66 lines, -66 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestConstants.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestConstants.cpp View 1 2 3 2 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestException.h View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestException.cpp View 1 2 3 3 chunks +15 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexed.h View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexed.cpp View 1 2 3 8 chunks +25 lines, -25 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexedGlobal.h View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexedGlobal.cpp View 1 2 3 9 chunks +25 lines, -25 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexedPrimaryGlobal.h View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexedPrimaryGlobal.cpp View 1 2 3 9 chunks +25 lines, -25 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.h View 1 2 3 1 chunk +157 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.cpp View 1 2 3 117 chunks +818 lines, -818 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface2.h View 1 2 3 1 chunk +27 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface2.cpp View 1 2 3 23 chunks +124 lines, -124 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface3.h View 1 2 3 1 chunk +21 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface3.cpp View 1 2 3 12 chunks +49 lines, -49 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceCheckSecurity.h View 1 2 3 1 chunk +28 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceCheckSecurity.cpp View 1 2 3 25 chunks +105 lines, -107 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor2.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor3.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor4.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceCustomConstructor.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceDocument.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceDocument.cpp View 1 2 3 2 chunks +8 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceEmpty.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceEventInitConstructor.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceEventInitConstructor.cpp View 1 2 3 3 chunks +10 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceEventTarget.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.h View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.cpp View 1 2 3 14 chunks +61 lines, -61 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor2.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceNode.h View 1 2 3 1 chunk +22 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceNode.cpp View 1 2 3 15 chunks +95 lines, -95 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceOriginTrialEnabled.h View 1 2 3 1 chunk +14 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceOriginTrialEnabled.cpp View 1 2 3 9 chunks +52 lines, -52 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceSecureContext.h View 1 2 3 1 chunk +22 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceSecureContext.cpp View 1 2 3 16 chunks +95 lines, -95 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestNode.h View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestNode.cpp View 1 2 3 9 chunks +44 lines, -44 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.h View 1 2 3 1 chunk +551 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp View 1 2 3 467 chunks +3031 lines, -3031 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestSpecialOperations.h View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestSpecialOperations.cpp View 1 2 3 6 chunks +36 lines, -36 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestSpecialOperationsNotEnumerable.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestSpecialOperationsNotEnumerable.cpp View 1 2 3 3 chunks +13 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestTypedefs.h View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestTypedefs.cpp View 1 2 3 14 chunks +63 lines, -63 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8Uint8ClampedArray.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface2Partial.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface2Partial.cpp View 1 2 3 3 chunks +9 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.h View 1 2 3 1 chunk +53 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.cpp View 1 2 3 40 chunks +258 lines, -258 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterfacePartial.h View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterfacePartial.cpp View 1 2 3 6 chunks +41 lines, -41 lines 0 comments Download

Messages

Total messages: 32 (19 generated)
peria
PTL
3 years, 11 months ago (2017-01-26 07:47:55 UTC) #7
peria
I forgot to note, this CL also removs a template block "event_constructor" in interface_base.cpp.tmpl, which ...
3 years, 11 months ago (2017-01-26 08:00:11 UTC) #9
Yuki
LGTM. https://codereview.chromium.org/2653883006/diff/1/third_party/WebKit/Source/bindings/templates/interface.h.tmpl File third_party/WebKit/Source/bindings/templates/interface.h.tmpl (right): https://codereview.chromium.org/2653883006/diff/1/third_party/WebKit/Source/bindings/templates/interface.h.tmpl#newcode28 third_party/WebKit/Source/bindings/templates/interface.h.tmpl:28: class {{v8_class}} { If no one has an ...
3 years, 11 months ago (2017-01-26 08:01:35 UTC) #10
bashi
lgtm https://codereview.chromium.org/2653883006/diff/1/third_party/WebKit/Source/bindings/templates/interface.h.tmpl File third_party/WebKit/Source/bindings/templates/interface.h.tmpl (right): https://codereview.chromium.org/2653883006/diff/1/third_party/WebKit/Source/bindings/templates/interface.h.tmpl#newcode28 third_party/WebKit/Source/bindings/templates/interface.h.tmpl:28: class {{v8_class}} { On 2017/01/26 08:01:35, Yuki wrote: ...
3 years, 11 months ago (2017-01-26 08:22:10 UTC) #13
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/2653883006/10001
3 years, 11 months ago (2017-01-26 08:32:10 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/142717) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 11 months ago (2017-01-26 08:34:31 UTC) #18
peria
https://codereview.chromium.org/2653883006/diff/1/third_party/WebKit/Source/bindings/templates/interface.h.tmpl File third_party/WebKit/Source/bindings/templates/interface.h.tmpl (right): https://codereview.chromium.org/2653883006/diff/1/third_party/WebKit/Source/bindings/templates/interface.h.tmpl#newcode28 third_party/WebKit/Source/bindings/templates/interface.h.tmpl:28: class {{v8_class}} { On 2017/01/26 08:01:35, Yuki wrote: > ...
3 years, 11 months ago (2017-01-26 08:44:52 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/2653883006/20001
3 years, 11 months ago (2017-01-26 08:45:13 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/201202)
3 years, 11 months ago (2017-01-26 09:18:48 UTC) #24
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/2653883006/30001
3 years, 11 months ago (2017-01-26 09:33:52 UTC) #27
peria
https://codereview.chromium.org/2653883006/diff/1/third_party/WebKit/Source/bindings/templates/interface.h.tmpl File third_party/WebKit/Source/bindings/templates/interface.h.tmpl (right): https://codereview.chromium.org/2653883006/diff/1/third_party/WebKit/Source/bindings/templates/interface.h.tmpl#newcode28 third_party/WebKit/Source/bindings/templates/interface.h.tmpl:28: class {{v8_class}} { On 2017/01/26 08:44:52, peria wrote: > ...
3 years, 11 months ago (2017-01-26 09:35:24 UTC) #28
haraken
LGTM
3 years, 11 months ago (2017-01-26 09:35:41 UTC) #29
commit-bot: I haz the power
3 years, 11 months ago (2017-01-26 10:57:08 UTC) #32
Message was sent while issue was closed.
Committed patchset #4 (id:30001) as
https://chromium.googlesource.com/chromium/src/+/32a27d38b42b99c1489221612aaa...

Powered by Google App Engine
This is Rietveld 408576698