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

Unified Diff: Source/web/tests/WebFrameTest.cpp

Issue 61773005: Rename WebKit namespace to blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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/tests/ViewportTest.cpp ('k') | Source/web/tests/WebImageTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/WebFrameTest.cpp
diff --git a/Source/web/tests/WebFrameTest.cpp b/Source/web/tests/WebFrameTest.cpp
index cf31b95ea6e3288c3effe7502bf6edad1f8b1e01..4de15aa1ea8f602532fe69b5fb337eef75e64f03 100644
--- a/Source/web/tests/WebFrameTest.cpp
+++ b/Source/web/tests/WebFrameTest.cpp
@@ -89,15 +89,15 @@
#include "wtf/Forward.h"
#include <map>
-using namespace WebKit;
+using namespace blink;
using WebCore::Document;
using WebCore::DocumentMarker;
using WebCore::Element;
using WebCore::FloatRect;
using WebCore::HitTestRequest;
using WebCore::Range;
-using WebKit::URLTestHelpers::toKURL;
-using WebKit::FrameTestHelpers::runPendingTasks;
+using blink::URLTestHelpers::toKURL;
+using blink::FrameTestHelpers::runPendingTasks;
namespace {
@@ -2093,7 +2093,7 @@ TEST_F(WebFrameTest, updateOverlayScrollbarLayers)
EXPECT_FALSE(view->renderView()->compositor()->layerForVerticalScrollbar());
}
-void setScaleAndScrollAndLayout(WebKit::WebView* webView, WebPoint scroll, float scale)
+void setScaleAndScrollAndLayout(blink::WebView* webView, WebPoint scroll, float scale)
{
webView->setPageScaleFactor(scale, WebPoint(scroll.x, scroll.y));
webView->layout();
@@ -4043,7 +4043,7 @@ class SpellCheckClient : public WebSpellCheckClient {
public:
explicit SpellCheckClient(uint32_t hash = 0) : m_numberOfTimesChecked(0), m_hash(hash) { }
virtual ~SpellCheckClient() { }
- virtual void requestCheckingOfText(const WebKit::WebString&, const WebKit::WebVector<uint32_t>&, const WebKit::WebVector<unsigned>&, WebKit::WebTextCheckingCompletion* completion) OVERRIDE
+ virtual void requestCheckingOfText(const blink::WebString&, const blink::WebVector<uint32_t>&, const blink::WebVector<unsigned>&, blink::WebTextCheckingCompletion* completion) OVERRIDE
{
++m_numberOfTimesChecked;
Vector<WebTextCheckingResult> results;
@@ -4150,10 +4150,10 @@ public:
virtual ~StubbornSpellCheckClient() { }
virtual void requestCheckingOfText(
- const WebKit::WebString&,
- const WebKit::WebVector<uint32_t>&,
- const WebKit::WebVector<unsigned>&,
- WebKit::WebTextCheckingCompletion* completion) OVERRIDE
+ const blink::WebString&,
+ const blink::WebVector<uint32_t>&,
+ const blink::WebVector<unsigned>&,
+ blink::WebTextCheckingCompletion* completion) OVERRIDE
{
m_completion = completion;
}
@@ -4190,7 +4190,7 @@ private:
m_completion = 0;
}
- WebKit::WebTextCheckingCompletion* m_completion;
+ blink::WebTextCheckingCompletion* m_completion;
};
TEST_F(WebFrameTest, SlowSpellcheckMarkerPosition)
« no previous file with comments | « Source/web/tests/ViewportTest.cpp ('k') | Source/web/tests/WebImageTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698