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

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

Issue 11364133: Messages needed for webview compositor communication. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reduced scope, fixed comments. Created 8 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 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 6a44a152c97d5f10063c5ef7b9908f91b3ce82b0..3f80083c72f382f13fef698d61b49b5713ea3ec9 100644
--- a/content/browser/browser_plugin/browser_plugin_guest.h
+++ b/content/browser/browser_plugin/browser_plugin_guest.h
@@ -213,6 +213,12 @@ class CONTENT_EXPORT BrowserPluginGuest : public NotificationObserver,
#endif
const gfx::Size& damage_view_size,
float scale_factor);
+ void SetCompositingBufferData(int gpu_process_id,
+ uint32 client_id,
+ uint32 context_id,
+ uint32 texture_id_0,
+ uint32 texture_id_1,
+ uint32 sync_point);
private:
friend class TestBrowserPluginGuest;
@@ -268,6 +274,9 @@ class CONTENT_EXPORT BrowserPluginGuest : public NotificationObserver,
int min_height_;
int min_width_;
+ // Hardware accelerated surface params.
+ gfx::GLSurfaceHandle surface_handle_;
+
DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuest);
};

Powered by Google App Engine
This is Rietveld 408576698