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

Side by Side Diff: remoting/host/screen_resolution.h

Issue 1547473005: Switch to standard integer types in remoting/host/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « remoting/host/screen_controls.h ('k') | remoting/host/screen_resolution.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #ifndef REMOTING_HOST_SCREEN_RESOLUTION_H_ 5 #ifndef REMOTING_HOST_SCREEN_RESOLUTION_H_
6 #define REMOTING_HOST_SCREEN_RESOLUTION_H_ 6 #define REMOTING_HOST_SCREEN_RESOLUTION_H_
7 7
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
10 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" 9 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h"
11 10
12 namespace remoting { 11 namespace remoting {
13 12
14 // Describes a screen's dimensions and DPI. 13 // Describes a screen's dimensions and DPI.
15 class ScreenResolution { 14 class ScreenResolution {
16 public: 15 public:
17 ScreenResolution(); 16 ScreenResolution();
18 ScreenResolution(const webrtc::DesktopSize& dimensions, 17 ScreenResolution(const webrtc::DesktopSize& dimensions,
(...skipping 17 matching lines...) Expand all
36 bool Equals(const ScreenResolution& other) const; 35 bool Equals(const ScreenResolution& other) const;
37 36
38 private: 37 private:
39 webrtc::DesktopSize dimensions_; 38 webrtc::DesktopSize dimensions_;
40 webrtc::DesktopVector dpi_; 39 webrtc::DesktopVector dpi_;
41 }; 40 };
42 41
43 } // namespace remoting 42 } // namespace remoting
44 43
45 #endif // REMOTING_HOST_SCREEN_RESOLUTION_H_ 44 #endif // REMOTING_HOST_SCREEN_RESOLUTION_H_
OLDNEW
« no previous file with comments | « remoting/host/screen_controls.h ('k') | remoting/host/screen_resolution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698