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

Side by Side Diff: media/blink/webmediaplayer_impl.h

Issue 2564253002: Notify HTMLMediaElement when media pipeline init has finished
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | media/blink/webmediaplayer_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_BLINK_WEBMEDIAPLAYER_IMPL_H_ 5 #ifndef MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_
6 #define MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ 6 #define MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 bool is_memory_reporting_enabled; 237 bool is_memory_reporting_enabled;
238 bool is_suspended; 238 bool is_suspended;
239 }; 239 };
240 240
241 private: 241 private:
242 friend class WebMediaPlayerImplTest; 242 friend class WebMediaPlayerImplTest;
243 243
244 void EnableOverlay(); 244 void EnableOverlay();
245 void DisableOverlay(); 245 void DisableOverlay();
246 246
247 void OnPipelineStarted(PipelineStatus status);
247 void OnPipelineSuspended(); 248 void OnPipelineSuspended();
248 void OnDemuxerOpened(); 249 void OnDemuxerOpened();
249 250
250 // Pipeline::Client overrides. 251 // Pipeline::Client overrides.
251 void OnError(PipelineStatus status) override; 252 void OnError(PipelineStatus status) override;
252 void OnEnded() override; 253 void OnEnded() override;
253 void OnMetadata(PipelineMetadata metadata) override; 254 void OnMetadata(PipelineMetadata metadata) override;
254 void OnBufferingStateChange(BufferingState state) override; 255 void OnBufferingStateChange(BufferingState state) override;
255 void OnDurationChange() override; 256 void OnDurationChange() override;
256 void OnAddTextTrack(const TextTrackConfig& config, 257 void OnAddTextTrack(const TextTrackConfig& config,
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
578 579
579 // Whether the player is currently in autoplay muted state. 580 // Whether the player is currently in autoplay muted state.
580 bool autoplay_muted_ = false; 581 bool autoplay_muted_ = false;
581 582
582 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); 583 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl);
583 }; 584 };
584 585
585 } // namespace media 586 } // namespace media
586 587
587 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ 588 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | media/blink/webmediaplayer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698