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

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

Issue 243032: First implementation of PlainTextController. (Closed)
Patch Set: '' Created 11 years, 1 month 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/WebBindings.h ('k') | webkit/api/src/WebBindings.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/api/public/WebRange.h
===================================================================
--- webkit/api/public/WebRange.h (revision 31188)
+++ webkit/api/public/WebRange.h (working copy)
@@ -41,6 +41,7 @@
namespace WebKit {
class WebNode;
class WebRangePrivate;
+ class WebString;
// Provides readonly access to some properties of a DOM range.
class WebRange {
@@ -61,6 +62,9 @@
WEBKIT_API WebNode startContainer(int& exceptionCode) const;
WEBKIT_API WebNode endContainer(int& exceptionCode) const;
+ WEBKIT_API WebString toHTMLText() const;
+ WEBKIT_API WebString toPlainText() const;
+
#if WEBKIT_IMPLEMENTATION
WebRange(const WTF::PassRefPtr<WebCore::Range>&);
WebRange& operator=(const WTF::PassRefPtr<WebCore::Range>&);
« no previous file with comments | « webkit/api/public/WebBindings.h ('k') | webkit/api/src/WebBindings.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698