Chromium Code Reviews| Index: ui/ozone/platform/drm/gpu/page_flip_request.h |
| diff --git a/ui/ozone/platform/drm/gpu/page_flip_request.h b/ui/ozone/platform/drm/gpu/page_flip_request.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..956ada10e1eeb521e022dbd392ebf53ad0ee3ce5 |
| --- /dev/null |
| +++ b/ui/ozone/platform/drm/gpu/page_flip_request.h |
| @@ -0,0 +1,24 @@ |
| +// Copyright 2014 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 UI_OZONE_PLATFORM_DRM_GPU_PAGE_FLIP_REQUEST_H_ |
| +#define UI_OZONE_PLATFORM_DRM_GPU_PAGE_FLIP_REQUEST_H_ |
| + |
| +#include "base/callback.h" |
| +#include "base/memory/scoped_ptr.h" |
| +#include "ui/ozone/ozone_export.h" |
| + |
| +namespace ui { |
| + |
| +class PageFlipRequest : public base::RefCounted<PageFlipRequest> { |
| + public: |
| + PageFlipRequest(int crtc_count, const base::Closure& callback); |
| + ~PageFlipRequest(); |
|
dnicoara
2015/04/23 15:34:57
I believe you'll need to make the destructor priva
|
| + |
| + base::Closure callback; |
|
dnicoara
2015/04/23 15:34:56
And for style guide consistency this should be pri
|
| +}; |
| + |
| +} // namespace ui |
| + |
| +#endif // UI_OZONE_PLATFORM_DRM_GPU_PAGE_FLIP_REQUEST_H_ |