#include "WebCanvas.h"
-namespace WebCore {
-class ScrollbarTheme;
-class Scrollbar;
-};
-
namespace blink {
+class ScrollbarTheme;
+class Scrollbar;
class WebScrollbar;
struct WebRect;
BLINK_EXPORT void paintThumb(WebCanvas*, const WebRect&);
#if BLINK_IMPLEMENTATION
- WebScrollbarThemePainter(WebCore::ScrollbarTheme*, WebCore::Scrollbar*);
+ WebScrollbarThemePainter(ScrollbarTheme*, Scrollbar*);
#endif
private:
// static pointer and its lifetime is essentially infinite. The functions
// called from the painter may not be thread-safe, so all calls must be made
// from the same thread that it is created on.
- WebCore::ScrollbarTheme* m_theme;
+ ScrollbarTheme* m_theme;
// It is assumed that the constructor of this paint object is responsible
// for the lifetime of this scrollbar. The painter has to use the real
// scrollbar (and not a WebScrollbar wrapper) due to static_casts for
// RenderScrollbar and pointer-based HashMap lookups for Lion scrollbars.
- WebCore::Scrollbar* m_scrollbar;
+ Scrollbar* m_scrollbar;
};
} // namespace blink