OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 #include "remoting/host/desktop_shape_tracker.h" | 5 #include "remoting/host/desktop_shape_tracker.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <vector> | 9 #include <vector> |
8 | 10 |
9 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
11 #include "base/win/scoped_gdi_object.h" | 14 #include "base/win/scoped_gdi_object.h" |
12 #include "third_party/webrtc/modules/desktop_capture/desktop_capture_options.h" | 15 #include "third_party/webrtc/modules/desktop_capture/desktop_capture_options.h" |
13 #include "third_party/webrtc/modules/desktop_capture/desktop_region.h" | 16 #include "third_party/webrtc/modules/desktop_capture/desktop_region.h" |
14 | 17 |
15 namespace remoting { | 18 namespace remoting { |
16 | 19 |
17 namespace { | 20 namespace { |
18 | 21 |
19 struct EnumDesktopShapeData { | 22 struct EnumDesktopShapeData { |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 | 137 |
135 } // namespace | 138 } // namespace |
136 | 139 |
137 // static | 140 // static |
138 scoped_ptr<DesktopShapeTracker> DesktopShapeTracker::Create( | 141 scoped_ptr<DesktopShapeTracker> DesktopShapeTracker::Create( |
139 webrtc::DesktopCaptureOptions options) { | 142 webrtc::DesktopCaptureOptions options) { |
140 return make_scoped_ptr(new DesktopShapeTrackerWin()); | 143 return make_scoped_ptr(new DesktopShapeTrackerWin()); |
141 } | 144 } |
142 | 145 |
143 } // namespace remoting | 146 } // namespace remoting |
OLD | NEW |