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

Unified Diff: Source/core/css/CSSMarkup.h

Issue 884123006: Merge CSSMarkup and CSSOMUtils (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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 | « Source/core/core.gypi ('k') | Source/core/css/CSSMarkup.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSMarkup.h
diff --git a/Source/core/css/CSSMarkup.h b/Source/core/css/CSSMarkup.h
index adb554c072fc4237329295c699166df46a5f5ece..8eeab90f4882e018ed22bcac1ece42189dc377a3 100644
--- a/Source/core/css/CSSMarkup.h
+++ b/Source/core/css/CSSMarkup.h
@@ -26,8 +26,6 @@
#include "wtf/text/WTFString.h"
// Helper functions for converting from CSSValues to text.
-// FIXME: This file has a similar purpose to
-// CSSOMUtils.h. Perhaps the two should be combined?
namespace blink {
@@ -35,6 +33,11 @@ String quoteCSSString(const String&);
String quoteCSSStringIfNeeded(const String&);
String quoteCSSURLIfNeeded(const String&);
+// Common serializing methods. See: http://dev.w3.org/csswg/cssom/#common-serializing-idioms
+void serializeIdentifier(const String& identifier, StringBuilder& appendTo);
+void serializeString(const String&, StringBuilder& appendTo);
+
+
} // namespace blink
#endif // CSSMarkup_h
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/css/CSSMarkup.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698