OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/input_injector.h" | 5 #include "remoting/host/input_injector.h" |
6 | 6 |
7 #include <ApplicationServices/ApplicationServices.h> | 7 #include <ApplicationServices/ApplicationServices.h> |
8 #include <Carbon/Carbon.h> | 8 #include <Carbon/Carbon.h> |
9 #include <algorithm> | 9 #include <algorithm> |
10 | 10 |
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 return; | 333 return; |
334 } | 334 } |
335 | 335 |
336 clipboard_.reset(); | 336 clipboard_.reset(); |
337 } | 337 } |
338 | 338 |
339 InputInjectorMac::Core::~Core() {} | 339 InputInjectorMac::Core::~Core() {} |
340 | 340 |
341 } // namespace | 341 } // namespace |
342 | 342 |
| 343 // static |
343 scoped_ptr<InputInjector> InputInjector::Create( | 344 scoped_ptr<InputInjector> InputInjector::Create( |
344 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, | 345 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, |
345 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) { | 346 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) { |
346 return make_scoped_ptr(new InputInjectorMac(main_task_runner)); | 347 return make_scoped_ptr(new InputInjectorMac(main_task_runner)); |
347 } | 348 } |
348 | 349 |
| 350 // static |
| 351 bool InputInjector::SupportsTouchEvents() { |
| 352 return false; |
| 353 } |
| 354 |
349 } // namespace remoting | 355 } // namespace remoting |
OLD | NEW |