OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_HTML_VIDEO_ELEMENT_CAPTURER_SOURCE_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_HTML_VIDEO_ELEMENT_CAPTURER_SOURCE_H_ |
6 #define CONTENT_RENDERER_MEDIA_HTML_VIDEO_ELEMENT_CAPTURER_SOURCE_H_ | 6 #define CONTENT_RENDERER_MEDIA_HTML_VIDEO_ELEMENT_CAPTURER_SOURCE_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
10 #include "base/threading/thread_checker.h" | 10 #include "base/threading/thread_checker.h" |
11 #include "base/time/time.h" | 11 #include "base/time/time.h" |
12 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
13 #include "media/base/video_capturer_source.h" | |
14 #include "media/base/video_frame_pool.h" | 13 #include "media/base/video_frame_pool.h" |
15 #include "media/base/video_types.h" | 14 #include "media/base/video_types.h" |
| 15 #include "media/capture/video_capturer_source.h" |
16 #include "third_party/WebKit/public/platform/WebSize.h" | 16 #include "third_party/WebKit/public/platform/WebSize.h" |
17 #include "third_party/skia/include/core/SkRefCnt.h" | 17 #include "third_party/skia/include/core/SkRefCnt.h" |
18 | 18 |
19 namespace blink { | 19 namespace blink { |
20 class WebMediaPlayer; | 20 class WebMediaPlayer; |
21 } // namespace blink | 21 } // namespace blink |
22 | 22 |
23 class SkSurface; | 23 class SkSurface; |
24 | 24 |
25 namespace content { | 25 namespace content { |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 | 75 |
76 // Used on main render thread to schedule future capture events. | 76 // Used on main render thread to schedule future capture events. |
77 base::WeakPtrFactory<HtmlVideoElementCapturerSource> weak_factory_; | 77 base::WeakPtrFactory<HtmlVideoElementCapturerSource> weak_factory_; |
78 | 78 |
79 DISALLOW_COPY_AND_ASSIGN(HtmlVideoElementCapturerSource); | 79 DISALLOW_COPY_AND_ASSIGN(HtmlVideoElementCapturerSource); |
80 }; | 80 }; |
81 | 81 |
82 } // namespace content | 82 } // namespace content |
83 | 83 |
84 #endif // CONTENT_RENDERER_MEDIA_HTML_VIDEO_ELEMENT_CAPTURER_SOURCE_H_ | 84 #endif // CONTENT_RENDERER_MEDIA_HTML_VIDEO_ELEMENT_CAPTURER_SOURCE_H_ |
OLD | NEW |