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

Side by Side Diff: Source/bindings/tests/results/core/TestDictionaryDerived.h

Issue 740453004: IDL: Basic dictionary inheritance support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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
(Empty)
1 // Copyright 2014 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 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
6
7 #ifndef TestDictionaryDerivedImplementedAs_h
8 #define TestDictionaryDerivedImplementedAs_h
9
10 #include "bindings/tests/idls/core/TestDictionary.h"
11 #include "platform/heap/Handle.h"
12 #include "wtf/text/WTFString.h"
13
14 namespace blink {
15
16 class TestDictionaryDerivedImplementedAs : public TestDictionary {
haraken 2014/11/19 09:11:26 Add final.
bashi 2014/11/19 11:04:43 It somewhat difficult to know whether the class do
haraken 2014/11/19 11:50:32 Makes sense. You don't need to try hard to add fin
17 ALLOW_ONLY_INLINE_ALLOCATION();
18 public:
19 TestDictionaryDerivedImplementedAs();
20
21 bool hasDerivedStringMember() const { return !m_derivedStringMember.isNull() ; }
22 String derivedStringMember() const { return m_derivedStringMember; }
23 void setDerivedStringMember(String value) { m_derivedStringMember = value; }
24
25 bool hasDerivedStringMemberWithDefault() const { return !m_derivedStringMemb erWithDefault.isNull(); }
26 String derivedStringMemberWithDefault() const { return m_derivedStringMember WithDefault; }
27 void setDerivedStringMemberWithDefault(String value) { m_derivedStringMember WithDefault = value; }
28
29 virtual void trace(Visitor*);
haraken 2014/11/19 09:11:26 Can we add override ?
bashi 2014/11/19 11:04:43 Unfortunately, no. We use the same template for th
haraken 2014/11/19 11:50:32 Ditto.
30
31 private:
32 String m_derivedStringMember;
33 String m_derivedStringMemberWithDefault;
34
35 friend class V8TestDictionaryDerivedImplementedAs;
36 };
37
38 } // namespace blink
39
40 #endif // TestDictionaryDerivedImplementedAs_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698