Chromium Code Reviews| Index: media/base/overlay_info.h |
| diff --git a/media/base/overlay_info.h b/media/base/overlay_info.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..fb21f0b4b8ddddc9c083c8393dfddffb83ee7dd3 |
| --- /dev/null |
| +++ b/media/base/overlay_info.h |
| @@ -0,0 +1,24 @@ |
| +// Copyright 2017 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 MEDIA_BASE_OVERLAY_INFORMATION_H_ |
|
tguilbert
2017/05/12 21:11:11
NIT: s/INFORMATION/INFO
liberato (no reviews please)
2017/05/12 21:42:50
Done.
|
| +#define MEDIA_BASE_OVERLAY_INFORMATION_H_ |
| + |
| +#include "base/callback.h" |
| +#include "base/macros.h" |
| +#include "base/optional.h" |
| +#include "base/unguessable_token.h" |
| + |
| +namespace media { |
| + |
| +// Request information to construct an overlay. This can be either a surface_id |
| +// or an AndroidOverlay routing token. |
| +using ProvideOverlayInfoCB = |
| + base::Callback<void(int, const base::Optional<base::UnguessableToken>&)>; |
| +using RequestOverlayInfoCB = |
| + base::Callback<void(bool, const ProvideOverlayInfoCB&)>; |
| + |
| +} // namespace media |
| + |
| +#endif // MEDIA_BASE_OVERLAY_INFORMATION_H_ |