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

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: Routed not control 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 04125da43a543a0556bbdab4dfbddc68fbf34213..662a884920e55cc823fd90aaedb9d54d6e52d361 100644
--- a/content/browser/browser_plugin/browser_plugin_guest.h
+++ b/content/browser/browser_plugin/browser_plugin_guest.h
@@ -234,6 +234,13 @@ class CONTENT_EXPORT BrowserPluginGuest : public NotificationObserver,
#endif
const gfx::Size& damage_view_size,
float scale_factor);
+ // Overridden in tests.
+ virtual void SetCompositingBufferData(int gpu_process_id,
+ uint32 client_id,
+ uint32 context_id,
+ uint32 texture_id_0,
+ uint32 texture_id_1,
+ uint32 sync_point);
gfx::Point GetScreenCoordinates(const gfx::Point& relative_position) const;
@@ -297,6 +304,9 @@ class CONTENT_EXPORT BrowserPluginGuest : public NotificationObserver,
gfx::Size max_auto_size_;
gfx::Size min_auto_size_;
+ // Hardware Accelerated Surface Params
+ gfx::GLSurfaceHandle surface_handle_;
+
DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuest);
};

Powered by Google App Engine
This is Rietveld 408576698