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

Side by Side Diff: content/test/test_render_view_host.cc

Issue 357203003: Move webpreferences.* from webkit/ to content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android fix - webview() -> web_view 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/shell/renderer/webkit_test_runner.cc ('k') | content/test/test_web_contents.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/test/test_render_view_host.h" 5 #include "content/test/test_render_view_host.h"
6 6
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "content/browser/dom_storage/dom_storage_context_wrapper.h" 8 #include "content/browser/dom_storage/dom_storage_context_wrapper.h"
9 #include "content/browser/dom_storage/session_storage_namespace_impl.h" 9 #include "content/browser/dom_storage/session_storage_namespace_impl.h"
10 #include "content/browser/site_instance_impl.h" 10 #include "content/browser/site_instance_impl.h"
11 #include "content/common/dom_storage/dom_storage_types.h" 11 #include "content/common/dom_storage/dom_storage_types.h"
12 #include "content/common/frame_messages.h" 12 #include "content/common/frame_messages.h"
13 #include "content/common/view_messages.h" 13 #include "content/common/view_messages.h"
14 #include "content/public/browser/browser_context.h" 14 #include "content/public/browser/browser_context.h"
15 #include "content/public/browser/navigation_controller.h" 15 #include "content/public/browser/navigation_controller.h"
16 #include "content/public/browser/storage_partition.h" 16 #include "content/public/browser/storage_partition.h"
17 #include "content/public/common/content_client.h" 17 #include "content/public/common/content_client.h"
18 #include "content/public/common/page_state.h" 18 #include "content/public/common/page_state.h"
19 #include "content/public/common/web_preferences.h"
19 #include "content/test/test_web_contents.h" 20 #include "content/test/test_web_contents.h"
20 #include "media/base/video_frame.h" 21 #include "media/base/video_frame.h"
21 #include "ui/gfx/rect.h" 22 #include "ui/gfx/rect.h"
22 #include "webkit/common/webpreferences.h"
23 23
24 namespace content { 24 namespace content {
25 25
26 void InitNavigateParams(FrameHostMsg_DidCommitProvisionalLoad_Params* params, 26 void InitNavigateParams(FrameHostMsg_DidCommitProvisionalLoad_Params* params,
27 int page_id, 27 int page_id,
28 const GURL& url, 28 const GURL& url,
29 PageTransition transition) { 29 PageTransition transition) {
30 params->page_id = page_id; 30 params->page_id = page_id;
31 params->url = url; 31 params->url = url;
32 params->referrer = Referrer(); 32 params->referrer = Referrer();
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 387
388 TestRenderFrameHost* RenderViewHostImplTestHarness::main_test_rfh() { 388 TestRenderFrameHost* RenderViewHostImplTestHarness::main_test_rfh() {
389 return static_cast<TestRenderFrameHost*>(main_rfh()); 389 return static_cast<TestRenderFrameHost*>(main_rfh());
390 } 390 }
391 391
392 TestWebContents* RenderViewHostImplTestHarness::contents() { 392 TestWebContents* RenderViewHostImplTestHarness::contents() {
393 return static_cast<TestWebContents*>(web_contents()); 393 return static_cast<TestWebContents*>(web_contents());
394 } 394 }
395 395
396 } // namespace content 396 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/renderer/webkit_test_runner.cc ('k') | content/test/test_web_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698