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 "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/location.h" | 8 #include "base/location.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/memory/weak_ptr.h" | |
11 #include "base/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
12 #include "base/single_thread_task_runner.h" | 11 #include "base/single_thread_task_runner.h" |
13 #include "base/strings/stringprintf.h" | 12 #include "base/strings/stringprintf.h" |
14 #include "base/synchronization/lock.h" | 13 #include "base/synchronization/lock.h" |
15 #include "base/win/message_window.h" | 14 #include "base/win/message_window.h" |
16 #include "media/base/keyboard_event_counter.h" | 15 #include "media/base/keyboard_event_counter.h" |
17 #include "third_party/skia/include/core/SkPoint.h" | 16 #include "third_party/skia/include/core/SkPoint.h" |
18 #include "ui/events/keycodes/keyboard_code_conversion_win.h" | 17 #include "ui/events/keycodes/keyboard_code_conversion_win.h" |
19 | 18 |
20 namespace media { | 19 namespace media { |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
311 | 310 |
312 } // namespace | 311 } // namespace |
313 | 312 |
314 scoped_ptr<UserInputMonitor> UserInputMonitor::Create( | 313 scoped_ptr<UserInputMonitor> UserInputMonitor::Create( |
315 const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner, | 314 const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner, |
316 const scoped_refptr<base::SingleThreadTaskRunner>& ui_task_runner) { | 315 const scoped_refptr<base::SingleThreadTaskRunner>& ui_task_runner) { |
317 return scoped_ptr<UserInputMonitor>(new UserInputMonitorWin(ui_task_runner)); | 316 return scoped_ptr<UserInputMonitor>(new UserInputMonitorWin(ui_task_runner)); |
318 } | 317 } |
319 | 318 |
320 } // namespace media | 319 } // namespace media |
OLD | NEW |