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

Unified Diff: sky/engine/web/WebLocalFrameImpl.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/web/WebLocalFrameImpl.h ('k') | sky/engine/web/WebViewImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/web/WebLocalFrameImpl.cpp
diff --git a/sky/engine/web/WebLocalFrameImpl.cpp b/sky/engine/web/WebLocalFrameImpl.cpp
index c0415c3dbf959585c629adabf9f158cda614ded7..6ec435a86ba967a253d2e04b35bb12d0f7839748 100644
--- a/sky/engine/web/WebLocalFrameImpl.cpp
+++ b/sky/engine/web/WebLocalFrameImpl.cpp
@@ -227,30 +227,6 @@ void WebLocalFrameImpl::close()
deref(); // Balances ref() acquired in WebFrame::create
}
-WebSize WebLocalFrameImpl::scrollOffset() const
-{
- FrameView* view = frameView();
- if (!view)
- return WebSize();
- return view->scrollOffset();
-}
-
-WebSize WebLocalFrameImpl::minimumScrollOffset() const
-{
- FrameView* view = frameView();
- if (!view)
- return WebSize();
- return toIntSize(view->minimumScrollPosition());
-}
-
-WebSize WebLocalFrameImpl::maximumScrollOffset() const
-{
- FrameView* view = frameView();
- if (!view)
- return WebSize();
- return toIntSize(view->maximumScrollPosition());
-}
-
WebSize WebLocalFrameImpl::contentsSize() const
{
return frame()->view()->size();
« no previous file with comments | « sky/engine/web/WebLocalFrameImpl.h ('k') | sky/engine/web/WebViewImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698