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

Unified Diff: content/public/browser/browser_plugin_guest_delegate.h

Issue 1602663003: Framelet Prototype 2016 using Mojo IPC Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Disabled oilpan Created 4 years, 11 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/public/browser/browser_plugin_guest_delegate.h
diff --git a/content/public/browser/browser_plugin_guest_delegate.h b/content/public/browser/browser_plugin_guest_delegate.h
index 4dd1a4cd732925d2cb2f18a6f4e31aa032101b5b..5dda66af6ec7a33451af314397e7db9d01cc9e55 100644
--- a/content/public/browser/browser_plugin_guest_delegate.h
+++ b/content/public/browser/browser_plugin_guest_delegate.h
@@ -14,6 +14,11 @@ namespace base {
class DictionaryValue;
} // namespace base
+namespace cc {
+struct SurfaceId;
+struct SurfaceSequence;
+} // namespace cc
+
namespace gfx {
class Size;
} // namespace gfx
@@ -92,6 +97,11 @@ class CONTENT_EXPORT BrowserPluginGuestDelegate {
// fromt he guest renderer is incorrect in situations where BrowserPlugin is
// subject to CSS transforms.
virtual void SetContextMenuPosition(const gfx::Point& position) {}
+
+ virtual bool SetChildFrameSurface(const cc::SurfaceId& surface_id,
+ const gfx::Size& frame_size,
+ float scale_factor,
+ const cc::SurfaceSequence& sequence);
};
} // namespace content
« no previous file with comments | « content/browser/frame_host/render_widget_host_view_guest.cc ('k') | content/public/browser/browser_plugin_guest_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698