| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google 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 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 int thumbThickness(const ScrollbarThemeClient&) override; | 78 int thumbThickness(const ScrollbarThemeClient&) override; |
| 79 int thumbThickness() { return m_thumbThickness; } | 79 int thumbThickness() { return m_thumbThickness; } |
| 80 | 80 |
| 81 void paintThumb(GraphicsContext&, const Scrollbar&, const IntRect&) override; | 81 void paintThumb(GraphicsContext&, const Scrollbar&, const IntRect&) override; |
| 82 ScrollbarPart hitTest(const ScrollbarThemeClient&, const IntPoint&) override; | 82 ScrollbarPart hitTest(const ScrollbarThemeClient&, const IntPoint&) override; |
| 83 | 83 |
| 84 bool usesNinePatchThumbResource() const override; | 84 bool usesNinePatchThumbResource() const override; |
| 85 IntSize ninePatchThumbCanvasSize(const ScrollbarThemeClient&) const override; | 85 IntSize ninePatchThumbCanvasSize(const ScrollbarThemeClient&) const override; |
| 86 IntRect ninePatchThumbAperture(const ScrollbarThemeClient&) const override; | 86 IntRect ninePatchThumbAperture(const ScrollbarThemeClient&) const override; |
| 87 | 87 |
| 88 int minimumThumbLength(const ScrollbarThemeClient&) override; |
| 89 |
| 88 static ScrollbarThemeOverlay& mobileTheme(); | 90 static ScrollbarThemeOverlay& mobileTheme(); |
| 89 | 91 |
| 90 private: | 92 private: |
| 91 int m_thumbThickness; | 93 int m_thumbThickness; |
| 92 int m_scrollbarMargin; | 94 int m_scrollbarMargin; |
| 93 HitTestBehavior m_allowHitTest; | 95 HitTestBehavior m_allowHitTest; |
| 94 Color m_color; | 96 Color m_color; |
| 95 const bool m_useSolidColor; | 97 const bool m_useSolidColor; |
| 96 }; | 98 }; |
| 97 | 99 |
| 98 } // namespace blink | 100 } // namespace blink |
| 99 | 101 |
| 100 #endif | 102 #endif |
| OLD | NEW |