| Index: Source/core/platform/Scrollbar.h
|
| diff --git a/Source/core/platform/Scrollbar.h b/Source/core/platform/Scrollbar.h
|
| index 9e7500927a963be856d8931ddf05bb4f53aa530e..1e21aa4d4a7ce5dc3e4d1c0df139293d16140ed0 100644
|
| --- a/Source/core/platform/Scrollbar.h
|
| +++ b/Source/core/platform/Scrollbar.h
|
| @@ -35,12 +35,14 @@
|
|
|
| namespace WebCore {
|
|
|
| +class AXObjectCache;
|
| class GraphicsContext;
|
| class IntRect;
|
| class PlatformGestureEvent;
|
| class PlatformMouseEvent;
|
| class ScrollableArea;
|
| class ScrollbarTheme;
|
| +class ScrollView;
|
|
|
| class Scrollbar : public Widget,
|
| public ScrollbarThemeClient {
|
| @@ -58,8 +60,12 @@ public:
|
| virtual IntSize size() const { return Widget::size(); }
|
| virtual IntPoint location() const { return Widget::location(); }
|
|
|
| - virtual ScrollView* parent() const { return Widget::parent(); }
|
| - virtual ScrollView* root() const { return Widget::root(); }
|
| + virtual Widget* parent() const { return Widget::parent(); }
|
| + virtual Widget* root() const { return Widget::root(); }
|
| +
|
| + void removeFromParent();
|
| + ScrollView* parentScrollView() const;
|
| + ScrollView* rootScrollView() const;
|
|
|
| virtual void setFrameRect(const IntRect&);
|
| virtual IntRect frameRect() const { return Widget::frameRect(); }
|
|
|