| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 #include "bindings/tests/idls/TestPartialInterface.h" | 43 #include "bindings/tests/idls/TestPartialInterface.h" |
| 44 #include "bindings/v8/ExceptionState.h" | 44 #include "bindings/v8/ExceptionState.h" |
| 45 #include "bindings/v8/V8AbstractEventListener.h" | 45 #include "bindings/v8/V8AbstractEventListener.h" |
| 46 #include "bindings/v8/V8DOMConfiguration.h" | 46 #include "bindings/v8/V8DOMConfiguration.h" |
| 47 #include "bindings/v8/V8EventListenerList.h" | 47 #include "bindings/v8/V8EventListenerList.h" |
| 48 #include "bindings/v8/V8HiddenValue.h" | 48 #include "bindings/v8/V8HiddenValue.h" |
| 49 #include "bindings/v8/V8ObjectConstructor.h" | 49 #include "bindings/v8/V8ObjectConstructor.h" |
| 50 #include "core/dom/ContextFeatures.h" | 50 #include "core/dom/ContextFeatures.h" |
| 51 #include "core/dom/Document.h" | 51 #include "core/dom/Document.h" |
| 52 #include "core/frame/DOMWindow.h" | 52 #include "core/frame/DOMWindow.h" |
| 53 #include "platform/TraceEvent.h" | |
| 54 #include "wtf/GetPtr.h" | 53 #include "wtf/GetPtr.h" |
| 55 #include "wtf/RefPtr.h" | 54 #include "wtf/RefPtr.h" |
| 55 #include "wtf/TraceEvent.h" |
| 56 | 56 |
| 57 namespace WebCore { | 57 namespace WebCore { |
| 58 | 58 |
| 59 static void initializeScriptWrappableForInterface(TestInterface* object) | 59 static void initializeScriptWrappableForInterface(TestInterface* object) |
| 60 { | 60 { |
| 61 if (ScriptWrappable::wrapperCanBeStoredInObject(object)) | 61 if (ScriptWrappable::wrapperCanBeStoredInObject(object)) |
| 62 ScriptWrappable::setTypeInfoInObject(object, &V8TestInterface::wrapperTy
peInfo); | 62 ScriptWrappable::setTypeInfoInObject(object, &V8TestInterface::wrapperTy
peInfo); |
| 63 else | 63 else |
| 64 ASSERT_NOT_REACHED(); | 64 ASSERT_NOT_REACHED(); |
| 65 } | 65 } |
| (...skipping 846 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 912 } | 912 } |
| 913 | 913 |
| 914 template<> | 914 template<> |
| 915 v8::Handle<v8::Value> toV8NoInline(TestInterface* impl, v8::Handle<v8::Object> c
reationContext, v8::Isolate* isolate) | 915 v8::Handle<v8::Value> toV8NoInline(TestInterface* impl, v8::Handle<v8::Object> c
reationContext, v8::Isolate* isolate) |
| 916 { | 916 { |
| 917 return toV8(impl, creationContext, isolate); | 917 return toV8(impl, creationContext, isolate); |
| 918 } | 918 } |
| 919 | 919 |
| 920 } // namespace WebCore | 920 } // namespace WebCore |
| 921 #endif // ENABLE(Condition1) || ENABLE(Condition2) | 921 #endif // ENABLE(Condition1) || ENABLE(Condition2) |
| OLD | NEW |