OLD | NEW |
1 | 1 |
2 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
3 // Use of this source code is governed by a BSD-style license that can be | 3 // Use of this source code is governed by a BSD-style license that can be |
4 // found in the LICENSE file. | 4 // found in the LICENSE file. |
5 | 5 |
6 #include "content/browser/browser_url_handler.h" | 6 #include "content/browser/browser_url_handler.h" |
7 #include "content/browser/renderer_host/test_backing_store.h" | 7 #include "content/browser/renderer_host/test_backing_store.h" |
8 #include "content/browser/renderer_host/test_render_view_host.h" | 8 #include "content/browser/renderer_host/test_render_view_host.h" |
9 #include "content/browser/site_instance_impl.h" | 9 #include "content/browser/site_instance_impl.h" |
10 #include "content/browser/tab_contents/navigation_controller_impl.h" | 10 #include "content/browser/tab_contents/navigation_controller_impl.h" |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 void TestRenderWidgetHostView::AcceleratedSurfaceBuffersSwapped( | 215 void TestRenderWidgetHostView::AcceleratedSurfaceBuffersSwapped( |
216 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, | 216 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, |
217 int gpu_host_id) { | 217 int gpu_host_id) { |
218 } | 218 } |
219 | 219 |
220 void TestRenderWidgetHostView::AcceleratedSurfacePostSubBuffer( | 220 void TestRenderWidgetHostView::AcceleratedSurfacePostSubBuffer( |
221 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, | 221 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, |
222 int gpu_host_id) { | 222 int gpu_host_id) { |
223 } | 223 } |
224 | 224 |
| 225 void TestRenderWidgetHostView::AcceleratedSurfaceSuspend() { |
| 226 } |
| 227 |
225 #if defined(OS_MACOSX) | 228 #if defined(OS_MACOSX) |
226 | 229 |
227 gfx::Rect TestRenderWidgetHostView::GetViewCocoaBounds() const { | 230 gfx::Rect TestRenderWidgetHostView::GetViewCocoaBounds() const { |
228 return gfx::Rect(); | 231 return gfx::Rect(); |
229 } | 232 } |
230 | 233 |
231 void TestRenderWidgetHostView::SetActive(bool active) { | 234 void TestRenderWidgetHostView::SetActive(bool active) { |
232 // <viettrungluu@gmail.com>: Do I need to do anything here? | 235 // <viettrungluu@gmail.com>: Do I need to do anything here? |
233 } | 236 } |
234 | 237 |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 SetContents(NULL); | 399 SetContents(NULL); |
397 | 400 |
398 // Make sure that we flush any messages related to TabContents destruction | 401 // Make sure that we flush any messages related to TabContents destruction |
399 // before we destroy the browser context. | 402 // before we destroy the browser context. |
400 MessageLoop::current()->RunAllPending(); | 403 MessageLoop::current()->RunAllPending(); |
401 | 404 |
402 // Release the browser context on the UI thread. | 405 // Release the browser context on the UI thread. |
403 message_loop_.DeleteSoon(FROM_HERE, browser_context_.release()); | 406 message_loop_.DeleteSoon(FROM_HERE, browser_context_.release()); |
404 message_loop_.RunAllPending(); | 407 message_loop_.RunAllPending(); |
405 } | 408 } |
OLD | NEW |