Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Side by Side Diff: content/browser/renderer_host/test_render_view_host.cc

Issue 9582003: Support browser side thumbnailing for GPU composited pages on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/renderer_host/test_backing_store.h" 5 #include "content/browser/renderer_host/test_backing_store.h"
6 #include "content/browser/renderer_host/test_render_view_host.h" 6 #include "content/browser/renderer_host/test_render_view_host.h"
7 #include "content/browser/site_instance_impl.h" 7 #include "content/browser/site_instance_impl.h"
8 #include "content/browser/tab_contents/navigation_controller_impl.h" 8 #include "content/browser/tab_contents/navigation_controller_impl.h"
9 #include "content/browser/tab_contents/test_tab_contents.h" 9 #include "content/browser/tab_contents/test_tab_contents.h"
10 #include "content/common/dom_storage_common.h" 10 #include "content/common/dom_storage_common.h"
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 return NULL; 174 return NULL;
175 } 175 }
176 176
177 #if !defined(TOOLKIT_VIEWS) 177 #if !defined(TOOLKIT_VIEWS)
178 gfx::NativeView TestRenderWidgetHostView::BuildInputMethodsGtkMenu() { 178 gfx::NativeView TestRenderWidgetHostView::BuildInputMethodsGtkMenu() {
179 return NULL; 179 return NULL;
180 } 180 }
181 #endif // !defined(TOOLKIT_VIEWS) 181 #endif // !defined(TOOLKIT_VIEWS)
182 #endif // defined(TOOLKIT_USES_GTK) 182 #endif // defined(TOOLKIT_USES_GTK)
183 183
184 bool TestRenderWidgetHostView::CopyFromCompositingSurface(
185 const gfx::Size& size,
186 skia::PlatformCanvas* output) {
187 return false;
188 }
189
184 gfx::GLSurfaceHandle TestRenderWidgetHostView::GetCompositingSurface() { 190 gfx::GLSurfaceHandle TestRenderWidgetHostView::GetCompositingSurface() {
185 return gfx::GLSurfaceHandle(); 191 return gfx::GLSurfaceHandle();
186 } 192 }
187 193
188 bool TestRenderWidgetHostView::LockMouse() { 194 bool TestRenderWidgetHostView::LockMouse() {
189 return false; 195 return false;
190 } 196 }
191 197
192 void TestRenderWidgetHostView::UnlockMouse() { 198 void TestRenderWidgetHostView::UnlockMouse() {
193 } 199 }
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 313
308 TestRenderViewHost* RenderViewHostImplTestHarness::pending_test_rvh() { 314 TestRenderViewHost* RenderViewHostImplTestHarness::pending_test_rvh() {
309 return static_cast<TestRenderViewHost*>(pending_rvh()); 315 return static_cast<TestRenderViewHost*>(pending_rvh());
310 } 316 }
311 317
312 TestRenderViewHost* RenderViewHostImplTestHarness::active_test_rvh() { 318 TestRenderViewHost* RenderViewHostImplTestHarness::active_test_rvh() {
313 return static_cast<TestRenderViewHost*>(active_rvh()); 319 return static_cast<TestRenderViewHost*>(active_rvh());
314 } 320 }
315 321
316 } // namespace content 322 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/test_render_view_host.h ('k') | content/port/browser/render_widget_host_view_port.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698