Index: media/video/video_decode_accelerator.h |
diff --git a/media/video/video_decode_accelerator.h b/media/video/video_decode_accelerator.h |
index a796bdbbfd54bafdb82437eb908cd2e5f95b06b4..5111a4b606b678eaaf3e4e39b05a82e8267956ea 100644 |
--- a/media/video/video_decode_accelerator.h |
+++ b/media/video/video_decode_accelerator.h |
@@ -22,6 +22,11 @@ namespace media { |
// implement the backend of PPB_VideoDecode_Dev. |
class MEDIA_EXPORT VideoDecodeAccelerator { |
public: |
+ // The minimum and maximum supported resolution (inclusive) of a decoder. |
+ struct SupportedResolution { |
+ gfx::Size min; |
+ gfx::Size max; |
+ }; |
// Enumeration of potential errors generated by the API. |
// Note: Keep these in sync with PP_VideoDecodeError_Dev. Also do not |
// rearrange, reuse or remove values as they are used for gathering UMA |