Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1746)

Unified Diff: media/video/picture.h

Issue 806413004: Plumb allow_overlay flag for video path into cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/video/picture.h
diff --git a/media/video/picture.h b/media/video/picture.h
index 844e629ef310f6a187a38f47507d16e0765cbfa2..9a81cecdd238f5eb88bca09e60bb15e5ead6ee99 100644
--- a/media/video/picture.h
+++ b/media/video/picture.h
@@ -78,10 +78,14 @@ class MEDIA_EXPORT Picture {
// Picture contained in the PictureBuffer.
gfx::Rect visible_rect() const { return visible_rect_; }
+ void set_allow_overlay(bool allow_overlay) { allow_overlay_ = allow_overlay; }
+ 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

Powered by Google App Engine
This is Rietveld 408576698