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

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

Issue 360006: Implementation of PlainTextController.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
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 30898)
+++ 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,10 @@
WEBKIT_API WebNode startContainer(int& exceptionCode) const;
WEBKIT_API WebNode endContainer(int& exceptionCode) const;
+ // extension functions
+ WEBKIT_API WebString toHTML() const;
+ WEBKIT_API WebString text() 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