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

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

Issue 11346016: Move remaining content test code into the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 2 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 | « content/public/test/render_view_test.h ('k') | content/public/test/test_content_client_initializer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/render_view_test.cc
===================================================================
--- content/public/test/render_view_test.cc (revision 164732)
+++ content/public/test/render_view_test.cc (working copy)
@@ -33,7 +33,6 @@
using WebKit::WebScriptSource;
using WebKit::WebString;
using WebKit::WebURLRequest;
-using content::NativeWebKeyboardEvent;
namespace {
const int32 kOpenerId = -2;
@@ -137,7 +136,7 @@
render_thread_->set_new_window_routing_id(kNewWindowRouteId);
command_line_.reset(new CommandLine(CommandLine::NO_PROGRAM));
- params_.reset(new content::MainFunctionParams(*command_line_));
+ params_.reset(new MainFunctionParams(*command_line_));
platform_.reset(new RendererMainPlatformDelegate(*params_));
platform_->PlatformInitialize();
@@ -163,7 +162,7 @@
RenderViewImpl* view = RenderViewImpl::Create(
0,
kOpenerId,
- content::RendererPreferences(),
+ RendererPreferences(),
webkit_glue::WebPreferences(),
new SharedRenderViewCounter(0),
kRouteId,
@@ -355,7 +354,7 @@
ViewMsg_Navigate_Params navigate_params;
navigate_params.navigation_type = ViewMsg_Navigate_Type::NORMAL;
- navigate_params.transition = content::PAGE_TRANSITION_FORWARD_BACK;
+ navigate_params.transition = PAGE_TRANSITION_FORWARD_BACK;
navigate_params.current_history_list_length = history_list_length;
navigate_params.current_history_list_offset = impl->history_list_offset();
navigate_params.pending_history_list_offset = pending_offset;
« no previous file with comments | « content/public/test/render_view_test.h ('k') | content/public/test/test_content_client_initializer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698