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

Unified Diff: cc/LayerChromium.h

Issue 10909233: Add scrolling related getters to WebLayerImpl (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 8 years, 3 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 | « no previous file | webkit/compositor_bindings/WebLayerImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/LayerChromium.h
diff --git a/cc/LayerChromium.h b/cc/LayerChromium.h
index 583a4482c6fcc4e70e3a276753f3aea0a02df69d..f222a06480c9ea214ffc88061947dcf12883bd70 100644
--- a/cc/LayerChromium.h
+++ b/cc/LayerChromium.h
@@ -134,11 +134,17 @@ public:
void setScrollable(bool);
bool scrollable() const { return m_scrollable; }
+
void setShouldScrollOnMainThread(bool);
+ bool shouldScrollOnMainThread() const { return m_shouldScrollOnMainThread; }
+
void setHaveWheelEventHandlers(bool);
- const Region& nonFastScrollableRegion() { return m_nonFastScrollableRegion; }
+ bool haveWheelEventHandlers() const { return m_haveWheelEventHandlers; }
+
void setNonFastScrollableRegion(const Region&);
void setNonFastScrollableRegionChanged() { m_nonFastScrollableRegionChanged = true; }
+ const Region& nonFastScrollableRegion() const { return m_nonFastScrollableRegion; }
+
void setLayerScrollClient(WebKit::WebLayerScrollClient* layerScrollClient) { m_layerScrollClient = layerScrollClient; }
void setDrawCheckerboardForMissingTiles(bool);
« no previous file with comments | « no previous file | webkit/compositor_bindings/WebLayerImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698