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

Side by Side Diff: remoting/host/event_executor_win.h

Issue 3229007: Chromoting: Get screen size locally if it wasn't given in the mouse message.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « remoting/host/event_executor_mac.cc ('k') | remoting/host/event_executor_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef REMOTING_HOST_EVENT_EXECUTOR_WIN_H_ 5 #ifndef REMOTING_HOST_EVENT_EXECUTOR_WIN_H_
6 #define REMOTING_HOST_EVENT_EXECUTOR_WIN_H_ 6 #define REMOTING_HOST_EVENT_EXECUTOR_WIN_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "remoting/host/event_executor.h" 10 #include "remoting/host/event_executor.h"
11 11
12 namespace remoting { 12 namespace remoting {
13 13
14 // A class to generate events on Windows. 14 // A class to generate events on Windows.
15 class EventExecutorWin : public EventExecutor { 15 class EventExecutorWin : public EventExecutor {
16 public: 16 public:
17 EventExecutorWin(); 17 EventExecutorWin(Capturer* capturer);
18 virtual ~EventExecutorWin(); 18 virtual ~EventExecutorWin();
19 19
20 virtual void HandleInputEvents(ClientMessageList* messages); 20 virtual void HandleInputEvents(ClientMessageList* messages);
21 21
22 private: 22 private:
23 void HandleMouseSetPosition(ChromotingClientMessage* msg); 23 void HandleMouseSetPosition(ChromotingClientMessage* msg);
24 void HandleMouseMove(ChromotingClientMessage* msg); 24 void HandleMouseMove(ChromotingClientMessage* msg);
25 void HandleMouseWheel(ChromotingClientMessage* msg); 25 void HandleMouseWheel(ChromotingClientMessage* msg);
26 void HandleMouseButtonDown(ChromotingClientMessage* msg); 26 void HandleMouseButtonDown(ChromotingClientMessage* msg);
27 void HandleMouseButtonUp(ChromotingClientMessage* msg); 27 void HandleMouseButtonUp(ChromotingClientMessage* msg);
28 void HandleKey(ChromotingClientMessage* msg); 28 void HandleKey(ChromotingClientMessage* msg);
29 29
30 DISALLOW_COPY_AND_ASSIGN(EventExecutorWin); 30 DISALLOW_COPY_AND_ASSIGN(EventExecutorWin);
31 }; 31 };
32 32
33 } // namespace remoting 33 } // namespace remoting
34 34
35 #endif // REMOTING_HOST_EVENT_EXECUTOR_WIN_H_ 35 #endif // REMOTING_HOST_EVENT_EXECUTOR_WIN_H_
OLDNEW
« no previous file with comments | « remoting/host/event_executor_mac.cc ('k') | remoting/host/event_executor_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698