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

Unified Diff: content/renderer/child_frame_compositing_helper.h

Issue 2610723002: Unify SurfaceInfo (Closed)
Patch Set: Cleanup offscreen canvas Created 3 years, 12 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/renderer/child_frame_compositing_helper.h
diff --git a/content/renderer/child_frame_compositing_helper.h b/content/renderer/child_frame_compositing_helper.h
index 634f4af6f234afb43a5f7e5dc5c1fdf63fce5f95..aa906259b0633f753f69c3f2b523565357fb3686 100644
--- a/content/renderer/child_frame_compositing_helper.h
+++ b/content/renderer/child_frame_compositing_helper.h
@@ -24,6 +24,7 @@ namespace cc {
struct SurfaceSequence;
class Layer;
+class SurfaceInfo;
}
namespace blink {
@@ -50,9 +51,7 @@ class CONTENT_EXPORT ChildFrameCompositingHelper
RenderFrameProxy* render_frame_proxy);
void OnContainerDestroy();
- void OnSetSurface(const cc::SurfaceId& surface_id,
- const gfx::Size& frame_size,
- float scale_factor,
+ void OnSetSurface(const cc::SurfaceInfo& surface_info,
const cc::SurfaceSequence& sequence);
void UpdateVisibility(bool);
void ChildFrameGone();
« no previous file with comments | « content/renderer/browser_plugin/browser_plugin.cc ('k') | content/renderer/child_frame_compositing_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698