| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 17 matching lines...) Expand all Loading... |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #ifndef ScriptWrappable_h | 31 #ifndef ScriptWrappable_h |
| 32 #define ScriptWrappable_h | 32 #define ScriptWrappable_h |
| 33 | 33 |
| 34 #include "bindings/core/v8/ScriptWrappableVisitor.h" | 34 #include "bindings/core/v8/ScriptWrappableVisitor.h" |
| 35 #include "bindings/core/v8/WrapperTypeInfo.h" | 35 #include "bindings/core/v8/WrapperTypeInfo.h" |
| 36 #include "core/CoreExport.h" | 36 #include "core/CoreExport.h" |
| 37 #include "platform/heap/Handle.h" | 37 #include "platform/heap/Handle.h" |
| 38 #include "platform/wtf/Compiler.h" |
| 39 #include "platform/wtf/Noncopyable.h" |
| 40 #include "platform/wtf/TypeTraits.h" |
| 38 #include "v8/include/v8.h" | 41 #include "v8/include/v8.h" |
| 39 #include "wtf/Compiler.h" | |
| 40 #include "wtf/Noncopyable.h" | |
| 41 #include "wtf/TypeTraits.h" | |
| 42 | 42 |
| 43 namespace blink { | 43 namespace blink { |
| 44 | 44 |
| 45 class CORE_EXPORT TraceWrapperBase { | 45 class CORE_EXPORT TraceWrapperBase { |
| 46 WTF_MAKE_NONCOPYABLE(TraceWrapperBase); | 46 WTF_MAKE_NONCOPYABLE(TraceWrapperBase); |
| 47 | 47 |
| 48 public: | 48 public: |
| 49 TraceWrapperBase() = default; | 49 TraceWrapperBase() = default; |
| 50 virtual bool isScriptWrappable() const { return false; } | 50 virtual bool isScriptWrappable() const { return false; } |
| 51 | 51 |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 #define DECLARE_WRAPPERTYPEINFO() \ | 213 #define DECLARE_WRAPPERTYPEINFO() \ |
| 214 public: \ | 214 public: \ |
| 215 const WrapperTypeInfo* wrapperTypeInfo() const override; \ | 215 const WrapperTypeInfo* wrapperTypeInfo() const override; \ |
| 216 \ | 216 \ |
| 217 private: \ | 217 private: \ |
| 218 typedef void end_of_define_wrappertypeinfo_not_reached_t | 218 typedef void end_of_define_wrappertypeinfo_not_reached_t |
| 219 | 219 |
| 220 } // namespace blink | 220 } // namespace blink |
| 221 | 221 |
| 222 #endif // ScriptWrappable_h | 222 #endif // ScriptWrappable_h |
| OLD | NEW |