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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 static LayoutScrollbarTheme* layoutScrollbarTheme(); | 58 static LayoutScrollbarTheme* layoutScrollbarTheme(); |
59 | 59 |
60 protected: | 60 protected: |
61 bool hasButtons(const ScrollbarThemeClient&) override; | 61 bool hasButtons(const ScrollbarThemeClient&) override; |
62 bool hasThumb(const ScrollbarThemeClient&) override; | 62 bool hasThumb(const ScrollbarThemeClient&) override; |
63 | 63 |
64 IntRect backButtonRect(const ScrollbarThemeClient&, ScrollbarPart, bool pain
ting = false) override; | 64 IntRect backButtonRect(const ScrollbarThemeClient&, ScrollbarPart, bool pain
ting = false) override; |
65 IntRect forwardButtonRect(const ScrollbarThemeClient&, ScrollbarPart, bool p
ainting = false) override; | 65 IntRect forwardButtonRect(const ScrollbarThemeClient&, ScrollbarPart, bool p
ainting = false) override; |
66 IntRect trackRect(const ScrollbarThemeClient&, bool painting = false) overri
de; | 66 IntRect trackRect(const ScrollbarThemeClient&, bool painting = false) overri
de; |
67 | 67 |
68 void paintScrollbarBackground(GraphicsContext&, const ScrollbarThemeClient&)
override; | 68 void paintScrollbarBackground(GraphicsContext&, const Scrollbar&) override; |
69 void paintTrackBackground(GraphicsContext&, const ScrollbarThemeClient&, con
st IntRect&) override; | 69 void paintTrackBackground(GraphicsContext&, const Scrollbar&, const IntRect&
) override; |
70 void paintTrackPiece(GraphicsContext&, const ScrollbarThemeClient&, const In
tRect&, ScrollbarPart) override; | 70 void paintTrackPiece(GraphicsContext&, const Scrollbar&, const IntRect&, Scr
ollbarPart) override; |
71 void paintButton(GraphicsContext&, const ScrollbarThemeClient&, const IntRec
t&, ScrollbarPart) override; | 71 void paintButton(GraphicsContext&, const Scrollbar&, const IntRect&, Scrollb
arPart) override; |
72 void paintThumb(GraphicsContext&, const ScrollbarThemeClient&, const IntRect
&) override; | 72 void paintThumb(GraphicsContext&, const Scrollbar&, const IntRect&) override
; |
73 void paintTickmarks(GraphicsContext&, const ScrollbarThemeClient&, const Int
Rect&) override; | 73 void paintTickmarks(GraphicsContext&, const Scrollbar&, const IntRect&) over
ride; |
74 | 74 |
75 IntRect constrainTrackRectToTrackPieces(const ScrollbarThemeClient&, const I
ntRect&) override; | 75 IntRect constrainTrackRectToTrackPieces(const ScrollbarThemeClient&, const I
ntRect&) override; |
76 }; | 76 }; |
77 | 77 |
78 } // namespace blink | 78 } // namespace blink |
79 | 79 |
80 #endif // LayoutScrollbarTheme_h | 80 #endif // LayoutScrollbarTheme_h |
OLD | NEW |