| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |