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

Issue 17225003: Support named query generation (Closed)

Created:
7 years, 6 months ago by kojih
Modified:
7 years, 6 months ago
Reviewers:
haraken
CC:
blink-reviews, Nils Barth (inactive), jsbell+bindings_chromium.org, eae+blinkwatch, abarth-chromium, marja+watch_chromium.org, dglazkov+blink, adamk+blink_chromium.org, haraken, Nate Chapin, do-not-use
Base URL:
https://chromium.googlesource.com/chromium/blink@master
Visibility:
Public.

Description

Support named query generation This patch support generation of named query for IDLs with named enumerator. Using the feature, following custom implementation are removed. - V8DOMStringMap::namedPropertyQuery - V8Storage::namedPropertyQuery R=haraken@chromium.org BUG=229740 TEST=TestEventTarget.idl TestInterface.idl TestObject.idl Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=152534

Patch Set 1 #

Total comments: 4

Patch Set 2 : remove int returnValue and hard code v8::None #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -110 lines) Patch
M Source/bindings/bindings.gypi View 2 chunks +0 lines, -2 lines 0 comments Download
M Source/bindings/scripts/CodeGeneratorV8.pm View 1 3 chunks +30 lines, -4 lines 0 comments Download
M Source/bindings/tests/results/V8TestEventTarget.cpp View 1 chunk +16 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterface.cpp View 1 chunk +16 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestObject.cpp View 1 chunk +16 lines, -0 lines 0 comments Download
D Source/bindings/v8/custom/V8DOMStringMapCustom.cpp View 1 chunk +0 lines, -47 lines 0 comments Download
D Source/bindings/v8/custom/V8StorageCustom.cpp View 1 chunk +0 lines, -57 lines 0 comments Download
M Source/core/dom/DOMStringMap.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/dom/DOMStringMap.cpp View 1 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/storage/Storage.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/storage/Storage.cpp View 1 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
kojih
r? Diff of generated code: +void V8DOMStringMap::namedPropertyQuery(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Integer>& info) +{ + DOMStringMap* collection ...
7 years, 6 months ago (2013-06-17 07:27:34 UTC) #1
haraken
LGTM https://codereview.chromium.org/17225003/diff/1/Source/bindings/scripts/CodeGeneratorV8.pm File Source/bindings/scripts/CodeGeneratorV8.pm (right): https://codereview.chromium.org/17225003/diff/1/Source/bindings/scripts/CodeGeneratorV8.pm#newcode3667 Source/bindings/scripts/CodeGeneratorV8.pm:3667: v8SetReturnValueInt(info, 0); 0 => returnValue. However, I might ...
7 years, 6 months ago (2013-06-17 07:41:02 UTC) #2
kojih
https://codereview.chromium.org/17225003/diff/1/Source/bindings/scripts/CodeGeneratorV8.pm File Source/bindings/scripts/CodeGeneratorV8.pm (right): https://codereview.chromium.org/17225003/diff/1/Source/bindings/scripts/CodeGeneratorV8.pm#newcode3667 Source/bindings/scripts/CodeGeneratorV8.pm:3667: v8SetReturnValueInt(info, 0); OK. https://codereview.chromium.org/17225003/diff/1/Source/core/storage/Storage.cpp File Source/core/storage/Storage.cpp (right): https://codereview.chromium.org/17225003/diff/1/Source/core/storage/Storage.cpp#newcode120 Source/core/storage/Storage.cpp:120: ...
7 years, 6 months ago (2013-06-17 07:52:57 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kojih@chromium.org/17225003/2002
7 years, 6 months ago (2013-06-17 08:34:21 UTC) #4
commit-bot: I haz the power
7 years, 6 months ago (2013-06-17 09:48:05 UTC) #5
Message was sent while issue was closed.
Change committed as 152534

Powered by Google App Engine
This is Rietveld 408576698