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

Side by Side Diff: content/test/render_view_test.h

Issue 8387039: Move content_restriction.h and main_function_params.h to content/public/common, and put them in t... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/test/browser_test_base.cc ('k') | content/test/render_view_test.cc » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CONTENT_TEST_RENDER_VIEW_TEST_H_ 5 #ifndef CONTENT_TEST_RENDER_VIEW_TEST_H_
6 #define CONTENT_TEST_RENDER_VIEW_TEST_H_ 6 #define CONTENT_TEST_RENDER_VIEW_TEST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/message_loop.h" 13 #include "base/message_loop.h"
14 #include "content/common/main_function_params.h"
15 #include "content/public/browser/native_web_keyboard_event.h" 14 #include "content/public/browser/native_web_keyboard_event.h"
15 #include "content/public/common/main_function_params.h"
16 #include "content/renderer/mock_content_renderer_client.h" 16 #include "content/renderer/mock_content_renderer_client.h"
17 #include "content/renderer/renderer_webkitplatformsupport_impl.h" 17 #include "content/renderer/renderer_webkitplatformsupport_impl.h"
18 #include "content/test/mock_keyboard.h" 18 #include "content/test/mock_keyboard.h"
19 #include "content/test/mock_render_thread.h" 19 #include "content/test/mock_render_thread.h"
20 #include "testing/gtest/include/gtest/gtest.h" 20 #include "testing/gtest/include/gtest/gtest.h"
21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
22 22
23 class MockRenderProcess; 23 class MockRenderProcess;
24 class RendererMainPlatformDelegate; 24 class RendererMainPlatformDelegate;
25 struct ViewMsg_Navigate_Params; 25 struct ViewMsg_Navigate_Params;
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 // We use a naked pointer because we don't want to expose RenderViewImpl in 116 // We use a naked pointer because we don't want to expose RenderViewImpl in
117 // the embedder's namespace. 117 // the embedder's namespace.
118 content::RenderView* view_; 118 content::RenderView* view_;
119 RendererWebKitPlatformSupportImplNoSandbox webkit_platform_support_; 119 RendererWebKitPlatformSupportImplNoSandbox webkit_platform_support_;
120 MockContentRendererClient mock_content_renderer_client_; 120 MockContentRendererClient mock_content_renderer_client_;
121 scoped_ptr<MockKeyboard> mock_keyboard_; 121 scoped_ptr<MockKeyboard> mock_keyboard_;
122 scoped_ptr<MockRenderThread> render_thread_; 122 scoped_ptr<MockRenderThread> render_thread_;
123 123
124 // Used to setup the process so renderers can run. 124 // Used to setup the process so renderers can run.
125 scoped_ptr<RendererMainPlatformDelegate> platform_; 125 scoped_ptr<RendererMainPlatformDelegate> platform_;
126 scoped_ptr<MainFunctionParams> params_; 126 scoped_ptr<content::MainFunctionParams> params_;
127 scoped_ptr<CommandLine> command_line_; 127 scoped_ptr<CommandLine> command_line_;
128 }; 128 };
129 129
130 } // namespace content 130 } // namespace content
131 131
132 #endif // CONTENT_TEST_RENDER_VIEW_TEST_H_ 132 #endif // CONTENT_TEST_RENDER_VIEW_TEST_H_
OLDNEW
« no previous file with comments | « content/test/browser_test_base.cc ('k') | content/test/render_view_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698