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

Unified Diff: Source/web/WebScrollbarThemePainter.cpp

Issue 398673003: Rename WebCore namespace to blink in bindings and web (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | « Source/web/WebScriptController.cpp ('k') | Source/web/WebSearchableFormData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebScrollbarThemePainter.cpp
diff --git a/Source/web/WebScrollbarThemePainter.cpp b/Source/web/WebScrollbarThemePainter.cpp
index 8d4712a013612dc23db03a4c204729cf77b09bbc..d2f1fca61c7e47390203147fac5fa75da5a39408 100644
--- a/Source/web/WebScrollbarThemePainter.cpp
+++ b/Source/web/WebScrollbarThemePainter.cpp
@@ -32,7 +32,7 @@
#include "platform/scroll/ScrollbarTheme.h"
#include "public/platform/WebRect.h"
-using namespace WebCore;
+using namespace blink;
namespace blink {
@@ -64,42 +64,42 @@ void WebScrollbarThemePainter::paintBackTrackPart(WebCanvas* canvas, const WebRe
{
GraphicsContext context(canvas);
context.setCertainlyOpaque(false);
- m_theme->paintTrackPiece(&context, m_scrollbar, IntRect(rect), WebCore::BackTrackPart);
+ m_theme->paintTrackPiece(&context, m_scrollbar, IntRect(rect), blink::BackTrackPart);
}
void WebScrollbarThemePainter::paintForwardTrackPart(WebCanvas* canvas, const WebRect& rect)
{
GraphicsContext context(canvas);
context.setCertainlyOpaque(false);
- m_theme->paintTrackPiece(&context, m_scrollbar, IntRect(rect), WebCore::ForwardTrackPart);
+ m_theme->paintTrackPiece(&context, m_scrollbar, IntRect(rect), blink::ForwardTrackPart);
}
void WebScrollbarThemePainter::paintBackButtonStart(WebCanvas* canvas, const WebRect& rect)
{
GraphicsContext context(canvas);
context.setCertainlyOpaque(false);
- m_theme->paintButton(&context, m_scrollbar, IntRect(rect), WebCore::BackButtonStartPart);
+ m_theme->paintButton(&context, m_scrollbar, IntRect(rect), blink::BackButtonStartPart);
}
void WebScrollbarThemePainter::paintBackButtonEnd(WebCanvas* canvas, const WebRect& rect)
{
GraphicsContext context(canvas);
context.setCertainlyOpaque(false);
- m_theme->paintButton(&context, m_scrollbar, IntRect(rect), WebCore::BackButtonEndPart);
+ m_theme->paintButton(&context, m_scrollbar, IntRect(rect), blink::BackButtonEndPart);
}
void WebScrollbarThemePainter::paintForwardButtonStart(WebCanvas* canvas, const WebRect& rect)
{
GraphicsContext context(canvas);
context.setCertainlyOpaque(false);
- m_theme->paintButton(&context, m_scrollbar, IntRect(rect), WebCore::ForwardButtonStartPart);
+ m_theme->paintButton(&context, m_scrollbar, IntRect(rect), blink::ForwardButtonStartPart);
}
void WebScrollbarThemePainter::paintForwardButtonEnd(WebCanvas* canvas, const WebRect& rect)
{
GraphicsContext context(canvas);
context.setCertainlyOpaque(false);
- m_theme->paintButton(&context, m_scrollbar, IntRect(rect), WebCore::ForwardButtonEndPart);
+ m_theme->paintButton(&context, m_scrollbar, IntRect(rect), blink::ForwardButtonEndPart);
}
void WebScrollbarThemePainter::paintTickmarks(WebCanvas* canvas, const WebRect& rect)
@@ -116,7 +116,7 @@ void WebScrollbarThemePainter::paintThumb(WebCanvas* canvas, const WebRect& rect
m_theme->paintThumb(&context, m_scrollbar, IntRect(rect));
}
-WebScrollbarThemePainter::WebScrollbarThemePainter(WebCore::ScrollbarTheme* theme, WebCore::Scrollbar* scrollbar)
+WebScrollbarThemePainter::WebScrollbarThemePainter(blink::ScrollbarTheme* theme, blink::Scrollbar* scrollbar)
: m_theme(theme)
, m_scrollbar(scrollbar)
{
« no previous file with comments | « Source/web/WebScriptController.cpp ('k') | Source/web/WebSearchableFormData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698