OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/single_window_input_injector.h" | 5 #include "remoting/host/single_window_input_injector.h" |
6 | 6 |
7 #include <ApplicationServices/ApplicationServices.h> | 7 #include <ApplicationServices/ApplicationServices.h> |
8 #include <Carbon/Carbon.h> | 8 #include <Carbon/Carbon.h> |
9 | 9 |
10 #include "base/mac/foundation_util.h" | 10 #include "base/mac/foundation_util.h" |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 } | 153 } |
154 | 154 |
155 return CGRectNull; | 155 return CGRectNull; |
156 } | 156 } |
157 | 157 |
158 scoped_ptr<InputInjector> SingleWindowInputInjector::CreateForWindow( | 158 scoped_ptr<InputInjector> SingleWindowInputInjector::CreateForWindow( |
159 webrtc::WindowId window_id, | 159 webrtc::WindowId window_id, |
160 scoped_ptr<InputInjector> input_injector) { | 160 scoped_ptr<InputInjector> input_injector) { |
161 scoped_ptr<SingleWindowInputInjectorMac> injector( | 161 scoped_ptr<SingleWindowInputInjectorMac> injector( |
162 new SingleWindowInputInjectorMac(window_id, input_injector.Pass())); | 162 new SingleWindowInputInjectorMac(window_id, input_injector.Pass())); |
163 return injector.PassAs<InputInjector>(); | 163 return injector.Pass(); |
164 } | 164 } |
165 | 165 |
166 } // namespace remoting | 166 } // namespace remoting |
OLD | NEW |