Chromium Code Reviews| 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 |