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

Unified Diff: cc/scrollbar_layer_impl.h

Issue 11550035: Implement pinch-zoom scaling for main-frame scrollbars and pinch-zoom overlay scrollbars. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make OpacityIsAnimating() virtual. Created 7 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
Index: cc/scrollbar_layer_impl.h
diff --git a/cc/scrollbar_layer_impl.h b/cc/scrollbar_layer_impl.h
index e57c4f1346ffb03d04f0d99d4a08a38c1cedc558..8615fb647007b3d99a038708f16dcd3510db3129 100644
--- a/cc/scrollbar_layer_impl.h
+++ b/cc/scrollbar_layer_impl.h
@@ -39,6 +39,7 @@ class CC_EXPORT ScrollbarLayerImpl : public ScrollbarLayerImplBase {
void set_thumb_resource_id(ResourceProvider::ResourceId id) {
thumb_resource_id_ = id;
}
+ bool HasThumbTexture() { return thumb_resource_id_; }
// ScrollbarLayerImplBase implementation.
« cc/scrollbar_layer.cc ('K') | « cc/scrollbar_layer.cc ('k') | cc/scrollbar_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698