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

Side by Side Diff: content/browser/renderer_host/media/desktop_capture_device_aura.cc

Issue 140753005: Add the UI compositor to the Mac build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 months 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 | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698