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/browser/browser_url_handler.h" | 5 #include "content/browser/browser_url_handler.h" |
6 #include "content/browser/renderer_host/test_backing_store.h" | 6 #include "content/browser/renderer_host/test_backing_store.h" |
7 #include "content/browser/renderer_host/test_render_view_host.h" | 7 #include "content/browser/renderer_host/test_render_view_host.h" |
8 #include "content/browser/site_instance_impl.h" | 8 #include "content/browser/site_instance_impl.h" |
9 #include "content/browser/tab_contents/navigation_controller_impl.h" | 9 #include "content/browser/tab_contents/navigation_controller_impl.h" |
10 #include "content/browser/tab_contents/navigation_entry_impl.h" | 10 #include "content/browser/tab_contents/navigation_entry_impl.h" |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 return NULL; | 298 return NULL; |
299 } | 299 } |
300 | 300 |
301 #if !defined(TOOLKIT_VIEWS) | 301 #if !defined(TOOLKIT_VIEWS) |
302 gfx::NativeView TestRenderWidgetHostView::BuildInputMethodsGtkMenu() { | 302 gfx::NativeView TestRenderWidgetHostView::BuildInputMethodsGtkMenu() { |
303 return NULL; | 303 return NULL; |
304 } | 304 } |
305 #endif // !defined(TOOLKIT_VIEWS) | 305 #endif // !defined(TOOLKIT_VIEWS) |
306 #endif // defined(TOOLKIT_USES_GTK) | 306 #endif // defined(TOOLKIT_USES_GTK) |
307 | 307 |
| 308 bool TestRenderWidgetHostView::CopyFromCompositingSurface( |
| 309 const gfx::Size& size, |
| 310 skia::PlatformCanvas* output) { |
| 311 return false; |
| 312 } |
| 313 |
308 gfx::GLSurfaceHandle TestRenderWidgetHostView::GetCompositingSurface() { | 314 gfx::GLSurfaceHandle TestRenderWidgetHostView::GetCompositingSurface() { |
309 return gfx::GLSurfaceHandle(); | 315 return gfx::GLSurfaceHandle(); |
310 } | 316 } |
311 | 317 |
312 bool TestRenderWidgetHostView::LockMouse() { | 318 bool TestRenderWidgetHostView::LockMouse() { |
313 return false; | 319 return false; |
314 } | 320 } |
315 | 321 |
316 void TestRenderWidgetHostView::UnlockMouse() { | 322 void TestRenderWidgetHostView::UnlockMouse() { |
317 } | 323 } |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
431 #endif | 437 #endif |
432 | 438 |
433 // Make sure that we flush any messages related to TabContents destruction | 439 // Make sure that we flush any messages related to TabContents destruction |
434 // before we destroy the browser context. | 440 // before we destroy the browser context. |
435 MessageLoop::current()->RunAllPending(); | 441 MessageLoop::current()->RunAllPending(); |
436 | 442 |
437 // Release the browser context on the UI thread. | 443 // Release the browser context on the UI thread. |
438 message_loop_.DeleteSoon(FROM_HERE, browser_context_.release()); | 444 message_loop_.DeleteSoon(FROM_HERE, browser_context_.release()); |
439 message_loop_.RunAllPending(); | 445 message_loop_.RunAllPending(); |
440 } | 446 } |
OLD | NEW |