OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "media/base/user_input_monitor.h" | 5 #include "media/base/user_input_monitor.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
7 #include "base/bind.h" | 10 #include "base/bind.h" |
8 #include "base/location.h" | 11 #include "base/location.h" |
9 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "base/macros.h" |
10 #include "base/message_loop/message_loop.h" | 14 #include "base/message_loop/message_loop.h" |
11 #include "base/single_thread_task_runner.h" | 15 #include "base/single_thread_task_runner.h" |
12 #include "base/strings/stringprintf.h" | 16 #include "base/strings/stringprintf.h" |
13 #include "base/synchronization/lock.h" | 17 #include "base/synchronization/lock.h" |
14 #include "base/win/message_window.h" | 18 #include "base/win/message_window.h" |
15 #include "media/base/keyboard_event_counter.h" | 19 #include "media/base/keyboard_event_counter.h" |
16 #include "third_party/skia/include/core/SkPoint.h" | 20 #include "third_party/skia/include/core/SkPoint.h" |
17 #include "ui/events/keycodes/keyboard_code_conversion_win.h" | 21 #include "ui/events/keycodes/keyboard_code_conversion_win.h" |
18 | 22 |
19 namespace media { | 23 namespace media { |
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 | 312 |
309 } // namespace | 313 } // namespace |
310 | 314 |
311 scoped_ptr<UserInputMonitor> UserInputMonitor::Create( | 315 scoped_ptr<UserInputMonitor> UserInputMonitor::Create( |
312 const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner, | 316 const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner, |
313 const scoped_refptr<base::SingleThreadTaskRunner>& ui_task_runner) { | 317 const scoped_refptr<base::SingleThreadTaskRunner>& ui_task_runner) { |
314 return scoped_ptr<UserInputMonitor>(new UserInputMonitorWin(ui_task_runner)); | 318 return scoped_ptr<UserInputMonitor>(new UserInputMonitorWin(ui_task_runner)); |
315 } | 319 } |
316 | 320 |
317 } // namespace media | 321 } // namespace media |
OLD | NEW |