Index: media/video/picture.h |
diff --git a/media/video/picture.h b/media/video/picture.h |
index ec508ac310161fbb73fafd0f4e34b190e0645a30..2fe10bf299be582534686c56528a9bca41be8f9a 100644 |
--- a/media/video/picture.h |
+++ b/media/video/picture.h |
@@ -57,7 +57,8 @@ class MEDIA_EXPORT Picture { |
public: |
Picture(int32 picture_buffer_id, |
int32 bitstream_buffer_id, |
- const gfx::Rect& visible_rect); |
+ const gfx::Rect& visible_rect, |
+ bool allow_overlay); |
Pawel Osciak
2015/01/21 13:09:03
Could we get this property from PictureBuffer? Do
achaulk
2015/01/21 17:12:03
It doesn't seem to be required on the PictureBuffe
|
// Returns the id of the picture buffer where this picture is contained. |
int32 picture_buffer_id() const { |
@@ -78,10 +79,13 @@ class MEDIA_EXPORT Picture { |
// Picture contained in the PictureBuffer. |
gfx::Rect visible_rect() const { return visible_rect_; } |
+ bool allow_overlay() const { return allow_overlay_; } |
+ |
private: |
int32 picture_buffer_id_; |
int32 bitstream_buffer_id_; |
gfx::Rect visible_rect_; |
+ bool allow_overlay_; |
}; |
} // namespace media |