| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 old_position, | 53 float old_position, |
| 54 float new_position) const override; | 54 float new_position) const override; |
| 55 | 55 |
| 56 ScrollbarPart InvalidateOnEnabledChange() const override; | |
| 57 | |
| 58 int ScrollbarThickness(ScrollbarControlSize) override; | 56 int ScrollbarThickness(ScrollbarControlSize) override; |
| 59 int ScrollbarMargin() const override; | 57 int ScrollbarMargin() const override; |
| 60 bool UsesOverlayScrollbars() const override; | 58 bool UsesOverlayScrollbars() const override; |
| 61 double OverlayScrollbarFadeOutDelaySeconds() const override; | 59 double OverlayScrollbarFadeOutDelaySeconds() const override; |
| 62 double OverlayScrollbarFadeOutDurationSeconds() const override; | 60 double OverlayScrollbarFadeOutDurationSeconds() const override; |
| 63 | 61 |
| 64 int ThumbPosition(const ScrollbarThemeClient&, | 62 int ThumbPosition(const ScrollbarThemeClient&, |
| 65 float scroll_position) override; | 63 float scroll_position) override; |
| 66 int ThumbLength(const ScrollbarThemeClient&) override; | 64 int ThumbLength(const ScrollbarThemeClient&) override; |
| 67 | 65 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 94 int thumb_thickness_; | 92 int thumb_thickness_; |
| 95 int scrollbar_margin_; | 93 int scrollbar_margin_; |
| 96 HitTestBehavior allow_hit_test_; | 94 HitTestBehavior allow_hit_test_; |
| 97 Color color_; | 95 Color color_; |
| 98 const bool use_solid_color_; | 96 const bool use_solid_color_; |
| 99 }; | 97 }; |
| 100 | 98 |
| 101 } // namespace blink | 99 } // namespace blink |
| 102 | 100 |
| 103 #endif | 101 #endif |
| OLD | NEW |