Chromium Code Reviews| Index: media/base/pipeline_status.h |
| diff --git a/media/base/pipeline_status.h b/media/base/pipeline_status.h |
| index 2f4b35945f619ae0c3bae8244ee9dc7852537895..f857160b82e2cad29080f8cc85ca8fa4449d6fd5 100644 |
| --- a/media/base/pipeline_status.h |
| +++ b/media/base/pipeline_status.h |
| @@ -5,12 +5,13 @@ |
| #ifndef MEDIA_BASE_PIPELINE_STATUS_H_ |
| #define MEDIA_BASE_PIPELINE_STATUS_H_ |
| -#include "base/callback.h" |
| - |
| #include <stdint.h> |
| #include <string> |
| +#include "base/callback.h" |
| +#include "ui/gfx/geometry/size.h" |
| + |
| namespace media { |
| // Status states for pipeline. All codes except PIPELINE_OK indicate errors. |
| @@ -64,6 +65,10 @@ struct PipelineStatistics { |
| // of all attributes since the last update. |
| typedef base::Callback<void(const PipelineStatistics&)> StatisticsCB; |
| +// Used for updating video natural size; the passed value is the new natural |
| +// size of video frames being rendered. |
| +typedef base::Callback<void(const gfx::Size&)> NaturalSizeChangedCB; |
|
xhwang
2016/04/20 16:58:48
PipelineStatus should stay in pipeline_status.h.
|
| + |
| } // namespace media |
| #endif // MEDIA_BASE_PIPELINE_STATUS_H_ |