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

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

Issue 2786883002: Generate subgroup StyleSurroundData in ComputedStyle. (Closed)
Patch Set: Fix things 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 df4b8436ffa47b13757457b0fc973c236768884e..6984fbdf7af09d74440ed3bba2bd923de2859f83 100644
--- a/third_party/WebKit/Source/build/scripts/name_utilities.py
+++ b/third_party/WebKit/Source/build/scripts/name_utilities.py
@@ -147,6 +147,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):
lower_case_words = [word.lower() for word in split_name(name)]
return "_".join(lower_case_words) + "_"

Powered by Google App Engine
This is Rietveld 408576698