Index: content/browser/compositor/image_transport_factory.h |
diff --git a/content/browser/compositor/image_transport_factory.h b/content/browser/compositor/image_transport_factory.h |
index a5cd0898b5afbff13781f67c6558206278e7f853..bc19afe3fb0758f0526aba5d507264d37c421524 100644 |
--- a/content/browser/compositor/image_transport_factory.h |
+++ b/content/browser/compositor/image_transport_factory.h |
@@ -11,6 +11,7 @@ |
#include "base/memory/scoped_ptr.h" |
#include "cc/surfaces/surface_id_allocator.h" |
#include "content/common/content_export.h" |
+#include "ui/events/latency_info.h" |
#include "ui/gfx/native_widget_types.h" |
namespace cc { |
@@ -19,6 +20,7 @@ class SurfaceManager; |
namespace gfx { |
class Size; |
+enum class SwapResult; |
} |
namespace ui { |
@@ -83,7 +85,11 @@ class CONTENT_EXPORT ImageTransportFactory { |
virtual void RemoveObserver(ImageTransportFactoryObserver* observer) = 0; |
#if defined(OS_MACOSX) |
- virtual void OnSurfaceDisplayed(int surface_id) = 0; |
+ virtual void OnGpuSwapBuffersCompleted( |
+ int surface_id, |
+ const std::vector<ui::LatencyInfo>& latency_info, |
+ gfx::SwapResult result) = 0; |
+ |
// Called with |suspended| as true when the ui::Compositor has been |
// disconnected from an NSView and may be attached to another one. Called |
// with |suspended| as false after the ui::Compositor has been connected to |