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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 HitTestBehavior); | 42 HitTestBehavior); |
43 ScrollbarThemeOverlay(int thumbThickness, | 43 ScrollbarThemeOverlay(int thumbThickness, |
44 int scrollbarMargin, | 44 int scrollbarMargin, |
45 HitTestBehavior, | 45 HitTestBehavior, |
46 Color); | 46 Color); |
47 ~ScrollbarThemeOverlay() override {} | 47 ~ScrollbarThemeOverlay() override {} |
48 | 48 |
49 int scrollbarThickness(ScrollbarControlSize) override; | 49 int scrollbarThickness(ScrollbarControlSize) override; |
50 int scrollbarMargin() const override; | 50 int scrollbarMargin() const override; |
51 bool usesOverlayScrollbars() const override; | 51 bool usesOverlayScrollbars() const override; |
| 52 double overlayScrollbarFadeOutDelaySeconds() const override; |
| 53 double overlayScrollbarFadeOutDurationSeconds() const override; |
52 | 54 |
53 int thumbPosition(const ScrollbarThemeClient&, float scrollPosition) override; | 55 int thumbPosition(const ScrollbarThemeClient&, float scrollPosition) override; |
54 int thumbLength(const ScrollbarThemeClient&) override; | 56 int thumbLength(const ScrollbarThemeClient&) override; |
55 | 57 |
56 bool hasButtons(const ScrollbarThemeClient&) override { return false; } | 58 bool hasButtons(const ScrollbarThemeClient&) override { return false; } |
57 bool hasThumb(const ScrollbarThemeClient&) override; | 59 bool hasThumb(const ScrollbarThemeClient&) override; |
58 | 60 |
59 IntRect backButtonRect(const ScrollbarThemeClient&, | 61 IntRect backButtonRect(const ScrollbarThemeClient&, |
60 ScrollbarPart, | 62 ScrollbarPart, |
61 bool painting = false) override; | 63 bool painting = false) override; |
(...skipping 14 matching lines...) Expand all Loading... |
76 int m_thumbThickness; | 78 int m_thumbThickness; |
77 int m_scrollbarMargin; | 79 int m_scrollbarMargin; |
78 HitTestBehavior m_allowHitTest; | 80 HitTestBehavior m_allowHitTest; |
79 Color m_color; | 81 Color m_color; |
80 const bool m_useSolidColor; | 82 const bool m_useSolidColor; |
81 }; | 83 }; |
82 | 84 |
83 } // namespace blink | 85 } // namespace blink |
84 | 86 |
85 #endif | 87 #endif |
OLD | NEW |