| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 BLINK_PLATFORM_EXPORT void paintBackTrackPart(WebCanvas*, const WebRect&); | 57 BLINK_PLATFORM_EXPORT void paintBackTrackPart(WebCanvas*, const WebRect&); |
| 58 BLINK_PLATFORM_EXPORT void paintForwardTrackPart(WebCanvas*, const WebRect&); | 58 BLINK_PLATFORM_EXPORT void paintForwardTrackPart(WebCanvas*, const WebRect&); |
| 59 BLINK_PLATFORM_EXPORT void paintBackButtonStart(WebCanvas*, const WebRect&); | 59 BLINK_PLATFORM_EXPORT void paintBackButtonStart(WebCanvas*, const WebRect&); |
| 60 BLINK_PLATFORM_EXPORT void paintBackButtonEnd(WebCanvas*, const WebRect&); | 60 BLINK_PLATFORM_EXPORT void paintBackButtonEnd(WebCanvas*, const WebRect&); |
| 61 BLINK_PLATFORM_EXPORT void paintForwardButtonStart(WebCanvas*, | 61 BLINK_PLATFORM_EXPORT void paintForwardButtonStart(WebCanvas*, |
| 62 const WebRect&); | 62 const WebRect&); |
| 63 BLINK_PLATFORM_EXPORT void paintForwardButtonEnd(WebCanvas*, const WebRect&); | 63 BLINK_PLATFORM_EXPORT void paintForwardButtonEnd(WebCanvas*, const WebRect&); |
| 64 BLINK_PLATFORM_EXPORT void paintTickmarks(WebCanvas*, const WebRect&); | 64 BLINK_PLATFORM_EXPORT void paintTickmarks(WebCanvas*, const WebRect&); |
| 65 BLINK_PLATFORM_EXPORT void paintThumb(WebCanvas*, const WebRect&); | 65 BLINK_PLATFORM_EXPORT void paintThumb(WebCanvas*, const WebRect&); |
| 66 | 66 |
| 67 // This opacity is applied on top of the content that is painted for the thumb
. | 67 // This opacity is applied on top of the content that is painted for the |
| 68 // thumb. |
| 68 BLINK_PLATFORM_EXPORT float thumbOpacity() const; | 69 BLINK_PLATFORM_EXPORT float thumbOpacity() const; |
| 69 | 70 |
| 70 BLINK_PLATFORM_EXPORT bool trackNeedsRepaint() const; | 71 BLINK_PLATFORM_EXPORT bool trackNeedsRepaint() const; |
| 71 BLINK_PLATFORM_EXPORT bool thumbNeedsRepaint() const; | 72 BLINK_PLATFORM_EXPORT bool thumbNeedsRepaint() const; |
| 72 | 73 |
| 73 #if INSIDE_BLINK | 74 #if INSIDE_BLINK |
| 74 BLINK_PLATFORM_EXPORT WebScrollbarThemePainter(ScrollbarTheme&, | 75 BLINK_PLATFORM_EXPORT WebScrollbarThemePainter(ScrollbarTheme&, |
| 75 Scrollbar&, | 76 Scrollbar&, |
| 76 float deviceScaleFactor); | 77 float deviceScaleFactor); |
| 77 #endif | 78 #endif |
| (...skipping 10 matching lines...) Expand all Loading... |
| 88 // scrollbar (and not a WebScrollbar wrapper) due to static_casts for | 89 // scrollbar (and not a WebScrollbar wrapper) due to static_casts for |
| 89 // LayoutScrollbar and pointer-based HashMap lookups for Lion scrollbars. | 90 // LayoutScrollbar and pointer-based HashMap lookups for Lion scrollbars. |
| 90 WebPrivatePtr<Scrollbar> m_scrollbar; | 91 WebPrivatePtr<Scrollbar> m_scrollbar; |
| 91 | 92 |
| 92 float m_deviceScaleFactor; | 93 float m_deviceScaleFactor; |
| 93 }; | 94 }; |
| 94 | 95 |
| 95 } // namespace blink | 96 } // namespace blink |
| 96 | 97 |
| 97 #endif | 98 #endif |
| OLD | NEW |