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

Unified Diff: content/browser/browser_plugin/browser_plugin_guest.h

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/texture_mailbox.cc ('k') | content/browser/browser_plugin/browser_plugin_guest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_plugin/browser_plugin_guest.h
diff --git a/content/browser/browser_plugin/browser_plugin_guest.h b/content/browser/browser_plugin/browser_plugin_guest.h
index 9390b11630a50c4e585250c129c204c0238d6a7b..908d694cad8f0126025f41c2f02fadffed97667b 100644
--- a/content/browser/browser_plugin/browser_plugin_guest.h
+++ b/content/browser/browser_plugin/browser_plugin_guest.h
@@ -51,6 +51,10 @@ struct ViewHostMsg_UpdateRect_Params;
class WebCursor;
struct WebDropData;
+namespace gpu {
+struct Mailbox;
+}
+
namespace WebKit {
class WebInputEvent;
}
@@ -192,7 +196,7 @@ class CONTENT_EXPORT BrowserPluginGuest : public NotificationObserver,
// BrowserPluginGuest is already destroyed.
static void AcknowledgeBufferPresent(int route_id,
int gpu_host_id,
- const std::string& mailbox_name,
+ const gpu::Mailbox& mailbox_name,
uint32 sync_point);
// Returns whether BrowserPluginGuest is interested in receiving the given
@@ -303,7 +307,7 @@ class CONTENT_EXPORT BrowserPluginGuest : public NotificationObserver,
void OnSwapBuffersACK(int instance_id,
int route_id,
int gpu_host_id,
- const std::string& mailbox_name,
+ const gpu::Mailbox& mailbox_name,
uint32 sync_point);
void OnTerminateGuest(int instance_id);
« no previous file with comments | « cc/texture_mailbox.cc ('k') | content/browser/browser_plugin/browser_plugin_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698