Chromium Code Reviews| Index: content/browser/compositor/frame_sink_observer.h |
| diff --git a/content/browser/compositor/frame_sink_observer.h b/content/browser/compositor/frame_sink_observer.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..4b66c7d8bd40f43c7719350c19b1f8a31df01e9d |
| --- /dev/null |
| +++ b/content/browser/compositor/frame_sink_observer.h |
| @@ -0,0 +1,22 @@ |
| +// Copyright 2017 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CONTENT_BROWSER_COMPOSITOR_FRAME_SINK_OBSERVER_H_ |
| +#define CONTENT_BROWSER_COMPOSITOR_FRAME_SINK_OBSERVER_H_ |
| + |
| +#include "cc/surfaces/surface_info.h" |
| + |
| +namespace content { |
| + |
| +class FrameSinkObserver { |
| + public: |
| + virtual void OnSurfaceCreated(const cc::SurfaceInfo& surface_info) = 0; |
|
Fady Samuel
2017/04/28 04:58:00
nit: Comment.
kylechar
2017/05/01 19:07:48
Done.
|
| + |
| + protected: |
| + ~FrameSinkObserver() {} |
| +}; |
| + |
| +} // namespace content |
| + |
| +#endif // CONTENT_BROWSER_COMPOSITOR_FRAME_SINK_OBSERVER_H_ |