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

Unified Diff: cc/layer.cc

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: Revisions, force PZ scrollbars to always draw. 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
« no previous file with comments | « cc/layer.h ('k') | cc/layer_tree_host.h » ('j') | cc/layer_tree_host.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer.cc
diff --git a/cc/layer.cc b/cc/layer.cc
index bc0280302b893bb30a3cbf9c6431ef9060900f3c..be044a32c93f0de8bf3c95cad99584a4a2923a07 100644
--- a/cc/layer.cc
+++ b/cc/layer.cc
@@ -396,6 +396,10 @@ bool Layer::OpacityIsAnimating() const {
return layer_animation_controller_->IsAnimatingProperty(Animation::Opacity);
}
+bool Layer::DoNotSkipOnZeroOpacity() const {
+ return false;
+}
+
void Layer::SetContentsOpaque(bool opaque) {
if (contents_opaque_ == opaque)
return;
« no previous file with comments | « cc/layer.h ('k') | cc/layer_tree_host.h » ('j') | cc/layer_tree_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698