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

Unified Diff: content/browser/gpu/gpu_process_host_ui_shim.cc

Issue 256713002: Remove 'transport' paths from PassThroughImageTransportSurface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Also remove ResizeView/ResizeViewAck Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/gpu/gpu_process_host_ui_shim.cc
diff --git a/content/browser/gpu/gpu_process_host_ui_shim.cc b/content/browser/gpu/gpu_process_host_ui_shim.cc
index 131a42cf3b54ff6b3f53a615acbc05adb8bf6212..8c146487ab85dbba7538d359d8c57a1a3d8d0d9d 100644
--- a/content/browser/gpu/gpu_process_host_ui_shim.cc
+++ b/content/browser/gpu/gpu_process_host_ui_shim.cc
@@ -196,8 +196,6 @@ bool GpuProcessHostUIShim::OnControlMessageReceived(
OnUpdateVSyncParameters)
IPC_MESSAGE_HANDLER(GpuHostMsg_FrameDrawn, OnFrameDrawn)
- IPC_MESSAGE_HANDLER(GpuHostMsg_ResizeView, OnResizeView)
-
IPC_MESSAGE_UNHANDLED_ERROR()
IPC_END_MESSAGE_MAP()
@@ -238,24 +236,6 @@ void GpuProcessHostUIShim::OnGraphicsInfoCollected(
GpuDataManagerImpl::GetInstance()->UpdateGpuInfo(gpu_info);
}
-void GpuProcessHostUIShim::OnResizeView(int32 surface_id,
- int32 route_id,
- gfx::Size size) {
- // Always respond even if the window no longer exists. The GPU process cannot
- // make progress on the resizing command buffer until it receives the
- // response.
- ScopedSendOnIOThread delayed_send(
- host_id_,
- new AcceleratedSurfaceMsg_ResizeViewACK(route_id));
-
- RenderWidgetHostViewPort* view =
- GetRenderWidgetHostViewFromSurfaceID(surface_id);
- if (!view)
- return;
-
- view->ResizeCompositingSurface(size);
-}
-
void GpuProcessHostUIShim::OnAcceleratedSurfaceInitialized(int32 surface_id,
int32 route_id) {
RenderWidgetHostViewPort* view =
« no previous file with comments | « content/browser/gpu/gpu_process_host_ui_shim.h ('k') | content/browser/renderer_host/render_widget_host_view_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698