| 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 "bindings/v8/ExceptionState.h" | 39 #include "bindings/v8/ExceptionState.h" |
| 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/V8ObjectConstructor.h" | 43 #include "bindings/v8/V8ObjectConstructor.h" |
| 44 #include "bindings/v8/custom/V8Uint8ArrayCustom.h" | 44 #include "bindings/v8/custom/V8Uint8ArrayCustom.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/frame/UseCounter.h" | 47 #include "core/frame/UseCounter.h" |
| 48 #include "platform/TraceEvent.h" | 48 #include "platform/TraceEvent.h" |
| 49 #include "wtf/GetPtr.h" |
| 50 #include "wtf/RefPtr.h" |
| 49 | 51 |
| 50 namespace WebCore { | 52 namespace WebCore { |
| 51 | 53 |
| 52 static void initializeScriptWrappableForInterface(TestInterfaceEventConstructor*
object) | 54 static void initializeScriptWrappableForInterface(TestInterfaceEventConstructor*
object) |
| 53 { | 55 { |
| 54 if (ScriptWrappable::wrapperCanBeStoredInObject(object)) | 56 if (ScriptWrappable::wrapperCanBeStoredInObject(object)) |
| 55 ScriptWrappable::setTypeInfoInObject(object, &V8TestInterfaceEventConstr
uctor::wrapperTypeInfo); | 57 ScriptWrappable::setTypeInfoInObject(object, &V8TestInterfaceEventConstr
uctor::wrapperTypeInfo); |
| 56 else | 58 else |
| 57 ASSERT_NOT_REACHED(); | 59 ASSERT_NOT_REACHED(); |
| 58 } | 60 } |
| (...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 430 fromInternalPointer(object)->deref(); | 432 fromInternalPointer(object)->deref(); |
| 431 } | 433 } |
| 432 | 434 |
| 433 template<> | 435 template<> |
| 434 v8::Handle<v8::Value> toV8NoInline(TestInterfaceEventConstructor* impl, v8::Hand
le<v8::Object> creationContext, v8::Isolate* isolate) | 436 v8::Handle<v8::Value> toV8NoInline(TestInterfaceEventConstructor* impl, v8::Hand
le<v8::Object> creationContext, v8::Isolate* isolate) |
| 435 { | 437 { |
| 436 return toV8(impl, creationContext, isolate); | 438 return toV8(impl, creationContext, isolate); |
| 437 } | 439 } |
| 438 | 440 |
| 439 } // namespace WebCore | 441 } // namespace WebCore |
| OLD | NEW |