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

Side by Side Diff: media/video/capture/linux/video_capture_device_chromeos.cc

Issue 292663010: Merge 271560 "Add a ChromeOS implementation of VideoCaptureDevic..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1985/src/
Patch Set: Created 6 years, 7 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "media/video/capture/linux/video_capture_device_chromeos.h" 5 #include "media/video/capture/linux/video_capture_device_chromeos.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/message_loop/message_loop_proxy.h" 9 #include "base/message_loop/message_loop_proxy.h"
10 #include "ui/gfx/display.h" 10 #include "ui/gfx/display.h"
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 screen_observer_delegate_->RemoveObserver(); 103 screen_observer_delegate_->RemoveObserver();
104 } 104 }
105 105
106 void VideoCaptureDeviceChromeOS::SetDisplayRotation( 106 void VideoCaptureDeviceChromeOS::SetDisplayRotation(
107 const gfx::Display& display) { 107 const gfx::Display& display) {
108 if (display.IsInternal()) 108 if (display.IsInternal())
109 SetRotation(display.rotation() * 90); 109 SetRotation(display.rotation() * 90);
110 } 110 }
111 111
112 } // namespace media 112 } // namespace media
OLDNEW
« no previous file with comments | « media/video/capture/linux/video_capture_device_chromeos.h ('k') | media/video/capture/linux/video_capture_device_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698