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

Unified Diff: cc/layers/layer.cc

Issue 2453553003: Disable overlay scrollbars in Blink when hidden by the compositor. (Closed)
Patch Set: Rebase Created 4 years, 2 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/layers/layer.h ('k') | cc/layers/layer_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer.cc
diff --git a/cc/layers/layer.cc b/cc/layers/layer.cc
index 517a1c6a634511b8774f01d285dcac06f1038d5d..5d17c61c978da3eff0f1566f8f9fbd19088a39c3 100644
--- a/cc/layers/layer.cc
+++ b/cc/layers/layer.cc
@@ -1611,6 +1611,11 @@ void Layer::SetMayContainVideo(bool yes) {
SetNeedsPushProperties();
}
+void Layer::SetScrollbarsHiddenFromImplSide(bool hidden) {
+ if (inputs_.client)
+ inputs_.client->didChangeScrollbarsHidden(hidden);
+}
+
bool Layer::FilterIsAnimating() const {
return GetAnimationHost()->IsAnimatingFilterProperty(
element_id(), GetElementTypeForAnimation());
« no previous file with comments | « cc/layers/layer.h ('k') | cc/layers/layer_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698