OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "remoting/host/directx_traits.h" |
| 6 |
| 7 #if defined(OS_WIN) |
| 8 #include "remoting/host/host_traits.h" |
| 9 #include "third_party/webrtc/modules/desktop_capture/win/screen_capturer_win_dir
ectx.h" |
| 10 |
| 11 namespace remoting { |
| 12 |
| 13 void RegisterDirectxTraits() { |
| 14 host_traits().Register("DirectX-Capturer", |
| 15 &ScreenCapturerWinDirectx::IsSupported); |
| 16 // TODO(zijiehe): Add minimum and maximum DirectX version supported on the |
| 17 // system. Blocked by change https://codereview.chromium.org/2468083002/. |
| 18 } |
| 19 |
| 20 } // namespace remoting |
| 21 #else |
| 22 namespace remoting { |
| 23 // Do nothing on other platforms. |
| 24 void RegisterDirectxTraits() {} |
| 25 } // namespace remoting |
| 26 #endif |
OLD | NEW |