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

Unified Diff: sky/engine/core/frame/FrameView.h

Issue 677223002: Remove some 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/core/events/MouseRelatedEvent.cpp ('k') | sky/engine/core/frame/FrameView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/frame/FrameView.h
diff --git a/sky/engine/core/frame/FrameView.h b/sky/engine/core/frame/FrameView.h
index f2bbeb6212da0f1bd7ba74cf5c42d40d87fd95be..5cbf41f1690085715e8d734f22cca2581a78c660 100644
--- a/sky/engine/core/frame/FrameView.h
+++ b/sky/engine/core/frame/FrameView.h
@@ -277,7 +277,6 @@ public:
// FIXME(sky): Remove
void invalidateScrollbarRect(Scrollbar*, const IntRect&);
void getTickmarks(Vector<IntRect>&) const;
- void scrollTo(const IntSize&);
IntRect scrollableAreaBoundingBox() const;
bool scrollAnimatorEnabled() const;
bool usesCompositedScrolling() const;
@@ -301,12 +300,6 @@ public:
IntPoint maximumScrollPosition() const { return IntPoint(); }
IntPoint scrollPosition() const { return IntPoint(); }
bool scheduleAnimation();
- int scrollX() const { return 0; }
- int scrollY() const { return 0; }
- void scrollBy(const IntSize& s, ScrollBehavior behavior = ScrollBehaviorInstant) {}
- void setScrollOffset(const IntPoint&) {}
- // Scrollbar* horizontalScrollbar() const { return 0; }
- // Scrollbar* verticalScrollbar() const { return 0; }
IntRect visibleContentRect(IncludeScrollbarsInRect = ExcludeScrollbars) const { return IntRect(IntPoint(), expandedIntSize(frameRect().size())); }
IntSize unscaledVisibleContentSize(IncludeScrollbarsInRect = ExcludeScrollbars) const { return frameRect().size(); }
IntPoint clampScrollPosition(const IntPoint& scrollPosition) const { return scrollPosition; }
« no previous file with comments | « sky/engine/core/events/MouseRelatedEvent.cpp ('k') | sky/engine/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698