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

Side by Side Diff: content/renderer/media/canvas_capture_handler.h

Issue 2415703002: Move files video_capture*.* from media/base to media/capture (Closed)
Patch Set: rebase Created 4 years, 1 month 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
OLDNEW
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_CANVAS_CAPTURE_HANDLER_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_CANVAS_CAPTURE_HANDLER_H_
6 #define CONTENT_RENDERER_MEDIA_CANVAS_CAPTURE_HANDLER_H_ 6 #define CONTENT_RENDERER_MEDIA_CANVAS_CAPTURE_HANDLER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <memory> 11 #include <memory>
12 12
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "base/memory/weak_ptr.h" 15 #include "base/memory/weak_ptr.h"
16 #include "base/single_thread_task_runner.h" 16 #include "base/single_thread_task_runner.h"
17 #include "base/threading/thread_checker.h" 17 #include "base/threading/thread_checker.h"
18 #include "content/common/content_export.h" 18 #include "content/common/content_export.h"
19 #include "media/base/video_capturer_source.h"
20 #include "media/base/video_frame_pool.h" 19 #include "media/base/video_frame_pool.h"
20 #include "media/capture/video_capturer_source.h"
21 #include "third_party/WebKit/public/platform/WebCanvasCaptureHandler.h" 21 #include "third_party/WebKit/public/platform/WebCanvasCaptureHandler.h"
22 #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h" 22 #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h"
23 #include "third_party/WebKit/public/platform/WebSize.h" 23 #include "third_party/WebKit/public/platform/WebSize.h"
24 #include "third_party/skia/include/core/SkImageInfo.h" 24 #include "third_party/skia/include/core/SkImageInfo.h"
25 25
26 class SkImage; 26 class SkImage;
27 27
28 namespace content { 28 namespace content {
29 29
30 // CanvasCaptureHandler acts as the link between Blink side HTMLCanvasElement 30 // CanvasCaptureHandler acts as the link between Blink side HTMLCanvasElement
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 // Bound to Main Render thread. 100 // Bound to Main Render thread.
101 base::ThreadChecker main_render_thread_checker_; 101 base::ThreadChecker main_render_thread_checker_;
102 base::WeakPtrFactory<CanvasCaptureHandler> weak_ptr_factory_; 102 base::WeakPtrFactory<CanvasCaptureHandler> weak_ptr_factory_;
103 103
104 DISALLOW_COPY_AND_ASSIGN(CanvasCaptureHandler); 104 DISALLOW_COPY_AND_ASSIGN(CanvasCaptureHandler);
105 }; 105 };
106 106
107 } // namespace content 107 } // namespace content
108 108
109 #endif // CONTENT_RENDERER_MEDIA_CANVAS_CAPTURE_HANDLER_H_ 109 #endif // CONTENT_RENDERER_MEDIA_CANVAS_CAPTURE_HANDLER_H_
OLDNEW
« no previous file with comments | « content/public/renderer/media_stream_video_sink.h ('k') | content/renderer/media/html_video_element_capturer_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698