OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef MEDIA_FORMATS_WEBM_WEBM_VIDEO_CLIENT_H_ | 5 #ifndef MEDIA_FORMATS_WEBM_WEBM_VIDEO_CLIENT_H_ |
6 #define MEDIA_FORMATS_WEBM_WEBM_VIDEO_CLIENT_H_ | 6 #define MEDIA_FORMATS_WEBM_WEBM_VIDEO_CLIENT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
| 11 #include "base/macros.h" |
11 #include "media/base/media_log.h" | 12 #include "media/base/media_log.h" |
12 #include "media/formats/webm/webm_parser.h" | 13 #include "media/formats/webm/webm_parser.h" |
13 | 14 |
14 namespace media { | 15 namespace media { |
15 class VideoDecoderConfig; | 16 class VideoDecoderConfig; |
16 | 17 |
17 // Helper class used to parse a Video element inside a TrackEntry element. | 18 // Helper class used to parse a Video element inside a TrackEntry element. |
18 class WebMVideoClient : public WebMParserClient { | 19 class WebMVideoClient : public WebMParserClient { |
19 public: | 20 public: |
20 explicit WebMVideoClient(const scoped_refptr<MediaLog>& media_log); | 21 explicit WebMVideoClient(const scoped_refptr<MediaLog>& media_log); |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 int64_t display_height_; | 53 int64_t display_height_; |
53 int64_t display_unit_; | 54 int64_t display_unit_; |
54 int64_t alpha_mode_; | 55 int64_t alpha_mode_; |
55 | 56 |
56 DISALLOW_COPY_AND_ASSIGN(WebMVideoClient); | 57 DISALLOW_COPY_AND_ASSIGN(WebMVideoClient); |
57 }; | 58 }; |
58 | 59 |
59 } // namespace media | 60 } // namespace media |
60 | 61 |
61 #endif // MEDIA_FORMATS_WEBM_WEBM_VIDEO_CLIENT_H_ | 62 #endif // MEDIA_FORMATS_WEBM_WEBM_VIDEO_CLIENT_H_ |
OLD | NEW |