| Index: components/exo/surface_delegate.h
|
| diff --git a/components/exo/surface_delegate.h b/components/exo/surface_delegate.h
|
| index bfda475fc5b18f78c361cf276b499cd8b1088b08..c4504855bc923a63572e28423e5bf0aabe472c85 100644
|
| --- a/components/exo/surface_delegate.h
|
| +++ b/components/exo/surface_delegate.h
|
| @@ -10,13 +10,13 @@ namespace exo {
|
| // Handles events on surfaces in context-specific ways.
|
| class SurfaceDelegate {
|
| public:
|
| - // Called when the surface is destroyed. The delegate can use this
|
| - // opportunity to delete itself if necessary.
|
| - virtual void OnSurfaceDestroying() = 0;
|
| -
|
| // Called when surface was requested to commit all double-buffered state.
|
| virtual void OnSurfaceCommit() = 0;
|
|
|
| + // Returns true if surface is in synchronized mode. ie. commit of
|
| + // double-buffered state should be synchronized with parent surface.
|
| + virtual bool IsSurfaceSynchronized() const = 0;
|
| +
|
| protected:
|
| virtual ~SurfaceDelegate() {}
|
| };
|
|
|