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

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

Issue 1542013004: Switch to standard integer types in media/, take 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more stddef Created 4 years, 12 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>
8
7 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/macros.h"
8 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
9 #include "base/single_thread_task_runner.h" 12 #include "base/single_thread_task_runner.h"
10 #include "base/thread_task_runner_handle.h" 13 #include "base/thread_task_runner_handle.h"
11 #include "ui/gfx/display.h" 14 #include "ui/gfx/display.h"
12 #include "ui/gfx/display_observer.h" 15 #include "ui/gfx/display_observer.h"
13 #include "ui/gfx/screen.h" 16 #include "ui/gfx/screen.h"
14 17
15 namespace media { 18 namespace media {
16 19
17 // 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
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 screen_observer_delegate_->RemoveObserver(); 108 screen_observer_delegate_->RemoveObserver();
106 } 109 }
107 110
108 void VideoCaptureDeviceChromeOS::SetDisplayRotation( 111 void VideoCaptureDeviceChromeOS::SetDisplayRotation(
109 const gfx::Display& display) { 112 const gfx::Display& display) {
110 if (display.IsInternal()) 113 if (display.IsInternal())
111 SetRotation(display.rotation() * 90); 114 SetRotation(display.rotation() * 90);
112 } 115 }
113 116
114 } // namespace media 117 } // namespace media
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698