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

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: 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
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 1a315518bdafdb1bdc9f94d2bb2cfe434ae92c74..73ecae610f2b148e1348b9dacad626cbbcc3cb19 100644
--- a/content/browser/browser_plugin/browser_plugin_guest.h
+++ b/content/browser/browser_plugin/browser_plugin_guest.h
@@ -50,6 +50,10 @@ struct ViewHostMsg_UpdateRect_Params;
class WebCursor;
struct WebDropData;
+namespace gpu {
+struct Mailbox;
+}
+
namespace WebKit {
class WebInputEvent;
}
@@ -181,7 +185,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
@@ -292,7 +296,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);

Powered by Google App Engine
This is Rietveld 408576698