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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceSecureContext.h

Issue 2207423002: Implement '[SecureContext]' IDL attribute for interfaces, methods and attributes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback. Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceSecureContext.h
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceCheckSecurity.h b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceSecureContext.h
similarity index 68%
copy from third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceCheckSecurity.h
copy to third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceSecureContext.h
index 836eaee268aba7483b7fd58e13e1cbbe53ff24a3..3ef0bfa06d5d1bc8d35b7606deeb2b955f1028d2 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceCheckSecurity.h
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceSecureContext.h
@@ -4,50 +4,50 @@
// This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
-#ifndef V8TestInterfaceCheckSecurity_h
-#define V8TestInterfaceCheckSecurity_h
+#ifndef V8TestInterfaceSecureContext_h
+#define V8TestInterfaceSecureContext_h
#include "bindings/core/v8/ScriptWrappable.h"
#include "bindings/core/v8/ToV8.h"
#include "bindings/core/v8/V8Binding.h"
#include "bindings/core/v8/V8DOMWrapper.h"
#include "bindings/core/v8/WrapperTypeInfo.h"
-#include "bindings/tests/idls/core/TestInterfaceCheckSecurity.h"
+#include "bindings/tests/idls/core/TestInterfaceSecureContext.h"
#include "core/CoreExport.h"
#include "platform/heap/Handle.h"
namespace blink {
-class V8TestInterfaceCheckSecurity {
- STATIC_ONLY(V8TestInterfaceCheckSecurity);
+class V8TestInterfaceSecureContext {
+ STATIC_ONLY(V8TestInterfaceSecureContext);
public:
CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*);
static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Value>, v8::Isolate*);
CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, const DOMWrapperWorld&);
- static TestInterfaceCheckSecurity* toImpl(v8::Local<v8::Object> object)
+ static TestInterfaceSecureContext* toImpl(v8::Local<v8::Object> object)
{
- return toScriptWrappable(object)->toImpl<TestInterfaceCheckSecurity>();
+ return toScriptWrappable(object)->toImpl<TestInterfaceSecureContext>();
}
- CORE_EXPORT static TestInterfaceCheckSecurity* toImplWithTypeCheck(v8::Isolate*, v8::Local<v8::Value>);
+ CORE_EXPORT static TestInterfaceSecureContext* toImplWithTypeCheck(v8::Isolate*, v8::Local<v8::Value>);
CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo;
template<typename VisitorDispatcher>
static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappable)
{
- visitor->trace(scriptWrappable->toImpl<TestInterfaceCheckSecurity>());
+ visitor->trace(scriptWrappable->toImpl<TestInterfaceSecureContext>());
}
static void traceWrappers(WrapperVisitor* visitor, ScriptWrappable* scriptWrappable)
{
- visitor->traceWrappers(scriptWrappable->toImpl<TestInterfaceCheckSecurity>());
+ visitor->traceWrappers(scriptWrappable->toImpl<TestInterfaceSecureContext>());
}
static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
- CORE_EXPORT static void preparePrototypeAndInterfaceObject(v8::Local<v8::Context>, const DOMWrapperWorld&, v8::Local<v8::Object> prototypeObject, v8::Local<v8::Function> interfaceObject, v8::Local<v8::FunctionTemplate> interfaceTemplate) { }
+ CORE_EXPORT static void preparePrototypeAndInterfaceObject(v8::Local<v8::Context>, const DOMWrapperWorld&, v8::Local<v8::Object> prototypeObject, v8::Local<v8::Function> interfaceObject, v8::Local<v8::FunctionTemplate> interfaceTemplate);
};
template <>
-struct V8TypeOf<TestInterfaceCheckSecurity> {
- typedef V8TestInterfaceCheckSecurity Type;
+struct V8TypeOf<TestInterfaceSecureContext> {
+ typedef V8TestInterfaceSecureContext Type;
};
} // namespace blink
-#endif // V8TestInterfaceCheckSecurity_h
+#endif // V8TestInterfaceSecureContext_h

Powered by Google App Engine
This is Rietveld 408576698