Index: components/view_manager/server_view_delegate.h |
diff --git a/components/view_manager/server_view_delegate.h b/components/view_manager/server_view_delegate.h |
index e2f92dfef9f38dc5119d3bb7afe079ac77c0a9c5..89e6049e7f57277ee35b8cbe950d7307c593a40c 100644 |
--- a/components/view_manager/server_view_delegate.h |
+++ b/components/view_manager/server_view_delegate.h |
@@ -5,6 +5,7 @@ |
#ifndef COMPONENTS_VIEW_MANAGER_SERVER_VIEW_DELEGATE_H_ |
#define COMPONENTS_VIEW_MANAGER_SERVER_VIEW_DELEGATE_H_ |
+#include "components/view_manager/public/interfaces/view_manager.mojom.h" |
#include "components/view_manager/public/interfaces/view_manager_constants.mojom.h" |
namespace gfx { |
@@ -27,6 +28,10 @@ class ServerView; |
// ServerViewDelegate gets non-const arguments. |
class ServerViewDelegate { |
public: |
+ virtual void SubmitCompositorFrame(ServerView* view, |
+ mojo::CompositorFramePtr frame, |
+ const mojo::Closure& callback) = 0; |
+ |
// Invoked when a view is about to be destroyed; before any of the children |
// have been removed and before the view has been removed from its parent. |
virtual void PrepareToDestroyView(ServerView* view) = 0; |