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

Side by Side Diff: content/browser/browser_plugin/browser_plugin_guest_manager.cc

Issue 12440005: Use gpu::Mailbox in IPCs instead of std::string (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_plugin/browser_plugin_guest_manager.h" 5 #include "content/browser/browser_plugin/browser_plugin_guest_manager.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "content/browser/browser_plugin/browser_plugin_guest.h" 8 #include "content/browser/browser_plugin/browser_plugin_guest.h"
9 #include "content/browser/browser_plugin/browser_plugin_host_factory.h" 9 #include "content/browser/browser_plugin/browser_plugin_host_factory.h"
10 #include "content/browser/renderer_host/render_view_host_impl.h" 10 #include "content/browser/renderer_host/render_view_host_impl.h"
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 } 204 }
205 return NULL; 205 return NULL;
206 } 206 }
207 207
208 // We only get here during teardown if we have one last buffer pending, 208 // We only get here during teardown if we have one last buffer pending,
209 // otherwise the ACK is handled by the guest. 209 // otherwise the ACK is handled by the guest.
210 void BrowserPluginGuestManager::OnUnhandledSwapBuffersACK( 210 void BrowserPluginGuestManager::OnUnhandledSwapBuffersACK(
211 int instance_id, 211 int instance_id,
212 int route_id, 212 int route_id,
213 int gpu_host_id, 213 int gpu_host_id,
214 const std::string& mailbox_name, 214 const gpu::Mailbox& mailbox_name,
215 uint32 sync_point) { 215 uint32 sync_point) {
216 BrowserPluginGuest::AcknowledgeBufferPresent(route_id, 216 BrowserPluginGuest::AcknowledgeBufferPresent(route_id,
217 gpu_host_id, 217 gpu_host_id,
218 mailbox_name, 218 mailbox_name,
219 sync_point); 219 sync_point);
220 } 220 }
221 221
222 } // namespace content 222 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/browser_plugin/browser_plugin_guest_manager.h ('k') | content/browser/gpu/gpu_process_host_ui_shim.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698