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

Side by Side Diff: remoting/host/local_input_monitor_mac.mm

Issue 628753002: replace OVERRIDE and FINAL with override and final in remoting/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 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
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 #include "remoting/host/local_input_monitor.h" 5 #include "remoting/host/local_input_monitor.h"
6 6
7 #import <AppKit/AppKit.h> 7 #import <AppKit/AppKit.h>
8 #include <set> 8 #include <set>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 168
169 private: 169 private:
170 friend class base::RefCountedThreadSafe<Core>; 170 friend class base::RefCountedThreadSafe<Core>;
171 virtual ~Core(); 171 virtual ~Core();
172 172
173 void StartOnUiThread(); 173 void StartOnUiThread();
174 void StopOnUiThread(); 174 void StopOnUiThread();
175 175
176 // EventHandler interface. 176 // EventHandler interface.
177 virtual void OnLocalMouseMoved( 177 virtual void OnLocalMouseMoved(
178 const webrtc::DesktopVector& position) OVERRIDE; 178 const webrtc::DesktopVector& position) override;
179 virtual void OnDisconnectShortcut() OVERRIDE; 179 virtual void OnDisconnectShortcut() override;
180 180
181 // Task runner on which public methods of this class must be called. 181 // Task runner on which public methods of this class must be called.
182 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner_; 182 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner_;
183 183
184 // Task runner on which |window_| is created. 184 // Task runner on which |window_| is created.
185 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_; 185 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_;
186 186
187 LocalInputMonitorManager* manager_; 187 LocalInputMonitorManager* manager_;
188 188
189 // Invoked in the |caller_task_runner_| thread to report local mouse events 189 // Invoked in the |caller_task_runner_| thread to report local mouse events
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 scoped_ptr<LocalInputMonitor> LocalInputMonitor::Create( 279 scoped_ptr<LocalInputMonitor> LocalInputMonitor::Create(
280 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, 280 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner,
281 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, 281 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner,
282 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, 282 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner,
283 base::WeakPtr<ClientSessionControl> client_session_control) { 283 base::WeakPtr<ClientSessionControl> client_session_control) {
284 return make_scoped_ptr(new LocalInputMonitorMac( 284 return make_scoped_ptr(new LocalInputMonitorMac(
285 caller_task_runner, ui_task_runner, client_session_control)); 285 caller_task_runner, ui_task_runner, client_session_control));
286 } 286 }
287 287
288 } // namespace remoting 288 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/local_input_monitor_linux.cc ('k') | remoting/host/local_input_monitor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698