| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple 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 13 matching lines...) Expand all Loading... |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #ifndef ScrollbarThemeMac_h | 26 #ifndef ScrollbarThemeMac_h |
| 27 #define ScrollbarThemeMac_h | 27 #define ScrollbarThemeMac_h |
| 28 | 28 |
| 29 #include "platform/mac/NSScrollerImpDetails.h" | 29 #include "platform/mac/NSScrollerImpDetails.h" |
| 30 #include "platform/scroll/ScrollbarTheme.h" | 30 #include "platform/scroll/ScrollbarTheme.h" |
| 31 | 31 |
| 32 typedef id ScrollbarPainter; | 32 typedef id ScrollbarPainter; |
| 33 | 33 |
| 34 class SkCanvas; | |
| 35 | |
| 36 namespace blink { | 34 namespace blink { |
| 37 | 35 |
| 38 class Pattern; | 36 class Pattern; |
| 39 | 37 |
| 40 class PLATFORM_EXPORT ScrollbarThemeMac : public ScrollbarTheme { | 38 class PLATFORM_EXPORT ScrollbarThemeMac : public ScrollbarTheme { |
| 41 public: | 39 public: |
| 42 ~ScrollbarThemeMac() override; | 40 ~ScrollbarThemeMac() override; |
| 43 | 41 |
| 44 void registerScrollbar(ScrollbarThemeClient&) override; | 42 void registerScrollbar(ScrollbarThemeClient&) override; |
| 45 void unregisterScrollbar(ScrollbarThemeClient&) override; | 43 void unregisterScrollbar(ScrollbarThemeClient&) override; |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 | 108 |
| 111 int minimumThumbLength(const ScrollbarThemeClient&) override; | 109 int minimumThumbLength(const ScrollbarThemeClient&) override; |
| 112 | 110 |
| 113 int tickmarkBorderWidth() override { return 1; } | 111 int tickmarkBorderWidth() override { return 1; } |
| 114 | 112 |
| 115 RefPtr<Pattern> m_overhangPattern; | 113 RefPtr<Pattern> m_overhangPattern; |
| 116 }; | 114 }; |
| 117 } | 115 } |
| 118 | 116 |
| 119 #endif // ScrollbarThemeMac_h | 117 #endif // ScrollbarThemeMac_h |
| OLD | NEW |