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

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

Issue 5298001: Use VP8 over PseudoTCP by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 10 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_mac.h" 5 #include "remoting/host/event_executor_mac.h"
6 6
7 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "base/task.h" 8 #include "base/task.h"
9 #include "remoting/protocol/message_decoder.h" 9 #include "remoting/protocol/message_decoder.h"
10 10
(...skipping 11 matching lines...) Expand all
22 void EventExecutorMac::InjectKeyEvent(const KeyEvent* event, Task* done) { 22 void EventExecutorMac::InjectKeyEvent(const KeyEvent* event, Task* done) {
23 done->Run(); 23 done->Run();
24 delete done; 24 delete done;
25 } 25 }
26 26
27 void EventExecutorMac::InjectMouseEvent(const MouseEvent* event, Task* done) { 27 void EventExecutorMac::InjectMouseEvent(const MouseEvent* event, Task* done) {
28 done->Run(); 28 done->Run();
29 delete done; 29 delete done;
30 } 30 }
31 31
32 // static
33 EventExecutor* EventExecutor::Create(MessageLoop* message_loop,
34 Capturer* capturer) {
35 return new EventExecutorMac(message_loop, capturer);
36 }
37
32 } // namespace remoting 38 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698