Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef IDLDictionaryBase_h | |
| 6 #define IDLDictionaryBase_h | |
| 7 | |
| 8 #include "core/CoreExport.h" | |
| 9 #include "platform/heap/Handle.h" | |
| 10 #include "wtf/Allocator.h" | |
| 11 #include <v8.h> | |
| 12 | |
| 13 namespace blink { | |
| 14 | |
| 15 // This class provides toV8Impl() virtual function which will be overridden | |
| 16 // by auto-generated IDL dictionary impl classes. toV8Impl() is used | |
| 17 // in ToV8.h to provide a consistent API of toV8(). | |
| 18 class CORE_EXPORT IDLDictionaryBase { | |
| 19 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); | |
| 20 public: | |
| 21 IDLDictionaryBase() {} | |
|
Yuki
2016/07/27 05:38:33
I don't know why, but Blink's coding style is
bashi
2016/07/27 09:01:19
Done.
| |
| 22 virtual ~IDLDictionaryBase() {} | |
|
Yuki
2016/07/27 05:38:33
ditto.
bashi
2016/07/27 09:01:19
Done.
| |
| 23 | |
| 24 virtual v8::Local<v8::Value> toV8Impl(v8::Local<v8::Object> creationContext, v8::Isolate*) const; | |
| 25 | |
| 26 DECLARE_VIRTUAL_TRACE(); | |
| 27 }; | |
| 28 | |
| 29 } // namespace blink | |
| 30 | |
| 31 #endif // IDLDictionaryBase_h | |
| OLD | NEW |