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

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
« no previous file with comments | « third_party/WebKit/Source/web/tests/VisualViewportTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..a7585470c72e3916befcebd8688d31f77e9364c7 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 require element ids.
+ virtual void SetElementId(const cc::ElementId&) = 0;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/web/tests/VisualViewportTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698