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 #include "content/public/test/mock_render_thread.h" | 5 #include "content/public/test/mock_render_thread.h" |
6 | 6 |
7 #include "base/process_util.h" | 7 #include "base/process_util.h" |
8 #include "base/message_loop_proxy.h" | 8 #include "base/message_loop_proxy.h" |
9 #include "content/common/view_messages.h" | 9 #include "content/common/view_messages.h" |
10 #include "ipc/ipc_message_utils.h" | 10 #include "ipc/ipc_message_utils.h" |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 void MockRenderThread::SetIdleNotificationDelayInMs( | 169 void MockRenderThread::SetIdleNotificationDelayInMs( |
170 int64 idle_notification_delay_in_ms) { | 170 int64 idle_notification_delay_in_ms) { |
171 } | 171 } |
172 | 172 |
173 void MockRenderThread::ToggleWebKitSharedTimer(bool suspend) { | 173 void MockRenderThread::ToggleWebKitSharedTimer(bool suspend) { |
174 } | 174 } |
175 | 175 |
176 void MockRenderThread::UpdateHistograms(int sequence_number) { | 176 void MockRenderThread::UpdateHistograms(int sequence_number) { |
177 } | 177 } |
178 | 178 |
| 179 bool MockRenderThread::ResolveProxy(const GURL& url, std::string* proxy_list) { |
| 180 return false; |
| 181 } |
| 182 |
179 #if defined(OS_WIN) | 183 #if defined(OS_WIN) |
180 void MockRenderThread::PreCacheFont(const LOGFONT& log_font) { | 184 void MockRenderThread::PreCacheFont(const LOGFONT& log_font) { |
181 } | 185 } |
182 | 186 |
183 void MockRenderThread::ReleaseCachedFonts() { | 187 void MockRenderThread::ReleaseCachedFonts() { |
184 } | 188 } |
185 | 189 |
186 #endif // OS_WIN | 190 #endif // OS_WIN |
187 | 191 |
188 void MockRenderThread::SendCloseMessage() { | 192 void MockRenderThread::SendCloseMessage() { |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 void MockRenderThread::OnDuplicateSection( | 233 void MockRenderThread::OnDuplicateSection( |
230 base::SharedMemoryHandle renderer_handle, | 234 base::SharedMemoryHandle renderer_handle, |
231 base::SharedMemoryHandle* browser_handle) { | 235 base::SharedMemoryHandle* browser_handle) { |
232 // We don't have to duplicate the input handles since RenderViewTest does not | 236 // We don't have to duplicate the input handles since RenderViewTest does not |
233 // separate a browser process from a renderer process. | 237 // separate a browser process from a renderer process. |
234 *browser_handle = renderer_handle; | 238 *browser_handle = renderer_handle; |
235 } | 239 } |
236 #endif // defined(OS_WIN) | 240 #endif // defined(OS_WIN) |
237 | 241 |
238 } // namespace content | 242 } // namespace content |
OLD | NEW |