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

Unified Diff: third_party/WebKit/Source/core/frame/VisualViewport.h

Issue 2743653003: Revert of Remove indirection: setup scrollbar scroll layers in the scrollbar constructor (Closed)
Patch Set: Created 3 years, 9 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 | « cc/layers/solid_color_scrollbar_layer.cc ('k') | third_party/WebKit/Source/core/frame/VisualViewport.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/VisualViewport.h
diff --git a/third_party/WebKit/Source/core/frame/VisualViewport.h b/third_party/WebKit/Source/core/frame/VisualViewport.h
index fc6ee3067e9cc4a61599a6f7a16e7f40060c84d3..3a0afe6b26eced4f7b1da621d1a31ecda20cb535 100644
--- a/third_party/WebKit/Source/core/frame/VisualViewport.h
+++ b/third_party/WebKit/Source/core/frame/VisualViewport.h
@@ -44,6 +44,7 @@
namespace blink {
class WebScrollbarLayer;
+class WebLayer;
}
namespace blink {
@@ -118,6 +119,8 @@
// around the point specified by anchor in window coordinates. Returns false
// if page scale factor is left unchanged.
bool magnifyScaleAroundAnchor(float magnifyDelta, const FloatPoint& anchor);
+
+ void setScrollLayerOnScrollbars(WebLayer*) const;
// The portion of the unzoomed frame visible in the visual viewport,
// in partial CSS pixels. Relative to the main frame.
« no previous file with comments | « cc/layers/solid_color_scrollbar_layer.cc ('k') | third_party/WebKit/Source/core/frame/VisualViewport.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698