| 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 CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_ |
| 6 #define CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_ | 6 #define CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 // Dimensions of the video. | 112 // Dimensions of the video. |
| 113 blink::WebSize naturalSize() const override; | 113 blink::WebSize naturalSize() const override; |
| 114 | 114 |
| 115 // Getters of playback state. | 115 // Getters of playback state. |
| 116 bool paused() const override; | 116 bool paused() const override; |
| 117 bool seeking() const override; | 117 bool seeking() const override; |
| 118 double duration() const override; | 118 double duration() const override; |
| 119 double currentTime() const override; | 119 double currentTime() const override; |
| 120 | 120 |
| 121 // Internal states of loading and network. | 121 // Internal states of loading and network. |
| 122 blink::WebMediaPlayer::NetworkState networkState() const override; | 122 blink::WebMediaPlayer::NetworkState getNetworkState() const override; |
| 123 blink::WebMediaPlayer::ReadyState readyState() const override; | 123 blink::WebMediaPlayer::ReadyState getReadyState() const override; |
| 124 | 124 |
| 125 bool didLoadingProgress() override; | 125 bool didLoadingProgress() override; |
| 126 | 126 |
| 127 bool hasSingleSecurityOrigin() const override; | 127 bool hasSingleSecurityOrigin() const override; |
| 128 bool didPassCORSAccessCheck() const override; | 128 bool didPassCORSAccessCheck() const override; |
| 129 | 129 |
| 130 double mediaTimeForTimeValue(double timeValue) const override; | 130 double mediaTimeForTimeValue(double timeValue) const override; |
| 131 | 131 |
| 132 unsigned decodedFrameCount() const override; | 132 unsigned decodedFrameCount() const override; |
| 133 unsigned droppedFrameCount() const override; | 133 unsigned droppedFrameCount() const override; |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 | 225 |
| 226 // True if the delegate forced a pause during the last OnHidden() call. | 226 // True if the delegate forced a pause during the last OnHidden() call. |
| 227 bool paused_on_hidden_; | 227 bool paused_on_hidden_; |
| 228 | 228 |
| 229 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerMS); | 229 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerMS); |
| 230 }; | 230 }; |
| 231 | 231 |
| 232 } // namespace content | 232 } // namespace content |
| 233 | 233 |
| 234 #endif // CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_ | 234 #endif // CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_ |
| OLD | NEW |