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 <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 13 #include "base/single_thread_task_runner.h" |
13 #include "base/synchronization/lock.h" | 14 #include "base/synchronization/lock.h" |
14 #include "base/threading/thread_checker.h" | 15 #include "base/threading/thread_checker.h" |
15 #include "content/common/content_export.h" | 16 #include "content/common/content_export.h" |
16 #include "media/blink/webmediaplayer_delegate.h" | 17 #include "media/blink/webmediaplayer_delegate.h" |
17 #include "media/blink/webmediaplayer_util.h" | 18 #include "media/blink/webmediaplayer_util.h" |
18 #include "media/renderers/gpu_video_accelerator_factories.h" | 19 #include "media/renderers/gpu_video_accelerator_factories.h" |
19 #include "media/renderers/skcanvas_video_renderer.h" | 20 #include "media/renderers/skcanvas_video_renderer.h" |
20 #include "third_party/WebKit/public/platform/WebMediaPlayer.h" | 21 #include "third_party/WebKit/public/platform/WebMediaPlayer.h" |
21 #include "url/origin.h" | 22 #include "url/origin.h" |
22 | 23 |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 // True if playback should be started upon the next call to OnShown(). Only | 264 // True if playback should be started upon the next call to OnShown(). Only |
264 // used on Android. | 265 // used on Android. |
265 bool should_play_upon_shown_; | 266 bool should_play_upon_shown_; |
266 | 267 |
267 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerMS); | 268 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerMS); |
268 }; | 269 }; |
269 | 270 |
270 } // namespace content | 271 } // namespace content |
271 | 272 |
272 #endif // CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_ | 273 #endif // CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_ |
OLD | NEW |