Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Unified Diff: public/platform/WebScrollbarThemePainter.h

Issue 462843003: Cleanup namespace usage in public/platform/{Web[P-W]*,linux/*}.h (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « public/platform/WebScrollbarLayer.h ('k') | public/platform/WebSerializedOrigin.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebScrollbarThemePainter.h
diff --git a/public/platform/WebScrollbarThemePainter.h b/public/platform/WebScrollbarThemePainter.h
index 5de5ca0ab8b55ae7ffd8a9bb594da5b8c4a5300c..48d1169e3ff4c1bad180e431229a9cf22463b7c8 100644
--- a/public/platform/WebScrollbarThemePainter.h
+++ b/public/platform/WebScrollbarThemePainter.h
@@ -29,12 +29,9 @@
#include "WebCanvas.h"
namespace blink {
+
class ScrollbarTheme;
class Scrollbar;
-};
-
-namespace blink {
-
class WebScrollbar;
struct WebRect;
@@ -63,7 +60,7 @@ public:
BLINK_EXPORT void paintThumb(WebCanvas*, const WebRect&);
#if BLINK_IMPLEMENTATION
- WebScrollbarThemePainter(blink::ScrollbarTheme*, blink::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.
- blink::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.
- blink::Scrollbar* m_scrollbar;
+ Scrollbar* m_scrollbar;
};
} // namespace blink
« no previous file with comments | « public/platform/WebScrollbarLayer.h ('k') | public/platform/WebSerializedOrigin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698