| 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 27 matching lines...) Expand all Loading... |
| 38 #include "V8TestInterfaceEmpty.h" | 38 #include "V8TestInterfaceEmpty.h" |
| 39 #include "bindings/v8/ExceptionState.h" | 39 #include "bindings/v8/ExceptionState.h" |
| 40 #include "bindings/v8/V8AbstractEventListener.h" | 40 #include "bindings/v8/V8AbstractEventListener.h" |
| 41 #include "bindings/v8/V8DOMConfiguration.h" | 41 #include "bindings/v8/V8DOMConfiguration.h" |
| 42 #include "bindings/v8/V8EventListenerList.h" | 42 #include "bindings/v8/V8EventListenerList.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 "core/dom/ContextFeatures.h" | 45 #include "core/dom/ContextFeatures.h" |
| 46 #include "core/dom/Document.h" | 46 #include "core/dom/Document.h" |
| 47 #include "core/dom/custom/CustomElementCallbackDispatcher.h" | 47 #include "core/dom/custom/CustomElementCallbackDispatcher.h" |
| 48 #include "platform/TraceEvent.h" | |
| 49 #include "wtf/GetPtr.h" | 48 #include "wtf/GetPtr.h" |
| 50 #include "wtf/RefPtr.h" | 49 #include "wtf/RefPtr.h" |
| 50 #include "wtf/TraceEvent.h" |
| 51 | 51 |
| 52 namespace WebCore { | 52 namespace WebCore { |
| 53 | 53 |
| 54 static void initializeScriptWrappableForInterface(TestInterfaceNode* object) | 54 static void initializeScriptWrappableForInterface(TestInterfaceNode* object) |
| 55 { | 55 { |
| 56 if (ScriptWrappable::wrapperCanBeStoredInObject(object)) | 56 if (ScriptWrappable::wrapperCanBeStoredInObject(object)) |
| 57 ScriptWrappable::setTypeInfoInObject(object, &V8TestInterfaceNode::wrapp
erTypeInfo); | 57 ScriptWrappable::setTypeInfoInObject(object, &V8TestInterfaceNode::wrapp
erTypeInfo); |
| 58 else | 58 else |
| 59 ASSERT_NOT_REACHED(); | 59 ASSERT_NOT_REACHED(); |
| 60 } | 60 } |
| (...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 394 fromInternalPointer(object)->deref(); | 394 fromInternalPointer(object)->deref(); |
| 395 } | 395 } |
| 396 | 396 |
| 397 template<> | 397 template<> |
| 398 v8::Handle<v8::Value> toV8NoInline(TestInterfaceNode* impl, v8::Handle<v8::Objec
t> creationContext, v8::Isolate* isolate) | 398 v8::Handle<v8::Value> toV8NoInline(TestInterfaceNode* impl, v8::Handle<v8::Objec
t> creationContext, v8::Isolate* isolate) |
| 399 { | 399 { |
| 400 return toV8(impl, creationContext, isolate); | 400 return toV8(impl, creationContext, isolate); |
| 401 } | 401 } |
| 402 | 402 |
| 403 } // namespace WebCore | 403 } // namespace WebCore |
| OLD | NEW |