Chromium Code Reviews| 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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<CommandLine> command_line_; |
| 141 | 141 |
| 142 #if defined(OS_MACOSX) | |
| 143 scoped_ptr<base::mac::ScopedNSAutoreleasePool> autorelease_pool_; | |
|
Nico
2014/02/04 16:12:51
Does this have to be a scoped_ptr? A regular membe
tasak
2014/02/05 04:23:02
I would like to make ScopedNSAutoreleasePool's lif
| |
| 144 #endif | |
| 145 | |
| 142 private: | 146 private: |
| 143 void GoToOffset(int offset, const blink::WebHistoryItem& history_item); | 147 void GoToOffset(int offset, const blink::WebHistoryItem& history_item); |
| 144 }; | 148 }; |
| 145 | 149 |
| 146 } // namespace content | 150 } // namespace content |
| 147 | 151 |
| 148 #endif // CONTENT_PUBLIC_TEST_RENDER_VIEW_TEST_H_ | 152 #endif // CONTENT_PUBLIC_TEST_RENDER_VIEW_TEST_H_ |
| OLD | NEW |