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

Side by Side Diff: Source/bindings/tests/results/core/V8TestInterface3.cpp

Issue 1061243002: bindings: Adds check for attributes on prototype chains in CSSStyleDeclaration. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added [OverrideBuiltins] to HTML{Applet,Embed}Element in addition to HTMLObejctElement. Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/bindings/templates/interface_base.cpp ('k') | Source/core/html/HTMLAppletElement.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
6 6
7 #include "config.h" 7 #include "config.h"
8 #include "V8TestInterface3.h" 8 #include "V8TestInterface3.h"
9 9
10 #include "bindings/core/v8/ExceptionState.h" 10 #include "bindings/core/v8/ExceptionState.h"
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT emplate(); 279 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT emplate();
280 ALLOW_UNUSED_LOCAL(instanceTemplate); 280 ALLOW_UNUSED_LOCAL(instanceTemplate);
281 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp eTemplate(); 281 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp eTemplate();
282 ALLOW_UNUSED_LOCAL(prototypeTemplate); 282 ALLOW_UNUSED_LOCAL(prototypeTemplate);
283 { 283 {
284 v8::IndexedPropertyHandlerConfiguration config(TestInterface3V8Internal: :indexedPropertyGetterCallback, TestInterface3V8Internal::indexedPropertySetterC allback, 0, TestInterface3V8Internal::indexedPropertyDeleterCallback, indexedPro pertyEnumerator<TestInterface3>); 284 v8::IndexedPropertyHandlerConfiguration config(TestInterface3V8Internal: :indexedPropertyGetterCallback, TestInterface3V8Internal::indexedPropertySetterC allback, 0, TestInterface3V8Internal::indexedPropertyDeleterCallback, indexedPro pertyEnumerator<TestInterface3>);
285 functionTemplate->InstanceTemplate()->SetHandler(config); 285 functionTemplate->InstanceTemplate()->SetHandler(config);
286 } 286 }
287 { 287 {
288 v8::NamedPropertyHandlerConfiguration config(TestInterface3V8Internal::n amedPropertyGetterCallback, TestInterface3V8Internal::namedPropertySetterCallbac k, TestInterface3V8Internal::namedPropertyQueryCallback, TestInterface3V8Interna l::namedPropertyDeleterCallback, TestInterface3V8Internal::namedPropertyEnumerat orCallback); 288 v8::NamedPropertyHandlerConfiguration config(TestInterface3V8Internal::n amedPropertyGetterCallback, TestInterface3V8Internal::namedPropertySetterCallbac k, TestInterface3V8Internal::namedPropertyQueryCallback, TestInterface3V8Interna l::namedPropertyDeleterCallback, TestInterface3V8Internal::namedPropertyEnumerat orCallback);
289 config.flags = static_cast<v8::PropertyHandlerFlags>(static_cast<int>(co nfig.flags) | static_cast<int>(v8::PropertyHandlerFlags::kOnlyInterceptStrings)) ;
290 config.flags = static_cast<v8::PropertyHandlerFlags>(static_cast<int>(co nfig.flags) | static_cast<int>(v8::PropertyHandlerFlags::kNonMasking));
289 functionTemplate->InstanceTemplate()->SetHandler(config); 291 functionTemplate->InstanceTemplate()->SetHandler(config);
290 } 292 }
291 if (RuntimeEnabledFeatures::featureNameEnabled()) { 293 if (RuntimeEnabledFeatures::featureNameEnabled()) {
292 static const V8DOMConfiguration::SymbolKeyedMethodConfiguration symbolKe yedIteratorConfiguration = { v8::Symbol::GetIterator, TestInterface3V8Internal:: iteratorMethodCallback, 0, V8DOMConfiguration::ExposedToAllScripts }; 294 static const V8DOMConfiguration::SymbolKeyedMethodConfiguration symbolKe yedIteratorConfiguration = { v8::Symbol::GetIterator, TestInterface3V8Internal:: iteratorMethodCallback, 0, V8DOMConfiguration::ExposedToAllScripts };
293 V8DOMConfiguration::installMethod(isolate, prototypeTemplate, defaultSig nature, v8::DontDelete, symbolKeyedIteratorConfiguration); 295 V8DOMConfiguration::installMethod(isolate, prototypeTemplate, defaultSig nature, v8::DontDelete, symbolKeyedIteratorConfiguration);
294 } 296 }
295 if (RuntimeEnabledFeatures::featureNameEnabled()) { 297 if (RuntimeEnabledFeatures::featureNameEnabled()) {
296 const V8DOMConfiguration::MethodConfiguration keysMethodConfiguration = { 298 const V8DOMConfiguration::MethodConfiguration keysMethodConfiguration = {
297 "keys", TestInterface3V8Internal::keysMethodCallback, 0, 0, V8DOMCon figuration::ExposedToAllScripts, 299 "keys", TestInterface3V8Internal::keysMethodCallback, 0, 0, V8DOMCon figuration::ExposedToAllScripts,
298 }; 300 };
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 { 353 {
352 scriptWrappable->toImpl<TestInterface3>()->ref(); 354 scriptWrappable->toImpl<TestInterface3>()->ref();
353 } 355 }
354 356
355 void V8TestInterface3::derefObject(ScriptWrappable* scriptWrappable) 357 void V8TestInterface3::derefObject(ScriptWrappable* scriptWrappable)
356 { 358 {
357 scriptWrappable->toImpl<TestInterface3>()->deref(); 359 scriptWrappable->toImpl<TestInterface3>()->deref();
358 } 360 }
359 361
360 } // namespace blink 362 } // namespace blink
OLDNEW
« no previous file with comments | « Source/bindings/templates/interface_base.cpp ('k') | Source/core/html/HTMLAppletElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698