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

Issue 2755603003: [Refactor] Update template files for callback functions (Closed)

Created:
3 years, 9 months ago by peria
Modified:
3 years, 9 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

Refactoring of template files for callback functions - Fix invalid format (put a space after ::create()) - Fix an indentation - Replace m_scriptState->isolate() with isolate - Move the empty implementation of trace() to .h.tmpl file - Fold static long lines. BUG=660281 Review-Url: https://codereview.chromium.org/2755603003 Cr-Commit-Position: refs/heads/master@{#457048} Committed: https://chromium.googlesource.com/chromium/src/+/2100813cb0c0d18a87434921433fda24d04cda16

Patch Set 1 : . #

Total comments: 2

Patch Set 2 : work for comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+196 lines, -146 lines) Patch
M third_party/WebKit/Source/bindings/templates/callback_function.cpp.tmpl View 3 chunks +25 lines, -19 lines 0 comments Download
M third_party/WebKit/Source/bindings/templates/callback_function.h.tmpl View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/AnyCallbackFunctionOptionalAnyArg.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/AnyCallbackFunctionOptionalAnyArg.cpp View 3 chunks +23 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/LongCallbackFunction.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/LongCallbackFunction.cpp View 3 chunks +25 lines, -19 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/StringSequenceCallbackFunctionLongSequenceArg.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/StringSequenceCallbackFunctionLongSequenceArg.cpp View 3 chunks +25 lines, -19 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunction.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunction.cpp View 3 chunks +20 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunctionInterfaceArg.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunctionInterfaceArg.cpp View 3 chunks +21 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunctionTypedef.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunctionTypedef.cpp View 3 chunks +21 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.cpp View 3 chunks +20 lines, -13 lines 0 comments Download

Messages

Total messages: 19 (12 generated)
peria
PTL. I think all changes are trivial.
3 years, 9 months ago (2017-03-15 07:58:28 UTC) #9
Yuki
LGTM. https://codereview.chromium.org/2755603003/diff/40001/third_party/WebKit/Source/bindings/templates/callback_function.h.tmpl File third_party/WebKit/Source/bindings/templates/callback_function.h.tmpl (right): https://codereview.chromium.org/2755603003/diff/40001/third_party/WebKit/Source/bindings/templates/callback_function.h.tmpl#newcode21 third_party/WebKit/Source/bindings/templates/callback_function.h.tmpl:21: static {{cpp_class}}* create(ScriptState*, v8::Local<v8::Value>); nit: Do not drop ...
3 years, 9 months ago (2017-03-15 08:14:46 UTC) #10
haraken
LGTM
3 years, 9 months ago (2017-03-15 08:38:20 UTC) #11
peria
https://codereview.chromium.org/2755603003/diff/40001/third_party/WebKit/Source/bindings/templates/callback_function.h.tmpl File third_party/WebKit/Source/bindings/templates/callback_function.h.tmpl (right): https://codereview.chromium.org/2755603003/diff/40001/third_party/WebKit/Source/bindings/templates/callback_function.h.tmpl#newcode21 third_party/WebKit/Source/bindings/templates/callback_function.h.tmpl:21: static {{cpp_class}}* create(ScriptState*, v8::Local<v8::Value>); On 2017/03/15 08:14:46, Yuki wrote: ...
3 years, 9 months ago (2017-03-15 08:39:06 UTC) #12
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/2755603003/60001
3 years, 9 months ago (2017-03-15 08:39:20 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:60001) as https://chromium.googlesource.com/chromium/src/+/2100813cb0c0d18a87434921433fda24d04cda16
3 years, 9 months ago (2017-03-15 10:29:36 UTC) #18
bashi
3 years, 9 months ago (2017-03-15 23:30:00 UTC) #19
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698