Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(853)

Side by Side Diff: third_party/WebKit/Source/bindings/core/v8/IDLDictionaryBase.h

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IDLDictionaryBase_h 5 #ifndef IDLDictionaryBase_h
6 #define IDLDictionaryBase_h 6 #define IDLDictionaryBase_h
7 7
8 #include <v8.h>
8 #include "core/CoreExport.h" 9 #include "core/CoreExport.h"
9 #include "platform/heap/Handle.h" 10 #include "platform/heap/Handle.h"
10 #include "wtf/Allocator.h" 11 #include "wtf/Allocator.h"
11 #include <v8.h>
12 12
13 namespace blink { 13 namespace blink {
14 14
15 // This class provides toV8Impl() virtual function which will be overridden 15 // This class provides toV8Impl() virtual function which will be overridden
16 // by auto-generated IDL dictionary impl classes. toV8Impl() is used 16 // by auto-generated IDL dictionary impl classes. toV8Impl() is used
17 // in ToV8.h to provide a consistent API of ToV8(). 17 // in ToV8.h to provide a consistent API of ToV8().
18 class CORE_EXPORT IDLDictionaryBase { 18 class CORE_EXPORT IDLDictionaryBase {
19 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); 19 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
20 20
21 public: 21 public:
22 IDLDictionaryBase() {} 22 IDLDictionaryBase() {}
23 virtual ~IDLDictionaryBase() {} 23 virtual ~IDLDictionaryBase() {}
24 24
25 virtual v8::Local<v8::Value> toV8Impl(v8::Local<v8::Object> creationContext, 25 virtual v8::Local<v8::Value> toV8Impl(v8::Local<v8::Object> creationContext,
26 v8::Isolate*) const; 26 v8::Isolate*) const;
27 27
28 DECLARE_VIRTUAL_TRACE(); 28 DECLARE_VIRTUAL_TRACE();
29 }; 29 };
30 30
31 } // namespace blink 31 } // namespace blink
32 32
33 #endif // IDLDictionaryBase_h 33 #endif // IDLDictionaryBase_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698