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

Unified Diff: third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl

Issue 2869613002: Move nested classes in ComputedStyleBase outside. (Closed)
Patch Set: Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl
diff --git a/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl b/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl
index b99d87d6ed630971d36afefb2703902e98f479cc..192fe11c827e9bcb899634cc02f0c5ead96bbfd8 100644
--- a/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl
+++ b/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl
@@ -32,6 +32,11 @@
namespace blink {
+{% for subgroup in computed_style.subgroups %}
+{{define_field_group_class(subgroup)|indent(2)}}
+
+{% endfor %}
+
// The generated portion of ComputedStyle. For more info, see the header comment
// in ComputedStyle.h.
class CORE_EXPORT ComputedStyleBase {
@@ -99,11 +104,6 @@ class CORE_EXPORT ComputedStyleBase {
{{field_templates[field.field_template].decl_public_methods(field)|indent(2)}}
{% endfor %}
- private:
- {% for subgroup in computed_style.subgroups %}
- {{define_field_group_class(subgroup)|indent(2)}}
-
- {% endfor %}
protected:
// Constructor and destructor are protected so that only the parent class ComputedStyle
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698