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

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

Issue 1318293002: Only expose Notification.requestPermission() on the Window global. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: handle detached contexts Created 5 years, 3 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
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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 282
283 v8::Local<v8::Signature> defaultSignature; 283 v8::Local<v8::Signature> defaultSignature;
284 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func tionTemplate, "TestInterface3", v8::Local<v8::FunctionTemplate>(), V8TestInterfa ce3::internalFieldCount, 284 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func tionTemplate, "TestInterface3", v8::Local<v8::FunctionTemplate>(), V8TestInterfa ce3::internalFieldCount,
285 0, 0, 285 0, 0,
286 0, 0, 286 0, 0,
287 V8TestInterface3Methods, WTF_ARRAY_LENGTH(V8TestInterface3Methods)); 287 V8TestInterface3Methods, WTF_ARRAY_LENGTH(V8TestInterface3Methods));
288 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT emplate(); 288 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT emplate();
289 ALLOW_UNUSED_LOCAL(instanceTemplate); 289 ALLOW_UNUSED_LOCAL(instanceTemplate);
290 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp eTemplate(); 290 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp eTemplate();
291 ALLOW_UNUSED_LOCAL(prototypeTemplate); 291 ALLOW_UNUSED_LOCAL(prototypeTemplate);
292 ExecutionContext* context = currentExecutionContext(isolate);
293 ALLOW_UNUSED_LOCAL(context);
292 { 294 {
293 v8::IndexedPropertyHandlerConfiguration config(TestInterface3V8Internal: :indexedPropertyGetterCallback, TestInterface3V8Internal::indexedPropertySetterC allback, 0, TestInterface3V8Internal::indexedPropertyDeleterCallback, indexedPro pertyEnumerator<TestInterface3>); 295 v8::IndexedPropertyHandlerConfiguration config(TestInterface3V8Internal: :indexedPropertyGetterCallback, TestInterface3V8Internal::indexedPropertySetterC allback, 0, TestInterface3V8Internal::indexedPropertyDeleterCallback, indexedPro pertyEnumerator<TestInterface3>);
294 functionTemplate->InstanceTemplate()->SetHandler(config); 296 functionTemplate->InstanceTemplate()->SetHandler(config);
295 } 297 }
296 { 298 {
297 int flags = static_cast<int>(v8::PropertyHandlerFlags::kOnlyInterceptStr ings); 299 int flags = static_cast<int>(v8::PropertyHandlerFlags::kOnlyInterceptStr ings);
298 flags |= static_cast<int>(v8::PropertyHandlerFlags::kNonMasking); 300 flags |= static_cast<int>(v8::PropertyHandlerFlags::kNonMasking);
299 v8::NamedPropertyHandlerConfiguration config(TestInterface3V8Internal::n amedPropertyGetterCallback, TestInterface3V8Internal::namedPropertySetterCallbac k, TestInterface3V8Internal::namedPropertyQueryCallback, TestInterface3V8Interna l::namedPropertyDeleterCallback, TestInterface3V8Internal::namedPropertyEnumerat orCallback, v8::Handle<v8::Value>(), static_cast<v8::PropertyHandlerFlags>(flags )); 301 v8::NamedPropertyHandlerConfiguration config(TestInterface3V8Internal::n amedPropertyGetterCallback, TestInterface3V8Internal::namedPropertySetterCallbac k, TestInterface3V8Internal::namedPropertyQueryCallback, TestInterface3V8Interna l::namedPropertyDeleterCallback, TestInterface3V8Internal::namedPropertyEnumerat orCallback, v8::Handle<v8::Value>(), static_cast<v8::PropertyHandlerFlags>(flags ));
300 functionTemplate->InstanceTemplate()->SetHandler(config); 302 functionTemplate->InstanceTemplate()->SetHandler(config);
301 } 303 }
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 { 364 {
363 scriptWrappable->toImpl<TestInterface3>()->ref(); 365 scriptWrappable->toImpl<TestInterface3>()->ref();
364 } 366 }
365 367
366 void V8TestInterface3::derefObject(ScriptWrappable* scriptWrappable) 368 void V8TestInterface3::derefObject(ScriptWrappable* scriptWrappable)
367 { 369 {
368 scriptWrappable->toImpl<TestInterface3>()->deref(); 370 scriptWrappable->toImpl<TestInterface3>()->deref();
369 } 371 }
370 372
371 } // namespace blink 373 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698