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

Unified Diff: Source/platform/graphics/GraphicsLayer.h

Issue 784453003: Initial scroll-blocks-on compositor integration (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Eliminate scrollbars from iframe test for cross-platform output consistency 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
Index: Source/platform/graphics/GraphicsLayer.h
diff --git a/Source/platform/graphics/GraphicsLayer.h b/Source/platform/graphics/GraphicsLayer.h
index b5f490b74c2ca41ac578335c04c8475dd53ca277..4bcfdfbfd230e79f1183e20ab869979c5b3d871e 100644
--- a/Source/platform/graphics/GraphicsLayer.h
+++ b/Source/platform/graphics/GraphicsLayer.h
@@ -45,6 +45,7 @@
#include "public/platform/WebLayerClient.h"
#include "public/platform/WebLayerScrollClient.h"
#include "public/platform/WebNinePatchLayer.h"
+#include "public/platform/WebScrollBlocksOn.h"
#include "third_party/skia/include/core/SkPaint.h"
#include "wtf/OwnPtr.h"
#include "wtf/PassOwnPtr.h"
@@ -181,6 +182,7 @@ public:
void setOpacity(float);
void setBlendMode(WebBlendMode);
+ void setScrollBlocksOn(WebScrollBlocksOn);
void setIsRootForIsolatedGroup(bool);
void setFilters(const FilterOperations&);
@@ -308,6 +310,8 @@ private:
WebBlendMode m_blendMode;
+ WebScrollBlocksOn m_scrollBlocksOn;
+
bool m_hasTransformOrigin : 1;
bool m_contentsOpaque : 1;
bool m_shouldFlattenTransform: 1;

Powered by Google App Engine
This is Rietveld 408576698