| Index: ui/ozone/platform/drm/gpu/hardware_display_controller.h
|
| diff --git a/ui/ozone/platform/drm/gpu/hardware_display_controller.h b/ui/ozone/platform/drm/gpu/hardware_display_controller.h
|
| index ee08ebbe01257ad574ab62a914e5014635e86ded..bc3d65f80fdbb4b7f19f88587ffdb2b352facc59 100644
|
| --- a/ui/ozone/platform/drm/gpu/hardware_display_controller.h
|
| +++ b/ui/ozone/platform/drm/gpu/hardware_display_controller.h
|
| @@ -17,6 +17,7 @@
|
| #include "base/containers/scoped_ptr_hash_map.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/memory/scoped_vector.h"
|
| +#include "ui/gfx/swap_result.h"
|
| #include "ui/ozone/ozone_export.h"
|
| #include "ui/ozone/platform/drm/gpu/hardware_display_plane_manager.h"
|
| #include "ui/ozone/platform/drm/gpu/overlay_plane.h"
|
| @@ -86,6 +87,8 @@ class DrmDevice;
|
| // framebuffers. Though, in this case, it would be possible to have all
|
| // connectors active if some use the same CRTC to mirror the display.
|
| class OZONE_EXPORT HardwareDisplayController {
|
| + typedef base::Callback<void(gfx::SwapResult)> PageFlipCallback;
|
| +
|
| public:
|
| explicit HardwareDisplayController(scoped_ptr<CrtcController> controller);
|
| ~HardwareDisplayController();
|
| @@ -115,7 +118,7 @@ class OZONE_EXPORT HardwareDisplayController {
|
| // Returns true if the page flip was successfully registered, false otherwise.
|
| bool SchedulePageFlip(const OverlayPlaneList& plane_list,
|
| bool is_sync,
|
| - const base::Closure& callback);
|
| + const PageFlipCallback& callback);
|
|
|
| // Set the hardware cursor to show the contents of |surface|.
|
| bool SetCursor(const scoped_refptr<ScanoutBuffer>& buffer);
|
|
|