Chromium Code Reviews| Index: ui/display/types/display_snapshot.h |
| diff --git a/ui/display/types/display_snapshot.h b/ui/display/types/display_snapshot.h |
| index a4654e2f750b07f529624935e8c1c24c3633dbe5..28941876fec2f0660a67a5ba6c4389fe9f55d06f 100644 |
| --- a/ui/display/types/display_snapshot.h |
| +++ b/ui/display/types/display_snapshot.h |
| @@ -13,6 +13,7 @@ |
| #include "base/macros.h" |
| #include "ui/display/types/display_constants.h" |
| #include "ui/display/types/display_mode.h" |
| +#include "ui/gfx/buffer_types.h" |
| #include "ui/gfx/geometry/point.h" |
| #include "ui/gfx/geometry/size.h" |
| @@ -77,6 +78,10 @@ class DISPLAY_TYPES_EXPORT DisplaySnapshot { |
| // Used when no product id known. |
| static const int64_t kInvalidProductID = -1; |
| + // Return the buffer format to be used for the primary |
| + // plane buffer. |
|
oshima
2016/08/10 06:29:41
nit: won't this fit in a single line?
Daniele Castagna
2016/08/10 16:42:20
Done.
|
| + static gfx::BufferFormat PrimaryFormat(); |
| + |
| protected: |
| // Display id for this output. |
| int64_t display_id_; |