| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 int height() const override { return Widget::height(); } | 74 int height() const override { return Widget::height(); } |
| 75 IntSize size() const override { return Widget::size(); } | 75 IntSize size() const override { return Widget::size(); } |
| 76 IntPoint location() const override { return Widget::location(); } | 76 IntPoint location() const override { return Widget::location(); } |
| 77 | 77 |
| 78 Widget* parent() const override { return Widget::parent(); } | 78 Widget* parent() const override { return Widget::parent(); } |
| 79 Widget* root() const override { return Widget::root(); } | 79 Widget* root() const override { return Widget::root(); } |
| 80 | 80 |
| 81 void setFrameRect(const IntRect&) override; | 81 void setFrameRect(const IntRect&) override; |
| 82 IntRect frameRect() const override { return Widget::frameRect(); } | 82 IntRect frameRect() const override { return Widget::frameRect(); } |
| 83 | 83 |
| 84 ScrollbarOverlayStyle getScrollbarOverlayStyle() const override; | 84 ScrollbarOverlayColorTheme getScrollbarOverlayColorTheme() const override; |
| 85 void getTickmarks(Vector<IntRect>&) const override; | 85 void getTickmarks(Vector<IntRect>&) const override; |
| 86 bool isScrollableAreaActive() const override; | 86 bool isScrollableAreaActive() const override; |
| 87 | 87 |
| 88 IntPoint convertFromRootFrame( | 88 IntPoint convertFromRootFrame( |
| 89 const IntPoint& pointInRootFrame) const override { | 89 const IntPoint& pointInRootFrame) const override { |
| 90 return Widget::convertFromRootFrame(pointInRootFrame); | 90 return Widget::convertFromRootFrame(pointInRootFrame); |
| 91 } | 91 } |
| 92 | 92 |
| 93 bool isCustomScrollbar() const override { return false; } | 93 bool isCustomScrollbar() const override { return false; } |
| 94 ScrollbarOrientation orientation() const override { return m_orientation; } | 94 ScrollbarOrientation orientation() const override { return m_orientation; } |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 | 255 |
| 256 DEFINE_TYPE_CASTS(Scrollbar, | 256 DEFINE_TYPE_CASTS(Scrollbar, |
| 257 Widget, | 257 Widget, |
| 258 widget, | 258 widget, |
| 259 widget->isScrollbar(), | 259 widget->isScrollbar(), |
| 260 widget.isScrollbar()); | 260 widget.isScrollbar()); |
| 261 | 261 |
| 262 } // namespace blink | 262 } // namespace blink |
| 263 | 263 |
| 264 #endif // Scrollbar_h | 264 #endif // Scrollbar_h |
| OLD | NEW |