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

Unified Diff: webkit/api/public/WebString.h

Issue 164225: Switch to WebFrame from the WebKit API.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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 | « webkit/api/public/WebRange.h ('k') | webkit/api/src/WebRange.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/api/public/WebString.h
===================================================================
--- webkit/api/public/WebString.h (revision 22886)
+++ webkit/api/public/WebString.h (working copy)
@@ -40,7 +40,7 @@
#endif
namespace WebKit {
-
+ class WebCString;
class WebStringPrivate;
// A UTF-16 string container. It is inexpensive to copy a WebString
@@ -77,6 +77,8 @@
bool isEmpty() const { return length() == 0; }
bool isNull() const { return m_private == 0; }
+ WEBKIT_API WebCString utf8() const;
+
WEBKIT_API static WebString fromUTF8(const char* data, size_t length);
WEBKIT_API static WebString fromUTF8(const char* data);
« no previous file with comments | « webkit/api/public/WebRange.h ('k') | webkit/api/src/WebRange.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698