Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / public / platform / WebScrollbarThemePainter.h
index 1417c0b..48d1169 100644 (file)
 
 #include "WebCanvas.h"
 
-namespace WebCore {
-class ScrollbarTheme;
-class Scrollbar;
-};
-
 namespace blink {
 
+class ScrollbarTheme;
+class Scrollbar;
 class WebScrollbar;
 struct WebRect;
 
@@ -63,7 +60,7 @@ public:
     BLINK_EXPORT void paintThumb(WebCanvas*, const WebRect&);
 
 #if BLINK_IMPLEMENTATION
-    WebScrollbarThemePainter(WebCore::ScrollbarTheme*, WebCore::Scrollbar*);
+    WebScrollbarThemePainter(ScrollbarTheme*, Scrollbar*);
 #endif
 
 private:
@@ -71,13 +68,13 @@ 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