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

Unified Diff: Source/web/WebDocument.cpp

Issue 1211003007: Remove scroll offset methods from WebDocument, nothing uses them. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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 | « no previous file | public/web/WebDocument.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebDocument.cpp
diff --git a/Source/web/WebDocument.cpp b/Source/web/WebDocument.cpp
index 23ddc7195e7950a9b4d9b73c9b6eab4bb53ad410..ff7cd9a8105e38dcaba91b3983fb23ed1a17662a 100644
--- a/Source/web/WebDocument.cpp
+++ b/Source/web/WebDocument.cpp
@@ -282,27 +282,6 @@ WebElement WebDocument::createElement(const WebString& tagName)
return element;
}
-WebSize WebDocument::scrollOffset() const
-{
- if (FrameView* view = constUnwrap<Document>()->view())
- return view->scrollOffset();
- return WebSize();
-}
-
-WebSize WebDocument::minimumScrollOffset() const
-{
- if (FrameView* view = constUnwrap<Document>()->view())
- return toIntSize(view->minimumScrollPosition());
- return WebSize();
-}
-
-WebSize WebDocument::maximumScrollOffset() const
-{
- if (FrameView* view = constUnwrap<Document>()->view())
- return toIntSize(view->maximumScrollPosition());
- return WebSize();
-}
-
WebAXObject WebDocument::accessibilityObject() const
{
const Document* document = constUnwrap<Document>();
« no previous file with comments | « no previous file | public/web/WebDocument.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698