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

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

Issue 1965273003: Fix include path for moved thread_task_runner_handle.h header in media/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393009 Created 4 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
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/capture/video/linux/video_capture_device_chromeos.h" 5 #include "media/capture/video/linux/video_capture_device_chromeos.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/single_thread_task_runner.h" 12 #include "base/single_thread_task_runner.h"
13 #include "base/thread_task_runner_handle.h" 13 #include "base/threading/thread_task_runner_handle.h"
14 #include "ui/display/display.h" 14 #include "ui/display/display.h"
15 #include "ui/display/display_observer.h" 15 #include "ui/display/display_observer.h"
16 #include "ui/display/screen.h" 16 #include "ui/display/screen.h"
17 17
18 namespace media { 18 namespace media {
19 19
20 // This is a delegate class used to transfer Display change events from the UI 20 // This is a delegate class used to transfer Display change events from the UI
21 // thread to the media thread. 21 // thread to the media thread.
22 class VideoCaptureDeviceChromeOS::ScreenObserverDelegate 22 class VideoCaptureDeviceChromeOS::ScreenObserverDelegate
23 : public display::DisplayObserver, 23 : public display::DisplayObserver,
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 screen_observer_delegate_->RemoveObserver(); 106 screen_observer_delegate_->RemoveObserver();
107 } 107 }
108 108
109 void VideoCaptureDeviceChromeOS::SetDisplayRotation( 109 void VideoCaptureDeviceChromeOS::SetDisplayRotation(
110 const display::Display& display) { 110 const display::Display& display) {
111 if (display.IsInternal()) 111 if (display.IsInternal())
112 SetRotation(display.rotation() * 90); 112 SetRotation(display.rotation() * 90);
113 } 113 }
114 114
115 } // namespace media 115 } // namespace media
OLDNEW
« no previous file with comments | « media/blink/webmediaplayer_impl_unittest.cc ('k') | media/capture/video/mac/video_capture_device_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698