OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_TEST_PIPELINE_INTEGRATION_TEST_BASE_H_ | 5 #ifndef MEDIA_TEST_PIPELINE_INTEGRATION_TEST_BASE_H_ |
6 #define MEDIA_TEST_PIPELINE_INTEGRATION_TEST_BASE_H_ | 6 #define MEDIA_TEST_PIPELINE_INTEGRATION_TEST_BASE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 #include <memory> | 9 #include <memory> |
10 | 10 |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 // Pipeline::Client overrides. | 165 // Pipeline::Client overrides. |
166 void OnError(PipelineStatus status) override; | 166 void OnError(PipelineStatus status) override; |
167 void OnEnded() override; | 167 void OnEnded() override; |
168 MOCK_METHOD1(OnMetadata, void(PipelineMetadata)); | 168 MOCK_METHOD1(OnMetadata, void(PipelineMetadata)); |
169 MOCK_METHOD1(OnBufferingStateChange, void(BufferingState)); | 169 MOCK_METHOD1(OnBufferingStateChange, void(BufferingState)); |
170 MOCK_METHOD0(OnDurationChange, void()); | 170 MOCK_METHOD0(OnDurationChange, void()); |
171 MOCK_METHOD2(OnAddTextTrack, | 171 MOCK_METHOD2(OnAddTextTrack, |
172 void(const TextTrackConfig& config, | 172 void(const TextTrackConfig& config, |
173 const AddTextTrackDoneCB& done_cb)); | 173 const AddTextTrackDoneCB& done_cb)); |
174 MOCK_METHOD0(OnWaitingForDecryptionKey, void(void)); | 174 MOCK_METHOD0(OnWaitingForDecryptionKey, void(void)); |
| 175 MOCK_METHOD1(OnVideoNaturalSizeChange, void(const gfx::Size&)); |
| 176 MOCK_METHOD1(OnVideoOpacityChange, void(bool)); |
175 }; | 177 }; |
176 | 178 |
177 } // namespace media | 179 } // namespace media |
178 | 180 |
179 #endif // MEDIA_TEST_PIPELINE_INTEGRATION_TEST_BASE_H_ | 181 #endif // MEDIA_TEST_PIPELINE_INTEGRATION_TEST_BASE_H_ |
OLD | NEW |