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

Unified Diff: public/platform/WebLayer.h

Issue 1142283004: Implement a Hit Test Cache. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix comments from tdresser Created 5 years, 6 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: public/platform/WebLayer.h
diff --git a/public/platform/WebLayer.h b/public/platform/WebLayer.h
index 70f86a906085a313b609e82e4080a5685076e6ed..3ce31f149ad5297a0297e6360bf06d2de281a8e0 100644
--- a/public/platform/WebLayer.h
+++ b/public/platform/WebLayer.h
@@ -231,6 +231,9 @@ public:
virtual bool isOrphan() const = 0;
virtual void setWebLayerClient(WebLayerClient*) = 0;
+
+ // TODO(dtapuska): Make pure virtual once cc side has landed crbug.com/398920.
+ virtual void setHitCacheRect(const WebRect&) { };
esprehn 2015/06/12 05:09:30 I'd probably call this HitTestCache since that's a
dtapuska 2015/06/12 15:30:38 Done.
};
} // namespace blink
« Source/core/layout/HitTestCache.cpp ('K') | « Source/platform/geometry/LayoutRect.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698