OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "components/arc/input/arc_input_bridge_impl.h" | 5 #include "components/arc/input/arc_input_bridge_impl.h" |
6 | 6 |
7 #include <linux/input.h> | 7 #include <linux/input.h> |
8 #include <fcntl.h> | 8 #include <fcntl.h> |
| 9 #include <stddef.h> |
9 | 10 |
10 #include <string> | 11 #include <string> |
11 | 12 |
12 #include "base/logging.h" | 13 #include "base/logging.h" |
13 #include "base/posix/eintr_wrapper.h" | 14 #include "base/posix/eintr_wrapper.h" |
14 #include "base/thread_task_runner_handle.h" | 15 #include "base/thread_task_runner_handle.h" |
15 #include "base/time/time.h" | 16 #include "base/time/time.h" |
16 #include "components/arc/arc_bridge_service.h" | 17 #include "components/arc/arc_bridge_service.h" |
17 #include "third_party/mojo/src/mojo/edk/embedder/embedder.h" | 18 #include "third_party/mojo/src/mojo/edk/embedder/embedder.h" |
18 #include "ui/aura/env.h" | 19 #include "ui/aura/env.h" |
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
363 } | 364 } |
364 return write_fd; | 365 return write_fd; |
365 } | 366 } |
366 | 367 |
367 scoped_ptr<ArcInputBridge> ArcInputBridge::Create( | 368 scoped_ptr<ArcInputBridge> ArcInputBridge::Create( |
368 ArcBridgeService* arc_bridge_service) { | 369 ArcBridgeService* arc_bridge_service) { |
369 return make_scoped_ptr(new ArcInputBridgeImpl(arc_bridge_service)); | 370 return make_scoped_ptr(new ArcInputBridgeImpl(arc_bridge_service)); |
370 } | 371 } |
371 | 372 |
372 } // namespace arc | 373 } // namespace arc |
OLD | NEW |