| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 #include "RuntimeEnabledFeatures.h" | 36 #include "RuntimeEnabledFeatures.h" |
| 37 #include "V8TestInterfaceEmpty.h" | 37 #include "V8TestInterfaceEmpty.h" |
| 38 #include "bindings/v8/Dictionary.h" | 38 #include "bindings/v8/Dictionary.h" |
| 39 #include "bindings/v8/ExceptionState.h" | 39 #include "bindings/v8/ExceptionState.h" |
| 40 #include "bindings/v8/V8DOMConfiguration.h" | 40 #include "bindings/v8/V8DOMConfiguration.h" |
| 41 #include "bindings/v8/V8HiddenValue.h" | 41 #include "bindings/v8/V8HiddenValue.h" |
| 42 #include "bindings/v8/V8ObjectConstructor.h" | 42 #include "bindings/v8/V8ObjectConstructor.h" |
| 43 #include "core/dom/ContextFeatures.h" | 43 #include "core/dom/ContextFeatures.h" |
| 44 #include "core/dom/Document.h" | 44 #include "core/dom/Document.h" |
| 45 #include "core/frame/DOMWindow.h" | 45 #include "core/frame/DOMWindow.h" |
| 46 #include "platform/TraceEvent.h" | |
| 47 #include "wtf/GetPtr.h" | 46 #include "wtf/GetPtr.h" |
| 48 #include "wtf/RefPtr.h" | 47 #include "wtf/RefPtr.h" |
| 48 #include "wtf/TraceEvent.h" |
| 49 | 49 |
| 50 namespace WebCore { | 50 namespace WebCore { |
| 51 | 51 |
| 52 static void initializeScriptWrappableForInterface(TestInterfaceConstructor2* obj
ect) | 52 static void initializeScriptWrappableForInterface(TestInterfaceConstructor2* obj
ect) |
| 53 { | 53 { |
| 54 if (ScriptWrappable::wrapperCanBeStoredInObject(object)) | 54 if (ScriptWrappable::wrapperCanBeStoredInObject(object)) |
| 55 ScriptWrappable::setTypeInfoInObject(object, &V8TestInterfaceConstructor
2::wrapperTypeInfo); | 55 ScriptWrappable::setTypeInfoInObject(object, &V8TestInterfaceConstructor
2::wrapperTypeInfo); |
| 56 else | 56 else |
| 57 ASSERT_NOT_REACHED(); | 57 ASSERT_NOT_REACHED(); |
| 58 } | 58 } |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 fromInternalPointer(object)->deref(); | 216 fromInternalPointer(object)->deref(); |
| 217 } | 217 } |
| 218 | 218 |
| 219 template<> | 219 template<> |
| 220 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor2* impl, v8::Handle<v
8::Object> creationContext, v8::Isolate* isolate) | 220 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor2* impl, v8::Handle<v
8::Object> creationContext, v8::Isolate* isolate) |
| 221 { | 221 { |
| 222 return toV8(impl, creationContext, isolate); | 222 return toV8(impl, creationContext, isolate); |
| 223 } | 223 } |
| 224 | 224 |
| 225 } // namespace WebCore | 225 } // namespace WebCore |
| OLD | NEW |