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

Unified Diff: third_party/WebKit/Source/core/style/ComputedStyle.h

Issue 2940933003: DO NOT SUBMIT results of new clang-format (Closed)
Patch Set: Created 3 years, 6 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
Index: third_party/WebKit/Source/core/style/ComputedStyle.h
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h
index a3ae4a9eeec76ea8710c257c72f7c22fdae3d5f3..2d0cac0c8b5da79aad5f957ef3c5505dcc74fe81 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -310,32 +310,32 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
}
/**
- * ComputedStyle properties
- *
- * Each property stored in ComputedStyle is made up of fields. Fields have
- * initial value functions, getters and setters. A field is preferably a
- * basic data type or enum, but can be any type. A set of fields should be
- * preceded by the property the field is stored for.
- *
- * Field method naming should be done like so:
- * // name-of-property
- * static int initialNameOfProperty();
- * int nameOfProperty() const;
- * void setNameOfProperty(int);
- * If the property has multiple fields, add the field name to the end of the
- * method name.
- *
- * Avoid nested types by splitting up fields where possible, e.g.:
- * int getBorderTopWidth();
- * int getBorderBottomWidth();
- * int getBorderLeftWidth();
- * int getBorderRightWidth();
- * is preferable to:
- * BorderWidths getBorderWidths();
- *
- * Utility functions should go in a separate section at the end of the
- * class, and be kept to a minimum.
- */
+ * ComputedStyle properties
+ *
+ * Each property stored in ComputedStyle is made up of fields. Fields have
+ * initial value functions, getters and setters. A field is preferably a
+ * basic data type or enum, but can be any type. A set of fields should be
+ * preceded by the property the field is stored for.
+ *
+ * Field method naming should be done like so:
+ * // name-of-property
+ * static int initialNameOfProperty();
+ * int nameOfProperty() const;
+ * void setNameOfProperty(int);
+ * If the property has multiple fields, add the field name to the end of the
+ * method name.
+ *
+ * Avoid nested types by splitting up fields where possible, e.g.:
+ * int getBorderTopWidth();
+ * int getBorderBottomWidth();
+ * int getBorderLeftWidth();
+ * int getBorderRightWidth();
+ * is preferable to:
+ * BorderWidths getBorderWidths();
+ *
+ * Utility functions should go in a separate section at the end of the
+ * class, and be kept to a minimum.
+ */
// Non-Inherited properties.

Powered by Google App Engine
This is Rietveld 408576698