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

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

Issue 1547473005: Switch to standard integer types in remoting/host/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 <stdint.h>
8 #include <set> 9 #include <set>
9 10
10 #include "base/bind.h" 11 #include "base/bind.h"
11 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
12 #include "base/location.h" 13 #include "base/location.h"
13 #include "base/logging.h" 14 #include "base/logging.h"
14 #include "base/mac/scoped_cftyperef.h" 15 #include "base/mac/scoped_cftyperef.h"
16 #include "base/macros.h"
15 #include "base/memory/ref_counted.h" 17 #include "base/memory/ref_counted.h"
16 #include "base/single_thread_task_runner.h" 18 #include "base/single_thread_task_runner.h"
17 #include "base/synchronization/lock.h" 19 #include "base/synchronization/lock.h"
18 #include "base/threading/non_thread_safe.h" 20 #include "base/threading/non_thread_safe.h"
19 #include "remoting/host/client_session_control.h" 21 #include "remoting/host/client_session_control.h"
20 #import "third_party/google_toolbox_for_mac/src/AppKit/GTMCarbonEvent.h" 22 #import "third_party/google_toolbox_for_mac/src/AppKit/GTMCarbonEvent.h"
21 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" 23 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h"
22 24
23 // Esc Key Code is 53. 25 // Esc Key Code is 53.
24 // http://boredzo.org/blog/wp-content/uploads/2007/05/IMTx-virtual-keycodes.pdf 26 // http://boredzo.org/blog/wp-content/uploads/2007/05/IMTx-virtual-keycodes.pdf
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 scoped_ptr<LocalInputMonitor> LocalInputMonitor::Create( 280 scoped_ptr<LocalInputMonitor> LocalInputMonitor::Create(
279 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, 281 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner,
280 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, 282 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner,
281 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, 283 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner,
282 base::WeakPtr<ClientSessionControl> client_session_control) { 284 base::WeakPtr<ClientSessionControl> client_session_control) {
283 return make_scoped_ptr(new LocalInputMonitorMac( 285 return make_scoped_ptr(new LocalInputMonitorMac(
284 caller_task_runner, ui_task_runner, client_session_control)); 286 caller_task_runner, ui_task_runner, client_session_control));
285 } 287 }
286 288
287 } // namespace remoting 289 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/local_input_monitor_chromeos.cc ('k') | remoting/host/local_input_monitor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698