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 #include "content/browser/renderer_host/media/desktop_capture_device_aura.h" | 5 #include "content/browser/renderer_host/media/desktop_capture_device_aura.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/timer/timer.h" | 8 #include "base/timer/timer.h" |
9 #include "cc/output/copy_output_request.h" | 9 #include "cc/output/copy_output_request.h" |
10 #include "cc/output/copy_output_result.h" | 10 #include "cc/output/copy_output_result.h" |
11 #include "content/browser/aura/image_transport_factory.h" | 11 #include "content/browser/compositor/image_transport_factory.h" |
12 #include "content/browser/renderer_host/media/video_capture_device_impl.h" | 12 #include "content/browser/renderer_host/media/video_capture_device_impl.h" |
13 #include "content/common/gpu/client/gl_helper.h" | 13 #include "content/common/gpu/client/gl_helper.h" |
14 #include "content/public/browser/browser_thread.h" | 14 #include "content/public/browser/browser_thread.h" |
15 #include "media/base/video_util.h" | 15 #include "media/base/video_util.h" |
16 #include "media/video/capture/video_capture_types.h" | 16 #include "media/video/capture/video_capture_types.h" |
17 #include "skia/ext/image_operations.h" | 17 #include "skia/ext/image_operations.h" |
18 #include "third_party/skia/include/core/SkBitmap.h" | 18 #include "third_party/skia/include/core/SkBitmap.h" |
19 #include "ui/aura/env.h" | 19 #include "ui/aura/env.h" |
20 #include "ui/aura/root_window.h" | 20 #include "ui/aura/root_window.h" |
21 #include "ui/aura/window.h" | 21 #include "ui/aura/window.h" |
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
436 scoped_ptr<Client> client) { | 436 scoped_ptr<Client> client) { |
437 DVLOG(1) << "Allocating " << params.requested_format.frame_size.ToString(); | 437 DVLOG(1) << "Allocating " << params.requested_format.frame_size.ToString(); |
438 impl_->AllocateAndStart(params, client.Pass()); | 438 impl_->AllocateAndStart(params, client.Pass()); |
439 } | 439 } |
440 | 440 |
441 void DesktopCaptureDeviceAura::StopAndDeAllocate() { | 441 void DesktopCaptureDeviceAura::StopAndDeAllocate() { |
442 impl_->StopAndDeAllocate(); | 442 impl_->StopAndDeAllocate(); |
443 } | 443 } |
444 | 444 |
445 } // namespace content | 445 } // namespace content |
OLD | NEW |