OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2006 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2004, 2006 Apple Computer, Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 virtual int x() const override { return Widget::x(); } | 56 virtual int x() const override { return Widget::x(); } |
57 virtual int y() const override { return Widget::y(); } | 57 virtual int y() const override { return Widget::y(); } |
58 virtual int width() const override { return Widget::width(); } | 58 virtual int width() const override { return Widget::width(); } |
59 virtual int height() const override { return Widget::height(); } | 59 virtual int height() const override { return Widget::height(); } |
60 virtual IntSize size() const override { return Widget::size(); } | 60 virtual IntSize size() const override { return Widget::size(); } |
61 virtual IntPoint location() const override { return Widget::location(); } | 61 virtual IntPoint location() const override { return Widget::location(); } |
62 | 62 |
63 virtual Widget* parent() const override { return Widget::parent(); } | 63 virtual Widget* parent() const override { return Widget::parent(); } |
64 virtual Widget* root() const override { return Widget::root(); } | 64 virtual Widget* root() const override { return Widget::root(); } |
65 | 65 |
66 virtual void setFrameRect(const IntRect& frameRect) override { Widget::setFr
ameRect(frameRect); } | 66 virtual void setFrameRect(const IntRect&) override; |
67 virtual IntRect frameRect() const override { return Widget::frameRect(); } | 67 virtual IntRect frameRect() const override { return Widget::frameRect(); } |
68 | 68 |
69 virtual void invalidate() override { Widget::invalidate(); } | 69 virtual void invalidate() override { Widget::invalidate(); } |
70 virtual void invalidateRect(const IntRect&) override; | 70 virtual void invalidateRect(const IntRect&) override; |
71 | 71 |
72 virtual ScrollbarOverlayStyle scrollbarOverlayStyle() const override; | 72 virtual ScrollbarOverlayStyle scrollbarOverlayStyle() const override; |
73 virtual void getTickmarks(Vector<IntRect>&) const override; | 73 virtual void getTickmarks(Vector<IntRect>&) const override; |
74 virtual bool isScrollableAreaActive() const override; | 74 virtual bool isScrollableAreaActive() const override; |
75 | 75 |
76 virtual IntPoint convertFromContainingWindow(const IntPoint& windowPoint) ov
erride { return Widget::convertFromContainingWindow(windowPoint); } | 76 virtual IntPoint convertFromContainingWindow(const IntPoint& windowPoint) ov
erride { return Widget::convertFromContainingWindow(windowPoint); } |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 virtual bool isScrollbar() const override { return true; } | 205 virtual bool isScrollbar() const override { return true; } |
206 | 206 |
207 float scrollableAreaCurrentPos() const; | 207 float scrollableAreaCurrentPos() const; |
208 }; | 208 }; |
209 | 209 |
210 DEFINE_TYPE_CASTS(Scrollbar, Widget, widget, widget->isScrollbar(), widget.isScr
ollbar()); | 210 DEFINE_TYPE_CASTS(Scrollbar, Widget, widget, widget->isScrollbar(), widget.isScr
ollbar()); |
211 | 211 |
212 } // namespace blink | 212 } // namespace blink |
213 | 213 |
214 #endif // Scrollbar_h | 214 #endif // Scrollbar_h |
OLD | NEW |