| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 #include "bindings/v8/custom/V8Float32ArrayCustom.h" | 74 #include "bindings/v8/custom/V8Float32ArrayCustom.h" |
| 75 #include "bindings/v8/custom/V8Int32ArrayCustom.h" | 75 #include "bindings/v8/custom/V8Int32ArrayCustom.h" |
| 76 #include "bindings/v8/custom/V8Uint8ArrayCustom.h" | 76 #include "bindings/v8/custom/V8Uint8ArrayCustom.h" |
| 77 #include "core/css/MediaQueryListListener.h" | 77 #include "core/css/MediaQueryListListener.h" |
| 78 #include "core/dom/ContextFeatures.h" | 78 #include "core/dom/ContextFeatures.h" |
| 79 #include "core/dom/Document.h" | 79 #include "core/dom/Document.h" |
| 80 #include "core/dom/custom/CustomElementCallbackDispatcher.h" | 80 #include "core/dom/custom/CustomElementCallbackDispatcher.h" |
| 81 #include "core/frame/DOMWindow.h" | 81 #include "core/frame/DOMWindow.h" |
| 82 #include "core/frame/UseCounter.h" | 82 #include "core/frame/UseCounter.h" |
| 83 #include "core/inspector/ScriptArguments.h" | 83 #include "core/inspector/ScriptArguments.h" |
| 84 #include "platform/TraceEvent.h" | |
| 85 #include "wtf/GetPtr.h" | 84 #include "wtf/GetPtr.h" |
| 86 #include "wtf/RefPtr.h" | 85 #include "wtf/RefPtr.h" |
| 86 #include "wtf/TraceEvent.h" |
| 87 | 87 |
| 88 namespace WebCore { | 88 namespace WebCore { |
| 89 | 89 |
| 90 static void initializeScriptWrappableForInterface(TestObjectPython* object) | 90 static void initializeScriptWrappableForInterface(TestObjectPython* object) |
| 91 { | 91 { |
| 92 if (ScriptWrappable::wrapperCanBeStoredInObject(object)) | 92 if (ScriptWrappable::wrapperCanBeStoredInObject(object)) |
| 93 ScriptWrappable::setTypeInfoInObject(object, &V8TestObjectPython::wrappe
rTypeInfo); | 93 ScriptWrappable::setTypeInfoInObject(object, &V8TestObjectPython::wrappe
rTypeInfo); |
| 94 else | 94 else |
| 95 ASSERT_NOT_REACHED(); | 95 ASSERT_NOT_REACHED(); |
| 96 } | 96 } |
| (...skipping 7722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7819 fromInternalPointer(object)->deref(); | 7819 fromInternalPointer(object)->deref(); |
| 7820 } | 7820 } |
| 7821 | 7821 |
| 7822 template<> | 7822 template<> |
| 7823 v8::Handle<v8::Value> toV8NoInline(TestObjectPython* impl, v8::Handle<v8::Object
> creationContext, v8::Isolate* isolate) | 7823 v8::Handle<v8::Value> toV8NoInline(TestObjectPython* impl, v8::Handle<v8::Object
> creationContext, v8::Isolate* isolate) |
| 7824 { | 7824 { |
| 7825 return toV8(impl, creationContext, isolate); | 7825 return toV8(impl, creationContext, isolate); |
| 7826 } | 7826 } |
| 7827 | 7827 |
| 7828 } // namespace WebCore | 7828 } // namespace WebCore |
| OLD | NEW |