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

Side by Side Diff: remoting/host/multi_touch_capability.cc

Issue 1033913003: Touch Events capability negotiation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
OLDNEW
(Empty)
1 // Copyright 2015 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/multi_touch_capability.h"
6
7 #include "base/logging.h"
8
9 #if defined(OS_WIN)
10 #include "remoting/host/touch_injector_win.h"
11 #endif // defined(OS_WIN)
12
13 namespace remoting {
14
15 bool MultiTouchCapable() {
16 #if defined(OS_WIN)
17 return TouchInjectorWinDelegate::Create().get() != nullptr;
Wez 2015/03/30 17:10:07 nit: You can test a scoped_ptr<> directly as a boo
Rintaro Kuroiwa 2015/04/08 03:27:43 Done. Also moved this to InputInjector<platform>::
18 #else // !defined(OS_WIN)
19 return false;
20 #endif // defined(OS_WIN)
21 }
22
23 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698