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

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

Issue 9980016: Delete background tab IOSurfaces on Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed auto-resize and fullscreen toggle Created 8 years, 7 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/web_contents/navigation_controller_impl.h" 8 #include "content/browser/web_contents/navigation_controller_impl.h"
9 #include "content/browser/web_contents/test_web_contents.h" 9 #include "content/browser/web_contents/test_web_contents.h"
10 #include "content/common/view_messages.h" 10 #include "content/common/view_messages.h"
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 } 116 }
117 117
118 void TestRenderWidgetHostView::AcceleratedSurfacePostSubBuffer( 118 void TestRenderWidgetHostView::AcceleratedSurfacePostSubBuffer(
119 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, 119 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params,
120 int gpu_host_id) { 120 int gpu_host_id) {
121 } 121 }
122 122
123 void TestRenderWidgetHostView::AcceleratedSurfaceSuspend() { 123 void TestRenderWidgetHostView::AcceleratedSurfaceSuspend() {
124 } 124 }
125 125
126 bool TestRenderWidgetHostView::HasAcceleratedSurface(
127 const gfx::Size& desired_size) {
128 return false;
129 }
130
126 #if defined(OS_MACOSX) 131 #if defined(OS_MACOSX)
127 132
128 gfx::Rect TestRenderWidgetHostView::GetViewCocoaBounds() const { 133 gfx::Rect TestRenderWidgetHostView::GetViewCocoaBounds() const {
129 return gfx::Rect(); 134 return gfx::Rect();
130 } 135 }
131 136
132 void TestRenderWidgetHostView::SetActive(bool active) { 137 void TestRenderWidgetHostView::SetActive(bool active) {
133 // <viettrungluu@gmail.com>: Do I need to do anything here? 138 // <viettrungluu@gmail.com>: Do I need to do anything here?
134 } 139 }
135 140
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 323
319 TestRenderViewHost* RenderViewHostImplTestHarness::active_test_rvh() { 324 TestRenderViewHost* RenderViewHostImplTestHarness::active_test_rvh() {
320 return static_cast<TestRenderViewHost*>(active_rvh()); 325 return static_cast<TestRenderViewHost*>(active_rvh());
321 } 326 }
322 327
323 TestWebContents* RenderViewHostImplTestHarness::contents() { 328 TestWebContents* RenderViewHostImplTestHarness::contents() {
324 return static_cast<TestWebContents*>(web_contents()); 329 return static_cast<TestWebContents*>(web_contents());
325 } 330 }
326 331
327 } // namespace content 332 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/test_render_view_host.h ('k') | content/common/gpu/image_transport_surface_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698