| OLD | NEW |
| 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 #ifndef CONTENT_PUBLIC_TEST_RENDER_VIEW_TEST_H_ | 5 #ifndef CONTENT_PUBLIC_TEST_RENDER_VIEW_TEST_H_ |
| 6 #define CONTENT_PUBLIC_TEST_RENDER_VIEW_TEST_H_ | 6 #define CONTENT_PUBLIC_TEST_RENDER_VIEW_TEST_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 // We use a naked pointer because we don't want to expose RenderViewImpl in | 130 // We use a naked pointer because we don't want to expose RenderViewImpl in |
| 131 // the embedder's namespace. | 131 // the embedder's namespace. |
| 132 RenderView* view_; | 132 RenderView* view_; |
| 133 RendererWebKitPlatformSupportImplNoSandbox webkit_platform_support_; | 133 RendererWebKitPlatformSupportImplNoSandbox webkit_platform_support_; |
| 134 ContentRendererClient content_renderer_client_; | 134 ContentRendererClient content_renderer_client_; |
| 135 scoped_ptr<MockRenderThread> render_thread_; | 135 scoped_ptr<MockRenderThread> render_thread_; |
| 136 | 136 |
| 137 // Used to setup the process so renderers can run. | 137 // Used to setup the process so renderers can run. |
| 138 scoped_ptr<RendererMainPlatformDelegate> platform_; | 138 scoped_ptr<RendererMainPlatformDelegate> platform_; |
| 139 scoped_ptr<MainFunctionParams> params_; | 139 scoped_ptr<MainFunctionParams> params_; |
| 140 scoped_ptr<CommandLine> command_line_; | 140 scoped_ptr<base::CommandLine> command_line_; |
| 141 | 141 |
| 142 #if defined(OS_MACOSX) | 142 #if defined(OS_MACOSX) |
| 143 scoped_ptr<base::mac::ScopedNSAutoreleasePool> autorelease_pool_; | 143 scoped_ptr<base::mac::ScopedNSAutoreleasePool> autorelease_pool_; |
| 144 #endif | 144 #endif |
| 145 | 145 |
| 146 private: | 146 private: |
| 147 void GoToOffset(int offset, const blink::WebHistoryItem& history_item); | 147 void GoToOffset(int offset, const blink::WebHistoryItem& history_item); |
| 148 }; | 148 }; |
| 149 | 149 |
| 150 } // namespace content | 150 } // namespace content |
| 151 | 151 |
| 152 #endif // CONTENT_PUBLIC_TEST_RENDER_VIEW_TEST_H_ | 152 #endif // CONTENT_PUBLIC_TEST_RENDER_VIEW_TEST_H_ |
| OLD | NEW |