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

Unified Diff: third_party/WebKit/public/platform/WebScrollbarLayer.h

Issue 2877033002: Fix cc scrollbar layer issues with initialization, and use element ids throughout. (Closed)
Patch Set: none Created 3 years, 7 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: third_party/WebKit/public/platform/WebScrollbarLayer.h
diff --git a/third_party/WebKit/public/platform/WebScrollbarLayer.h b/third_party/WebKit/public/platform/WebScrollbarLayer.h
index 90975049324692f4bdd234b3d0c7731c63defc29..f9fa89bec2e32a4b13df4f4f2f145efea3da706e 100644
--- a/third_party/WebKit/public/platform/WebScrollbarLayer.h
+++ b/third_party/WebKit/public/platform/WebScrollbarLayer.h
@@ -30,6 +30,11 @@
#include "WebScrollbarThemeGeometry.h"
#include "WebScrollbarThemePainter.h"
+namespace cc {
+
+struct ElementId;
+}
+
namespace blink {
class WebScrollbarLayer {
@@ -39,6 +44,12 @@ class WebScrollbarLayer {
virtual WebLayer* Layer() = 0;
virtual void SetScrollLayer(WebLayer*) = 0;
+
+ // This is an element id for the scrollbar, not the scrolling layer.
+ // This is not to be confused with scrolling_element_id, which is the
+ // element id of the scrolling layer that has a scrollbar.
+ // All scrollbar layers reqiure element ids.
wkorman 2017/05/12 22:29:39 require
chrishtr 2017/05/12 23:44:16 Done.
+ virtual void SetElementId(const cc::ElementId&) = 0;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698