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

Unified Diff: Source/web/ViewportAnchor.h

Issue 641733004: Merge FrameView and ScrollView. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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
Index: Source/web/ViewportAnchor.h
diff --git a/Source/web/ViewportAnchor.h b/Source/web/ViewportAnchor.h
index 46f86f03a78a23edf6b940a80f3a8d03f0b7e42a..f95257365869b462c187e58ae10c1aacc8281e1a 100644
--- a/Source/web/ViewportAnchor.h
+++ b/Source/web/ViewportAnchor.h
@@ -41,9 +41,9 @@
namespace blink {
class EventHandler;
+class FrameView;
class IntSize;
class Node;
-class ScrollView;
// ViewportAnchor provides a way to anchor a viewport origin to a DOM node.
// In particular, the user supplies the current viewport (in CSS coordinates)
@@ -59,7 +59,7 @@ public:
void setAnchor(const IntRect& outerViewRect, const IntRect& innerViewRect, const FloatSize& anchorInViewCoords);
- void computeOrigins(const ScrollView&, const FloatSize& innerSize,
+ void computeOrigins(const FrameView&, const FloatSize& innerSize,
IntPoint& mainFrameOffset, FloatPoint& pinchViewportOffset) const;
private:

Powered by Google App Engine
This is Rietveld 408576698