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

Unified Diff: cc/surfaces/compositor_frame_sink_support_client.h

Issue 2647583002: Switching to CompositorFrameSinkSupport in android_webview::SurfacesInstance (Closed)
Patch Set: c Created 3 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
« no previous file with comments | « cc/surfaces/compositor_frame_sink_support.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/compositor_frame_sink_support_client.h
diff --git a/cc/surfaces/compositor_frame_sink_support_client.h b/cc/surfaces/compositor_frame_sink_support_client.h
index e3f6dab23e141af7ecbce53857713369cd04b3dc..1a67b7b33881bd5bce8113237c243e29de27362b 100644
--- a/cc/surfaces/compositor_frame_sink_support_client.h
+++ b/cc/surfaces/compositor_frame_sink_support_client.h
@@ -6,6 +6,7 @@
#define CC_SURFACES_COMPOSITOR_FRAME_SINK_SUPPORT_CLIENT_H_
#include "cc/resources/returned_resource.h"
+#include "cc/surfaces/display_client.h"
namespace cc {
@@ -31,6 +32,12 @@ class CompositorFrameSinkSupportClient {
// Called when surface is being scheduled for a draw.
virtual void WillDrawSurface() = 0;
+ // DisplayClient methods.
danakj 2017/01/24 18:23:06 Hm this is weird too. Why is the CompositorFrameSi
+ virtual void DisplayOutputSurfaceLost() {}
+ virtual void DisplayWillDrawAndSwap(bool will_draw_and_swap,
+ const RenderPassList& render_passes) {}
+ virtual void DisplayDidDrawAndSwap() {}
+
protected:
virtual ~CompositorFrameSinkSupportClient() {}
};
« no previous file with comments | « cc/surfaces/compositor_frame_sink_support.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698