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

Unified Diff: sky/engine/web/WebDocument.cpp

Issue 678193005: Remove more frame-level scrolling machinery. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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 | « sky/engine/public/web/WebWidget.h ('k') | sky/engine/web/WebLocalFrameImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/web/WebDocument.cpp
diff --git a/sky/engine/web/WebDocument.cpp b/sky/engine/web/WebDocument.cpp
index 30c97f8b070bdc8f37899fcc140c7a09cdaf76ea..d20426220a2096b73e406fb2edf9026f366b46cc 100644
--- a/sky/engine/web/WebDocument.cpp
+++ b/sky/engine/web/WebDocument.cpp
@@ -136,27 +136,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();
-}
-
v8::Handle<v8::Value> WebDocument::registerEmbedderCustomElement(const WebString& name, v8::Handle<v8::Value> options, WebExceptionCode& ec)
{
v8::Isolate* isolate = v8::Isolate::GetCurrent();
« no previous file with comments | « sky/engine/public/web/WebWidget.h ('k') | sky/engine/web/WebLocalFrameImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698