| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 int scrollbarMargin, | 44 int scrollbarMargin, |
| 45 HitTestBehavior, | 45 HitTestBehavior, |
| 46 Color); | 46 Color); |
| 47 ~ScrollbarThemeOverlay() override {} | 47 ~ScrollbarThemeOverlay() override {} |
| 48 | 48 |
| 49 bool shouldRepaintAllPartsOnInvalidation() const override; | 49 bool shouldRepaintAllPartsOnInvalidation() const override; |
| 50 | 50 |
| 51 ScrollbarPart invalidateOnThumbPositionChange( | 51 ScrollbarPart invalidateOnThumbPositionChange( |
| 52 const ScrollbarThemeClient&, | 52 const ScrollbarThemeClient&, |
| 53 float oldPosition, | 53 float oldPosition, |
| 54 float newPosition) const override; | 54 float newPosition, |
| 55 bool hitBeginOrEndChanged) const override; |
| 55 | 56 |
| 56 ScrollbarPart invalidateOnEnabledChange() const override; | 57 ScrollbarPart invalidateOnEnabledChange() const override; |
| 57 | 58 |
| 58 int scrollbarThickness(ScrollbarControlSize) override; | 59 int scrollbarThickness(ScrollbarControlSize) override; |
| 59 int scrollbarMargin() const override; | 60 int scrollbarMargin() const override; |
| 60 bool usesOverlayScrollbars() const override; | 61 bool usesOverlayScrollbars() const override; |
| 61 double overlayScrollbarFadeOutDelaySeconds() const override; | 62 double overlayScrollbarFadeOutDelaySeconds() const override; |
| 62 double overlayScrollbarFadeOutDurationSeconds() const override; | 63 double overlayScrollbarFadeOutDurationSeconds() const override; |
| 63 | 64 |
| 64 int thumbPosition(const ScrollbarThemeClient&, float scrollPosition) override; | 65 int thumbPosition(const ScrollbarThemeClient&, float scrollPosition) override; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 91 int m_thumbThickness; | 92 int m_thumbThickness; |
| 92 int m_scrollbarMargin; | 93 int m_scrollbarMargin; |
| 93 HitTestBehavior m_allowHitTest; | 94 HitTestBehavior m_allowHitTest; |
| 94 Color m_color; | 95 Color m_color; |
| 95 const bool m_useSolidColor; | 96 const bool m_useSolidColor; |
| 96 }; | 97 }; |
| 97 | 98 |
| 98 } // namespace blink | 99 } // namespace blink |
| 99 | 100 |
| 100 #endif | 101 #endif |
| OLD | NEW |