| 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 #include "bindings/v8/V8DOMConfiguration.h" | 57 #include "bindings/v8/V8DOMConfiguration.h" |
| 58 #include "bindings/v8/V8EventListenerList.h" | 58 #include "bindings/v8/V8EventListenerList.h" |
| 59 #include "bindings/v8/V8HiddenValue.h" | 59 #include "bindings/v8/V8HiddenValue.h" |
| 60 #include "bindings/v8/V8ObjectConstructor.h" | 60 #include "bindings/v8/V8ObjectConstructor.h" |
| 61 #include "bindings/v8/custom/V8Float32ArrayCustom.h" | 61 #include "bindings/v8/custom/V8Float32ArrayCustom.h" |
| 62 #include "core/css/MediaQueryListListener.h" | 62 #include "core/css/MediaQueryListListener.h" |
| 63 #include "core/dom/ContextFeatures.h" | 63 #include "core/dom/ContextFeatures.h" |
| 64 #include "core/dom/Document.h" | 64 #include "core/dom/Document.h" |
| 65 #include "core/dom/custom/CustomElementCallbackDispatcher.h" | 65 #include "core/dom/custom/CustomElementCallbackDispatcher.h" |
| 66 #include "core/frame/UseCounter.h" | 66 #include "core/frame/UseCounter.h" |
| 67 #include "platform/TraceEvent.h" | |
| 68 #include "wtf/GetPtr.h" | 67 #include "wtf/GetPtr.h" |
| 69 #include "wtf/RefPtr.h" | 68 #include "wtf/RefPtr.h" |
| 69 #include "wtf/TraceEvent.h" |
| 70 | 70 |
| 71 namespace WebCore { | 71 namespace WebCore { |
| 72 | 72 |
| 73 static void initializeScriptWrappableForInterface(TestObject* object) | 73 static void initializeScriptWrappableForInterface(TestObject* object) |
| 74 { | 74 { |
| 75 if (ScriptWrappable::wrapperCanBeStoredInObject(object)) | 75 if (ScriptWrappable::wrapperCanBeStoredInObject(object)) |
| 76 ScriptWrappable::setTypeInfoInObject(object, &V8TestObject::wrapperTypeI
nfo); | 76 ScriptWrappable::setTypeInfoInObject(object, &V8TestObject::wrapperTypeI
nfo); |
| 77 else | 77 else |
| 78 ASSERT_NOT_REACHED(); | 78 ASSERT_NOT_REACHED(); |
| 79 } | 79 } |
| (...skipping 5491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5571 fromInternalPointer(object)->deref(); | 5571 fromInternalPointer(object)->deref(); |
| 5572 } | 5572 } |
| 5573 | 5573 |
| 5574 template<> | 5574 template<> |
| 5575 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea
tionContext, v8::Isolate* isolate) | 5575 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea
tionContext, v8::Isolate* isolate) |
| 5576 { | 5576 { |
| 5577 return toV8(impl, creationContext, isolate); | 5577 return toV8(impl, creationContext, isolate); |
| 5578 } | 5578 } |
| 5579 | 5579 |
| 5580 } // namespace WebCore | 5580 } // namespace WebCore |
| OLD | NEW |