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

Unified Diff: third_party/WebKit/Source/build/scripts/name_utilities.py

Issue 2786883002: Generate subgroup StyleSurroundData in ComputedStyle. (Closed)
Patch Set: Rebase Created 3 years, 8 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/build/scripts/name_utilities.py
diff --git a/third_party/WebKit/Source/build/scripts/name_utilities.py b/third_party/WebKit/Source/build/scripts/name_utilities.py
index 0d80825dda273b0e8bf9d3932b74aba0211d40ec..17755d5ce356b85ba23e38f36a307717126e3ba3 100644
--- a/third_party/WebKit/Source/build/scripts/name_utilities.py
+++ b/third_party/WebKit/Source/build/scripts/name_utilities.py
@@ -152,6 +152,10 @@ def enum_value_name(name):
return 'k' + upper_camel_case(name)
+def class_name(name):
+ return upper_camel_case(name)
+
+
def class_member_name(name):
return snake_case(name) + "_"

Powered by Google App Engine
This is Rietveld 408576698