| 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 29 matching lines...) Expand all Loading... |
| 40 #include "bindings/v8/ScriptValue.h" | 40 #include "bindings/v8/ScriptValue.h" |
| 41 #include "bindings/v8/SerializedScriptValue.h" | 41 #include "bindings/v8/SerializedScriptValue.h" |
| 42 #include "bindings/v8/V8DOMConfiguration.h" | 42 #include "bindings/v8/V8DOMConfiguration.h" |
| 43 #include "bindings/v8/V8HiddenValue.h" | 43 #include "bindings/v8/V8HiddenValue.h" |
| 44 #include "bindings/v8/V8ObjectConstructor.h" | 44 #include "bindings/v8/V8ObjectConstructor.h" |
| 45 #include "bindings/v8/custom/V8Uint8ArrayCustom.h" | 45 #include "bindings/v8/custom/V8Uint8ArrayCustom.h" |
| 46 #include "core/dom/ContextFeatures.h" | 46 #include "core/dom/ContextFeatures.h" |
| 47 #include "core/dom/Document.h" | 47 #include "core/dom/Document.h" |
| 48 #include "core/frame/DOMWindow.h" | 48 #include "core/frame/DOMWindow.h" |
| 49 #include "core/frame/UseCounter.h" | 49 #include "core/frame/UseCounter.h" |
| 50 #include "platform/TraceEvent.h" | |
| 51 #include "wtf/GetPtr.h" | 50 #include "wtf/GetPtr.h" |
| 52 #include "wtf/RefPtr.h" | 51 #include "wtf/RefPtr.h" |
| 52 #include "wtf/TraceEvent.h" |
| 53 | 53 |
| 54 namespace WebCore { | 54 namespace WebCore { |
| 55 | 55 |
| 56 static void initializeScriptWrappableForInterface(TestInterfaceEventConstructor*
object) | 56 static void initializeScriptWrappableForInterface(TestInterfaceEventConstructor*
object) |
| 57 { | 57 { |
| 58 if (ScriptWrappable::wrapperCanBeStoredInObject(object)) | 58 if (ScriptWrappable::wrapperCanBeStoredInObject(object)) |
| 59 ScriptWrappable::setTypeInfoInObject(object, &V8TestInterfaceEventConstr
uctor::wrapperTypeInfo); | 59 ScriptWrappable::setTypeInfoInObject(object, &V8TestInterfaceEventConstr
uctor::wrapperTypeInfo); |
| 60 else | 60 else |
| 61 ASSERT_NOT_REACHED(); | 61 ASSERT_NOT_REACHED(); |
| 62 } | 62 } |
| (...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 442 fromInternalPointer(object)->deref(); | 442 fromInternalPointer(object)->deref(); |
| 443 } | 443 } |
| 444 | 444 |
| 445 template<> | 445 template<> |
| 446 v8::Handle<v8::Value> toV8NoInline(TestInterfaceEventConstructor* impl, v8::Hand
le<v8::Object> creationContext, v8::Isolate* isolate) | 446 v8::Handle<v8::Value> toV8NoInline(TestInterfaceEventConstructor* impl, v8::Hand
le<v8::Object> creationContext, v8::Isolate* isolate) |
| 447 { | 447 { |
| 448 return toV8(impl, creationContext, isolate); | 448 return toV8(impl, creationContext, isolate); |
| 449 } | 449 } |
| 450 | 450 |
| 451 } // namespace WebCore | 451 } // namespace WebCore |
| OLD | NEW |