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

Unified Diff: Source/build/scripts/make_css_value_keywords.py

Issue 424983002: Stop using WebCore namespace in generated code (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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: Source/build/scripts/make_css_value_keywords.py
diff --git a/Source/build/scripts/make_css_value_keywords.py b/Source/build/scripts/make_css_value_keywords.py
index 3c1bb61856935b117ca12b890652a6062c4306c6..4e5b61fa48476454e3590d62a82acee7bd0d40ef 100755
--- a/Source/build/scripts/make_css_value_keywords.py
+++ b/Source/build/scripts/make_css_value_keywords.py
@@ -19,7 +19,7 @@ HEADER_TEMPLATE = """
#include "core/css/CSSParserMode.h"
#include <string.h>
-namespace WebCore {
+namespace blink {
enum CSSValueID {
%(value_keyword_enums)s
@@ -31,7 +31,7 @@ const size_t maxCSSValueKeywordLength = %(max_value_keyword_length)d;
const char* getValueName(unsigned short id);
bool isValueAllowedInMode(unsigned short id, CSSParserMode mode);
-} // namespace WebCore
+} // namespace blink
#endif // %(class_name)s_h
"""
@@ -45,7 +45,7 @@ GPERF_TEMPLATE = """
#include "core/css/HashTools.h"
#include <string.h>
-namespace WebCore {
+namespace blink {
static const char valueListStringPool[] = {
"\\0"
%(value_keyword_strings)s
@@ -96,7 +96,7 @@ bool isValueAllowedInMode(unsigned short id, CSSParserMode mode)
}
}
-} // namespace WebCore
+} // namespace blink
"""
« no previous file with comments | « Source/build/scripts/make_css_property_names.py ('k') | Source/build/scripts/templates/ElementFactory.cpp.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698