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

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

Issue 8513013: Plumb the partial swap though image transport. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Now with a few compile fixes (tested Win, Mac, Linux, and Aura) Created 9 years, 1 month 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 1
2 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 // Copyright (c) 2011 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.h" 9 #include "content/browser/site_instance.h"
10 #include "content/browser/tab_contents/navigation_controller.h" 10 #include "content/browser/tab_contents/navigation_controller.h"
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 } 177 }
178 178
179 void TestRenderWidgetHostView::OnAcceleratedCompositingStateChange() { 179 void TestRenderWidgetHostView::OnAcceleratedCompositingStateChange() {
180 } 180 }
181 181
182 void TestRenderWidgetHostView::AcceleratedSurfaceBuffersSwapped( 182 void TestRenderWidgetHostView::AcceleratedSurfaceBuffersSwapped(
183 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, 183 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params,
184 int gpu_host_id) { 184 int gpu_host_id) {
185 } 185 }
186 186
187 void TestRenderWidgetHostView::AcceleratedSurfacePostSubBuffer(
188 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params,
189 int gpu_host_id) {
190 }
191
187 #if defined(OS_MACOSX) 192 #if defined(OS_MACOSX)
188 193
189 gfx::Rect TestRenderWidgetHostView::GetViewCocoaBounds() const { 194 gfx::Rect TestRenderWidgetHostView::GetViewCocoaBounds() const {
190 return gfx::Rect(); 195 return gfx::Rect();
191 } 196 }
192 197
193 void TestRenderWidgetHostView::SetActive(bool active) { 198 void TestRenderWidgetHostView::SetActive(bool active) {
194 // <viettrungluu@gmail.com>: Do I need to do anything here? 199 // <viettrungluu@gmail.com>: Do I need to do anything here?
195 } 200 }
196 201
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 SetContents(NULL); 363 SetContents(NULL);
359 364
360 // Make sure that we flush any messages related to TabContents destruction 365 // Make sure that we flush any messages related to TabContents destruction
361 // before we destroy the browser context. 366 // before we destroy the browser context.
362 MessageLoop::current()->RunAllPending(); 367 MessageLoop::current()->RunAllPending();
363 368
364 // Release the browser context on the UI thread. 369 // Release the browser context on the UI thread.
365 message_loop_.DeleteSoon(FROM_HERE, browser_context_.release()); 370 message_loop_.DeleteSoon(FROM_HERE, browser_context_.release());
366 message_loop_.RunAllPending(); 371 message_loop_.RunAllPending();
367 } 372 }
OLDNEW
« no previous file with comments | « content/browser/renderer_host/test_render_view_host.h ('k') | content/common/gpu/gpu_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698