| 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 28 matching lines...) Expand all Loading... |
| 39 #include "V8TestCallbackInterface.h" | 39 #include "V8TestCallbackInterface.h" |
| 40 #include "V8TestInterfaceEmpty.h" | 40 #include "V8TestInterfaceEmpty.h" |
| 41 #include "V8TestSubObj.h" | 41 #include "V8TestSubObj.h" |
| 42 #include "bindings/v8/ExceptionState.h" | 42 #include "bindings/v8/ExceptionState.h" |
| 43 #include "bindings/v8/V8DOMConfiguration.h" | 43 #include "bindings/v8/V8DOMConfiguration.h" |
| 44 #include "bindings/v8/V8HiddenValue.h" | 44 #include "bindings/v8/V8HiddenValue.h" |
| 45 #include "bindings/v8/V8ObjectConstructor.h" | 45 #include "bindings/v8/V8ObjectConstructor.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 "platform/TraceEvent.h" | |
| 50 #include "wtf/GetPtr.h" | 49 #include "wtf/GetPtr.h" |
| 51 #include "wtf/RefPtr.h" | 50 #include "wtf/RefPtr.h" |
| 51 #include "wtf/TraceEvent.h" |
| 52 | 52 |
| 53 namespace WebCore { | 53 namespace WebCore { |
| 54 | 54 |
| 55 static void initializeScriptWrappableForInterface(TestTypedefs* object) | 55 static void initializeScriptWrappableForInterface(TestTypedefs* object) |
| 56 { | 56 { |
| 57 if (ScriptWrappable::wrapperCanBeStoredInObject(object)) | 57 if (ScriptWrappable::wrapperCanBeStoredInObject(object)) |
| 58 ScriptWrappable::setTypeInfoInObject(object, &V8TestTypedefs::wrapperTyp
eInfo); | 58 ScriptWrappable::setTypeInfoInObject(object, &V8TestTypedefs::wrapperTyp
eInfo); |
| 59 else | 59 else |
| 60 ASSERT_NOT_REACHED(); | 60 ASSERT_NOT_REACHED(); |
| 61 } | 61 } |
| (...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 548 fromInternalPointer(object)->deref(); | 548 fromInternalPointer(object)->deref(); |
| 549 } | 549 } |
| 550 | 550 |
| 551 template<> | 551 template<> |
| 552 v8::Handle<v8::Value> toV8NoInline(TestTypedefs* impl, v8::Handle<v8::Object> cr
eationContext, v8::Isolate* isolate) | 552 v8::Handle<v8::Value> toV8NoInline(TestTypedefs* impl, v8::Handle<v8::Object> cr
eationContext, v8::Isolate* isolate) |
| 553 { | 553 { |
| 554 return toV8(impl, creationContext, isolate); | 554 return toV8(impl, creationContext, isolate); |
| 555 } | 555 } |
| 556 | 556 |
| 557 } // namespace WebCore | 557 } // namespace WebCore |
| OLD | NEW |