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

Side by Side Diff: Source/build/scripts/templates/InternalSettingsGenerated.h.tmpl

Issue 48623005: Move RefCountedSupplement to platform/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/css/FontFaceSet.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 {% from "macros.tmpl" import license -%} 1 {% from "macros.tmpl" import license -%}
2 {{ license() }} 2 {{ license() }}
3 3
4 #ifndef InternalSettingsGenerated_h 4 #ifndef InternalSettingsGenerated_h
5 #define InternalSettingsGenerated_h 5 #define InternalSettingsGenerated_h
6 6
7 #include "core/platform/RefCountedSupplement.h" 7 #include "platform/RefCountedSupplement.h"
8 #include "wtf/PassRefPtr.h" 8 #include "wtf/PassRefPtr.h"
9 #include "wtf/RefCounted.h" 9 #include "wtf/RefCounted.h"
10 #include "wtf/text/WTFString.h" 10 #include "wtf/text/WTFString.h"
11 11
12 namespace WebCore { 12 namespace WebCore {
13 13
14 class Page; 14 class Page;
15 15
16 class InternalSettingsGenerated : public RefCounted<InternalSettingsGenerated> { 16 class InternalSettingsGenerated : public RefCounted<InternalSettingsGenerated> {
17 public: 17 public:
18 explicit InternalSettingsGenerated(Page*); 18 explicit InternalSettingsGenerated(Page*);
19 virtual ~InternalSettingsGenerated(); 19 virtual ~InternalSettingsGenerated();
20 void resetToConsistentState(); 20 void resetToConsistentState();
21 {%- for setting in settings if setting.type|to_idl_type %} 21 {%- for setting in settings if setting.type|to_idl_type %}
22 void set{{setting.name|upper_first}}({{setting.type|to_passing_type}} {{sett ing.name}}); 22 void set{{setting.name|upper_first}}({{setting.type|to_passing_type}} {{sett ing.name}});
23 {%- endfor %} 23 {%- endfor %}
24 24
25 private: 25 private:
26 Page* m_page; 26 Page* m_page;
27 27
28 {%- for setting in settings if setting.type|to_idl_type %} 28 {%- for setting in settings if setting.type|to_idl_type %}
29 {{setting.type}} m_{{setting.name}}; 29 {{setting.type}} m_{{setting.name}};
30 {%- endfor %} 30 {%- endfor %}
31 }; 31 };
32 32
33 } // namespace WebCore 33 } // namespace WebCore
34 34
35 #endif // InternalSettingsGenerated_h 35 #endif // InternalSettingsGenerated_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/css/FontFaceSet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698