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

Unified Diff: remoting/host/local_input_monitor_thread_linux.h

Issue 10447041: Fix Ctrl+Alt+Esc keyboard shortcut in Me2Me host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/local_input_monitor_mac.mm ('k') | remoting/host/local_input_monitor_thread_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/local_input_monitor_thread_linux.h
diff --git a/remoting/host/local_input_monitor_thread_linux.h b/remoting/host/local_input_monitor_thread_linux.h
index bc4eb9b8c059f702e7c437e466319dc69a754696..73359b17347cad5da715833f8a86e484628dd6d7 100644
--- a/remoting/host/local_input_monitor_thread_linux.h
+++ b/remoting/host/local_input_monitor_thread_linux.h
@@ -5,20 +5,25 @@
#ifndef LOCAL_INPUT_MONITOR_THREAD_LINUX_H_
#define LOCAL_INPUT_MONITOR_THREAD_LINUX_H_
+#include "base/callback.h"
#include "base/compiler_specific.h"
#include "base/memory/ref_counted.h"
#include "base/threading/simple_thread.h"
-#include "third_party/skia/include/core/SkPoint.h"
+#include "remoting/host/local_input_monitor.h"
typedef struct _XDisplay Display;
+struct SkIPoint;
+
namespace remoting {
-class ChromotingHost;
+class MouseMoveObserver;
class LocalInputMonitorThread : public base::SimpleThread {
public:
- explicit LocalInputMonitorThread(ChromotingHost* host);
+ LocalInputMonitorThread(
+ MouseMoveObserver* mouse_move_observer,
+ const base::Closure& disconnect_callback);
virtual ~LocalInputMonitorThread();
void Stop();
@@ -28,7 +33,8 @@ class LocalInputMonitorThread : public base::SimpleThread {
void LocalKeyPressed(int key_code, bool down);
private:
- scoped_refptr<ChromotingHost> host_;
+ MouseMoveObserver* mouse_move_observer_;
+ base::Closure disconnect_callback_;
int wakeup_pipe_[2];
Display* display_;
bool alt_pressed_;
« no previous file with comments | « remoting/host/local_input_monitor_mac.mm ('k') | remoting/host/local_input_monitor_thread_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698