OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #ifndef WEBRTC_MODULES_DESKTOP_CAPTURE_DESKTOP_GEOMETRY_H_ | 11 #ifndef WEBRTC_MODULES_DESKTOP_CAPTURE_DESKTOP_GEOMETRY_H_ |
12 #define WEBRTC_MODULES_DESKTOP_CAPTURE_DESKTOP_GEOMETRY_H_ | 12 #define WEBRTC_MODULES_DESKTOP_CAPTURE_DESKTOP_GEOMETRY_H_ |
13 | 13 |
14 #include "webrtc/rtc_base/constructormagic.h" | 14 #include "webrtc/base/constructormagic.h" |
15 #include "webrtc/typedefs.h" | 15 #include "webrtc/typedefs.h" |
16 | 16 |
17 namespace webrtc { | 17 namespace webrtc { |
18 | 18 |
19 // A vector in the 2D integer space. E.g. can be used to represent screen DPI. | 19 // A vector in the 2D integer space. E.g. can be used to represent screen DPI. |
20 class DesktopVector { | 20 class DesktopVector { |
21 public: | 21 public: |
22 DesktopVector() : x_(0), y_(0) {} | 22 DesktopVector() : x_(0), y_(0) {} |
23 DesktopVector(int32_t x, int32_t y) : x_(x), y_(y) {} | 23 DesktopVector(int32_t x, int32_t y) : x_(x), y_(y) {} |
24 | 24 |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 int32_t left_; | 150 int32_t left_; |
151 int32_t top_; | 151 int32_t top_; |
152 int32_t right_; | 152 int32_t right_; |
153 int32_t bottom_; | 153 int32_t bottom_; |
154 }; | 154 }; |
155 | 155 |
156 } // namespace webrtc | 156 } // namespace webrtc |
157 | 157 |
158 #endif // WEBRTC_MODULES_DESKTOP_CAPTURE_DESKTOP_GEOMETRY_H_ | 158 #endif // WEBRTC_MODULES_DESKTOP_CAPTURE_DESKTOP_GEOMETRY_H_ |
159 | 159 |
OLD | NEW |