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

Unified Diff: content/public/test/render_view_fake_resources_test.cc

Issue 63253002: Rename WebKit namespace to blink (part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 | « content/public/test/render_view_fake_resources_test.h ('k') | content/public/test/render_view_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/render_view_fake_resources_test.cc
diff --git a/content/public/test/render_view_fake_resources_test.cc b/content/public/test/render_view_fake_resources_test.cc
index e76ed5af214cd93cc2b171ac308accdb806a6153..63fd31aa889afe090390be37ca9fec38c211f829 100644
--- a/content/public/test/render_view_fake_resources_test.cc
+++ b/content/public/test/render_view_fake_resources_test.cc
@@ -113,20 +113,20 @@ RenderView* RenderViewFakeResourcesTest::view() {
return view_;
}
-WebKit::WebFrame* RenderViewFakeResourcesTest::GetMainFrame() {
+blink::WebFrame* RenderViewFakeResourcesTest::GetMainFrame() {
return view_->GetWebView()->mainFrame();
}
void RenderViewFakeResourcesTest::LoadURL(const std::string& url) {
GURL g_url(url);
- GetMainFrame()->loadRequest(WebKit::WebURLRequest(g_url));
+ GetMainFrame()->loadRequest(blink::WebURLRequest(g_url));
message_loop_.Run();
}
void RenderViewFakeResourcesTest::LoadURLWithPost(const std::string& url) {
GURL g_url(url);
- WebKit::WebURLRequest request(g_url);
- request.setHTTPMethod(WebKit::WebString::fromUTF8("POST"));
+ blink::WebURLRequest request(g_url);
+ request.setHTTPMethod(blink::WebString::fromUTF8("POST"));
GetMainFrame()->loadRequest(request);
message_loop_.Run();
}
@@ -136,7 +136,7 @@ void RenderViewFakeResourcesTest::GoBack() {
}
void RenderViewFakeResourcesTest::GoForward(
- const WebKit::WebHistoryItem& history_item) {
+ const blink::WebHistoryItem& history_item) {
GoToOffset(1, history_item);
}
@@ -203,7 +203,7 @@ void RenderViewFakeResourcesTest::OnRenderViewReady() {
void RenderViewFakeResourcesTest::GoToOffset(
int offset,
- const WebKit::WebHistoryItem& history_item) {
+ const blink::WebHistoryItem& history_item) {
RenderViewImpl* impl = static_cast<RenderViewImpl*>(view_);
ViewMsg_Navigate_Params params;
params.page_id = impl->GetPageId() + offset;
« no previous file with comments | « content/public/test/render_view_fake_resources_test.h ('k') | content/public/test/render_view_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698