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/event_executor.h" | 5 #include "remoting/host/event_executor.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 | 8 |
9 #include <X11/Xlib.h> | 9 #include <X11/Xlib.h> |
10 #include <X11/XF86keysym.h> | 10 #include <X11/XF86keysym.h> |
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 } | 428 } |
429 | 429 |
430 void EventExecutorLinux::OnSessionFinished() { | 430 void EventExecutorLinux::OnSessionFinished() { |
431 return; | 431 return; |
432 } | 432 } |
433 | 433 |
434 } // namespace | 434 } // namespace |
435 | 435 |
436 scoped_ptr<EventExecutor> EventExecutor::Create( | 436 scoped_ptr<EventExecutor> EventExecutor::Create( |
437 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, | 437 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, |
438 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, | 438 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) { |
439 VideoFrameCapturer* capturer) { | |
440 scoped_ptr<EventExecutorLinux> executor( | 439 scoped_ptr<EventExecutorLinux> executor( |
441 new EventExecutorLinux(main_task_runner)); | 440 new EventExecutorLinux(main_task_runner)); |
442 if (!executor->Init()) | 441 if (!executor->Init()) |
443 return scoped_ptr<EventExecutor>(NULL); | 442 return scoped_ptr<EventExecutor>(NULL); |
444 return executor.PassAs<EventExecutor>(); | 443 return executor.PassAs<EventExecutor>(); |
445 } | 444 } |
446 | 445 |
447 } // namespace remoting | 446 } // namespace remoting |
OLD | NEW |