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

Unified Diff: cc/layer.h

Issue 11377013: Add touchEventHandlerRegion to Layer and LayerImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed OVERRIDE from web_layer_impl Created 8 years, 1 month 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 | cc/layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer.h
diff --git a/cc/layer.h b/cc/layer.h
index d827ed4e37ddc963b8ab0407662ef7ad3ddbd477..bba4f92efb028cc1f287268f42ee00bcf8d2c28d 100644
--- a/cc/layer.h
+++ b/cc/layer.h
@@ -148,6 +148,10 @@ public:
void setNonFastScrollableRegionChanged() { m_nonFastScrollableRegionChanged = true; }
const Region& nonFastScrollableRegion() const { return m_nonFastScrollableRegion; }
+ void setTouchEventHandlerRegion(const Region&);
+ void setTouchEventHandlerRegionChanged() { m_touchEventHandlerRegionChanged = true; }
+ const Region& touchEventHandlerRegion() const { return m_touchEventHandlerRegion; }
+
void setLayerScrollClient(WebKit::WebLayerScrollClient* layerScrollClient) { m_layerScrollClient = layerScrollClient; }
void setDrawCheckerboardForMissingTiles(bool);
@@ -351,6 +355,8 @@ private:
bool m_haveWheelEventHandlers;
Region m_nonFastScrollableRegion;
bool m_nonFastScrollableRegionChanged;
+ Region m_touchEventHandlerRegion;
+ bool m_touchEventHandlerRegionChanged;
gfx::PointF m_position;
gfx::PointF m_anchorPoint;
SkColor m_backgroundColor;
« no previous file with comments | « no previous file | cc/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698