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

Side by Side Diff: third_party/WebKit/Source/bindings/core/v8/V8DOMConfiguration.h

Issue 1685543002: Supports "class string" based on @@toStringTag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated test expectations. Created 4 years, 9 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 static void installMethod(v8::Isolate*, v8::Local<v8::Object> instance, v8:: Local<v8::Object> prototype, v8::Local<v8::Function> interface, v8::Local<v8::Si gnature>, const MethodConfiguration&); 190 static void installMethod(v8::Isolate*, v8::Local<v8::Object> instance, v8:: Local<v8::Object> prototype, v8::Local<v8::Function> interface, v8::Local<v8::Si gnature>, const MethodConfiguration&);
191 191
192 static void installMethod(v8::Isolate*, v8::Local<v8::ObjectTemplate>, v8::L ocal<v8::Signature>, const SymbolKeyedMethodConfiguration&); 192 static void installMethod(v8::Isolate*, v8::Local<v8::ObjectTemplate>, v8::L ocal<v8::Signature>, const SymbolKeyedMethodConfiguration&);
193 193
194 static v8::Local<v8::Signature> installDOMClassTemplate(v8::Isolate*, v8::Lo cal<v8::FunctionTemplate>, const char* interfaceName, v8::Local<v8::FunctionTemp late> parentClass, size_t fieldCount, 194 static v8::Local<v8::Signature> installDOMClassTemplate(v8::Isolate*, v8::Lo cal<v8::FunctionTemplate>, const char* interfaceName, v8::Local<v8::FunctionTemp late> parentClass, size_t fieldCount,
195 const AttributeConfiguration*, size_t attributeCount, 195 const AttributeConfiguration*, size_t attributeCount,
196 const AccessorConfiguration*, size_t accessorCount, 196 const AccessorConfiguration*, size_t accessorCount,
197 const MethodConfiguration*, size_t methodCount); 197 const MethodConfiguration*, size_t methodCount);
198 198
199 static v8::Local<v8::FunctionTemplate> domClassTemplate(v8::Isolate*, Wrappe rTypeInfo*, void (*)(v8::Local<v8::FunctionTemplate>, v8::Isolate*)); 199 static v8::Local<v8::FunctionTemplate> domClassTemplate(v8::Isolate*, Wrappe rTypeInfo*, void (*)(v8::Local<v8::FunctionTemplate>, v8::Isolate*));
200
201 // Sets the class string of platform objects, interface prototype objects, e tc.
202 // See also http://heycam.github.io/webidl/#dfn-class-string
203 static void setClassString(v8::Isolate*, v8::Local<v8::ObjectTemplate>, cons t char* classString);
200 }; 204 };
201 205
202 } // namespace blink 206 } // namespace blink
203 207
204 #endif // V8DOMConfiguration_h 208 #endif // V8DOMConfiguration_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698