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

Unified Diff: sky/engine/core/rendering/RenderView.h

Issue 878303002: Remove more scrolling code from Sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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/rendering/RenderTheme.h ('k') | sky/engine/core/rendering/RenderView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/rendering/RenderView.h
diff --git a/sky/engine/core/rendering/RenderView.h b/sky/engine/core/rendering/RenderView.h
index 180e4b60d6ed99746ad43b8bd291080e3c63c2f5..f742e162e43867cbea59667848c7d0d2fe1c8139 100644
--- a/sky/engine/core/rendering/RenderView.h
+++ b/sky/engine/core/rendering/RenderView.h
@@ -60,12 +60,9 @@ public:
virtual LayoutUnit availableLogicalHeight(AvailableLogicalHeightType) const override;
// The same as the FrameView's layoutHeight/layoutWidth but with null check guards.
- int viewHeight(IncludeScrollbarsInRect = ExcludeScrollbars) const;
- int viewWidth(IncludeScrollbarsInRect = ExcludeScrollbars) const;
- int viewLogicalWidth() const
- {
- return viewWidth(ExcludeScrollbars);
- }
+ int viewHeight() const;
+ int viewWidth() const;
+ int viewLogicalWidth() const { return viewWidth(); }
int viewLogicalHeight() const;
LayoutUnit viewLogicalHeightForPercentages() const;
« no previous file with comments | « sky/engine/core/rendering/RenderTheme.h ('k') | sky/engine/core/rendering/RenderView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698