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

Side by Side Diff: content/browser/renderer_host/test_render_view_host.cc

Issue 10383239: Move NativeWebKeyboardEvent to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 7 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
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/browser/renderer_host/test_backing_store.h" 5 #include "content/browser/renderer_host/test_backing_store.h"
6 #include "content/browser/renderer_host/test_render_view_host.h" 6 #include "content/browser/renderer_host/test_render_view_host.h"
7 #include "content/browser/site_instance_impl.h" 7 #include "content/browser/site_instance_impl.h"
8 #include "content/browser/web_contents/navigation_controller_impl.h" 8 #include "content/browser/web_contents/navigation_controller_impl.h"
9 #include "content/browser/web_contents/test_web_contents.h" 9 #include "content/browser/web_contents/test_web_contents.h"
10 #include "content/common/view_messages.h" 10 #include "content/common/view_messages.h"
11 #include "content/public/browser/navigation_controller.h" 11 #include "content/public/browser/navigation_controller.h"
12 #include "content/public/common/content_client.h" 12 #include "content/public/common/content_client.h"
13 #include "ui/gfx/rect.h" 13 #include "ui/gfx/rect.h"
14 #include "webkit/dom_storage/dom_storage_types.h" 14 #include "webkit/dom_storage/dom_storage_types.h"
15 #include "webkit/forms/password_form.h" 15 #include "webkit/forms/password_form.h"
16 #include "webkit/glue/webkit_glue.h" 16 #include "webkit/glue/webkit_glue.h"
17 #include "webkit/glue/webpreferences.h" 17 #include "webkit/glue/webpreferences.h"
18 18
19 using content::NativeWebKeyboardEvent;
19 using webkit::forms::PasswordForm; 20 using webkit::forms::PasswordForm;
20 21
21 namespace content { 22 namespace content {
22 23
23 void InitNavigateParams(ViewHostMsg_FrameNavigate_Params* params, 24 void InitNavigateParams(ViewHostMsg_FrameNavigate_Params* params,
24 int page_id, 25 int page_id,
25 const GURL& url, 26 const GURL& url,
26 PageTransition transition) { 27 PageTransition transition) {
27 params->page_id = page_id; 28 params->page_id = page_id;
28 params->url = url; 29 params->url = url;
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 325
325 TestRenderViewHost* RenderViewHostImplTestHarness::active_test_rvh() { 326 TestRenderViewHost* RenderViewHostImplTestHarness::active_test_rvh() {
326 return static_cast<TestRenderViewHost*>(active_rvh()); 327 return static_cast<TestRenderViewHost*>(active_rvh());
327 } 328 }
328 329
329 TestWebContents* RenderViewHostImplTestHarness::contents() { 330 TestWebContents* RenderViewHostImplTestHarness::contents() {
330 return static_cast<TestWebContents*>(web_contents()); 331 return static_cast<TestWebContents*>(web_contents());
331 } 332 }
332 333
333 } // namespace content 334 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/test_render_view_host.h ('k') | content/browser/web_contents/interstitial_page_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698