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

Unified Diff: Source/web/WebRange.cpp

Issue 763043004: Remove some unused WebRange functions (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | « Source/core/dom/Range.cpp ('k') | public/web/WebRange.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebRange.cpp
diff --git a/Source/web/WebRange.cpp b/Source/web/WebRange.cpp
index 51457b03487f8b71d618c74452c15a182511c7cc..17e6eedd809c01bc8c58d35a7bcec998cf33af1f 100644
--- a/Source/web/WebRange.cpp
+++ b/Source/web/WebRange.cpp
@@ -69,39 +69,11 @@ int WebRange::endOffset() const
return m_private->endOffset();
}
-WebNode WebRange::startContainer(WebExceptionCode& exceptionCode) const
-{
- // FIXME: Create a wrapper class that just sets the internal int.
- RefPtrWillBeRawPtr<Node> node(m_private->startContainer());
- exceptionCode = 0;
- return node.release();
-}
-
-WebNode WebRange::endContainer(WebExceptionCode& exceptionCode) const
-{
- // FIXME: Create a wrapper class that just sets the internal int.
- RefPtrWillBeRawPtr<Node> node(m_private->endContainer());
- exceptionCode = 0;
- return node.release();
-}
-
-WebString WebRange::toHTMLText() const
-{
- return m_private->toHTML();
-}
-
WebString WebRange::toPlainText() const
{
return m_private->text();
}
-WebRange WebRange::expandedToParagraph() const
-{
- WebRange copy(*this);
- copy.m_private->expand("block", IGNORE_EXCEPTION);
- return copy;
-}
-
// static
WebRange WebRange::fromDocumentRange(WebLocalFrame* frame, int start, int length)
{
« no previous file with comments | « Source/core/dom/Range.cpp ('k') | public/web/WebRange.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698