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/frame/FrameView.h

Issue 684353002: Remove more stuff from Widget. (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/dom/Element.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 efd840c7400f73f2d1986944bb95ec8944382fa7..efae0f2e9d567d848b8e2b2aaad4e5b4829a08d6 100644
--- a/sky/engine/core/frame/FrameView.h
+++ b/sky/engine/core/frame/FrameView.h
@@ -203,15 +203,11 @@ public:
bool isSubtreeLayout() const { return !!m_layoutSubtreeRoot; }
// FIXME(sky): remove
- IntRect contentsToScreen(const IntRect& rect) const;
- IntPoint contentsToRootView(const IntPoint& contentsPoint) const { return convertToRootView(contentsPoint); }
- IntRect contentsToRootView(const IntRect& contentsRect) const { return convertToRootView(contentsRect); }
- IntRect rootViewToContents(const IntRect& rootViewRect) const { return convertFromRootView(rootViewRect); }
- IntPoint windowToContents(const IntPoint& windowPoint) const { return convertFromContainingWindow(windowPoint); }
- FloatPoint windowToContents(const FloatPoint& windowPoint) const { return convertFromContainingWindow(windowPoint); }
- IntPoint contentsToWindow(const IntPoint& contentsPoint) const { return contentsToWindow(contentsPoint); }
- IntRect windowToContents(const IntRect& windowRect) const { return convertFromContainingWindow(windowRect); }
- IntRect contentsToWindow(const IntRect& contentsRect) const { return contentsToWindow(contentsRect); }
+ IntPoint windowToContents(const IntPoint& windowPoint) const { return windowPoint; }
ojan 2014/10/30 00:41:03 Whoops.
+ IntPoint contentsToWindow(const IntPoint& contentsPoint) const { return contentsPoint; }
+ IntRect windowToContents(const IntRect& windowRect) const { return windowRect; }
+ IntRect contentsToWindow(const IntRect& contentsRect) const { return contentsRect; }
+
bool scheduleAnimation();
IntRect visibleContentRect(IncludeScrollbarsInRect = ExcludeScrollbars) const { return IntRect(IntPoint(), expandedIntSize(frameRect().size())); }
IntSize unscaledVisibleContentSize(IncludeScrollbarsInRect = ExcludeScrollbars) const { return frameRect().size(); }
« no previous file with comments | « sky/engine/core/dom/Element.cpp ('k') | sky/engine/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698