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

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

Issue 10700129: remoting/host: Fix cpplint warning of header guards. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: forgot to remove one Created 8 years, 5 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/disconnect_window.h ('k') | remoting/host/local_input_monitor_thread_linux.h » ('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) 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 #ifndef REMOTING_LOCAL_INPUT_MONITOR_H_ 5 #ifndef REMOTING_HOST_LOCAL_INPUT_MONITOR_H_
6 #define REMOTING_LOCAL_INPUT_MONITOR_H_ 6 #define REMOTING_HOST_LOCAL_INPUT_MONITOR_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 10
11 namespace remoting { 11 namespace remoting {
12 12
13 class MouseMoveObserver; 13 class MouseMoveObserver;
14 14
15 class LocalInputMonitor { 15 class LocalInputMonitor {
16 public: 16 public:
17 virtual ~LocalInputMonitor() {} 17 virtual ~LocalInputMonitor() {}
18 18
19 // Starts local input monitoring. This class is also responsible for 19 // Starts local input monitoring. This class is also responsible for
20 // of catching the disconnection keyboard shortcut on Mac and Linux 20 // of catching the disconnection keyboard shortcut on Mac and Linux
21 // (Ctlr-Alt-Esc). The |disconnect_callback| is called when this key 21 // (Ctlr-Alt-Esc). The |disconnect_callback| is called when this key
22 // combination is pressed. 22 // combination is pressed.
23 // 23 //
24 // TODO(sergeyu): Refactor shortcut code to a separate class. 24 // TODO(sergeyu): Refactor shortcut code to a separate class.
25 virtual void Start(MouseMoveObserver* mouse_move_observer, 25 virtual void Start(MouseMoveObserver* mouse_move_observer,
26 const base::Closure& disconnect_callback) = 0; 26 const base::Closure& disconnect_callback) = 0;
27 virtual void Stop() = 0; 27 virtual void Stop() = 0;
28 28
29 static scoped_ptr<LocalInputMonitor> Create(); 29 static scoped_ptr<LocalInputMonitor> Create();
30 }; 30 };
31 31
32 } // namespace remoting 32 } // namespace remoting
33 33
34 #endif 34 #endif // REMOTING_HOST_LOCAL_INPUT_MONITOR_H_
OLDNEW
« no previous file with comments | « remoting/host/disconnect_window.h ('k') | remoting/host/local_input_monitor_thread_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698