| OLD | NEW | 
|---|
| 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 <string> | 10 #include <string> | 
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 89       blink::WebLocalFrame* frame, | 89       blink::WebLocalFrame* frame, | 
| 90       blink::WebMediaPlayerClient* client, | 90       blink::WebMediaPlayerClient* client, | 
| 91       blink::WebMediaPlayerEncryptedMediaClient* encrypted_client, | 91       blink::WebMediaPlayerEncryptedMediaClient* encrypted_client, | 
| 92       base::WeakPtr<WebMediaPlayerDelegate> delegate, | 92       base::WeakPtr<WebMediaPlayerDelegate> delegate, | 
| 93       scoped_ptr<RendererFactory> renderer_factory, | 93       scoped_ptr<RendererFactory> renderer_factory, | 
| 94       linked_ptr<UrlIndex> url_index, | 94       linked_ptr<UrlIndex> url_index, | 
| 95       const WebMediaPlayerParams& params); | 95       const WebMediaPlayerParams& params); | 
| 96   ~WebMediaPlayerImpl() override; | 96   ~WebMediaPlayerImpl() override; | 
| 97 | 97 | 
| 98   void load(LoadType load_type, | 98   void load(LoadType load_type, | 
| 99             const blink::WebURL& url, | 99             const blink::WebMediaPlayerSource& source, | 
| 100             CORSMode cors_mode) override; | 100             CORSMode cors_mode) override; | 
| 101 | 101 | 
| 102   // Playback controls. | 102   // Playback controls. | 
| 103   void play() override; | 103   void play() override; | 
| 104   void pause() override; | 104   void pause() override; | 
| 105   bool supportsSave() const override; | 105   bool supportsSave() const override; | 
| 106   void seek(double seconds) override; | 106   void seek(double seconds) override; | 
| 107   void setRate(double rate) override; | 107   void setRate(double rate) override; | 
| 108   void setVolume(double volume) override; | 108   void setVolume(double volume) override; | 
| 109   void setSinkId(const blink::WebString& sink_id, | 109   void setSinkId(const blink::WebString& sink_id, | 
| (...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 487   // started; prevents us from spuriously logging errors that are transient or | 487   // started; prevents us from spuriously logging errors that are transient or | 
| 488   // unimportant. | 488   // unimportant. | 
| 489   bool suppress_destruction_errors_; | 489   bool suppress_destruction_errors_; | 
| 490 | 490 | 
| 491   DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); | 491   DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); | 
| 492 }; | 492 }; | 
| 493 | 493 | 
| 494 }  // namespace media | 494 }  // namespace media | 
| 495 | 495 | 
| 496 #endif  // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ | 496 #endif  // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ | 
| OLD | NEW | 
|---|