Chromium Code Reviews| Index: ui/ozone/platform/drm/gpu/drm_window.h |
| diff --git a/ui/ozone/platform/drm/gpu/drm_window.h b/ui/ozone/platform/drm/gpu/drm_window.h |
| index 74e1e53ca50bd1dd386316aad920b60dae66fe3a..8caa4bd62b3d7595180c265db53d8bbaf7e77524 100644 |
| --- a/ui/ozone/platform/drm/gpu/drm_window.h |
| +++ b/ui/ozone/platform/drm/gpu/drm_window.h |
| @@ -11,8 +11,10 @@ |
| #include "ui/gfx/geometry/point.h" |
| #include "ui/gfx/geometry/rect.h" |
| #include "ui/gfx/native_widget_types.h" |
| +#include "ui/gfx/swap_result.h" |
| #include "ui/ozone/ozone_export.h" |
| #include "ui/ozone/platform/drm/gpu/overlay_plane.h" |
| +#include "ui/ozone/public/surface_ozone_egl.h" |
| class SkBitmap; |
| @@ -79,7 +81,9 @@ class OZONE_EXPORT DrmWindow { |
| // immediately, otherwise queue up on the window and forward when the hardware |
| // is once again ready. |
| void QueueOverlayPlane(const OverlayPlane& plane); |
| - bool SchedulePageFlip(bool is_sync, const base::Closure& callback); |
| + |
| + typedef SurfaceOzoneEGL::SwapCompletionCallback SwapCompletionCallback; |
|
dnicoara
2015/05/08 15:15:41
Style guide says typedefs and constants should be
achaulk
2015/05/14 18:15:46
Done.
|
| + bool SchedulePageFlip(bool is_sync, const SwapCompletionCallback& callback); |
| // Returns the last buffer associated with this window. |
| const OverlayPlane* GetLastModesetBuffer(); |