| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 #if !defined(__has_feature) || !__has_feature(objc_arc) | 5 #if !defined(__has_feature) || !__has_feature(objc_arc) |
| 6 #error "This file requires ARC support." | 6 #error "This file requires ARC support." |
| 7 #endif | 7 #endif |
| 8 | 8 |
| 9 #import "remoting/ios/session/remoting_client.h" | 9 #import "remoting/ios/session/remoting_client.h" |
| 10 | 10 |
| 11 #include <memory> | 11 #include <memory> |
| 12 | 12 |
| 13 #import "base/mac/bind_objc_block.h" | 13 #import "base/mac/bind_objc_block.h" |
| 14 #import "ios/third_party/material_components_ios/src/components/Dialogs/src/Mate
rialDialogs.h" | 14 #import "ios/third_party/material_components_ios/src/components/Dialogs/src/Mate
rialDialogs.h" |
| 15 #import "remoting/ios/display/gl_display_handler.h" | 15 #import "remoting/ios/display/gl_display_handler.h" |
| 16 #import "remoting/ios/domain/client_session_details.h" | 16 #import "remoting/ios/domain/client_session_details.h" |
| 17 #import "remoting/ios/domain/host_info.h" | 17 #import "remoting/ios/domain/host_info.h" |
| 18 | 18 |
| 19 #include "base/strings/sys_string_conversions.h" | 19 #include "base/strings/sys_string_conversions.h" |
| 20 #include "remoting/client/chromoting_client_runtime.h" | 20 #include "remoting/client/chromoting_client_runtime.h" |
| 21 #include "remoting/client/chromoting_session.h" | 21 #include "remoting/client/chromoting_session.h" |
| 22 #include "remoting/client/connect_to_host_info.h" | 22 #include "remoting/client/connect_to_host_info.h" |
| 23 #include "remoting/client/gesture_interpreter.h" |
| 23 #include "remoting/client/input/keyboard_interpreter.h" | 24 #include "remoting/client/input/keyboard_interpreter.h" |
| 24 #include "remoting/client/ui/gesture_interpreter.h" | |
| 25 #include "remoting/client/ui/renderer_proxy.h" | 25 #include "remoting/client/ui/renderer_proxy.h" |
| 26 #include "remoting/ios/session/remoting_client_session_delegate.h" | 26 #include "remoting/ios/session/remoting_client_session_delegate.h" |
| 27 #include "remoting/protocol/session.h" | 27 #include "remoting/protocol/session.h" |
| 28 #include "remoting/protocol/video_renderer.h" | 28 #include "remoting/protocol/video_renderer.h" |
| 29 | 29 |
| 30 NSString* const kHostSessionStatusChanged = @"kHostSessionStatusChanged"; | 30 NSString* const kHostSessionStatusChanged = @"kHostSessionStatusChanged"; |
| 31 NSString* const kHostSessionPinProvided = @"kHostSessionPinProvided"; | 31 NSString* const kHostSessionPinProvided = @"kHostSessionPinProvided"; |
| 32 | 32 |
| 33 NSString* const kSessionDetails = @"kSessionDetails"; | 33 NSString* const kSessionDetails = @"kSessionDetails"; |
| 34 NSString* const kSessonStateErrorCode = @"kSessonStateErrorCode"; | 34 NSString* const kSessonStateErrorCode = @"kSessonStateErrorCode"; |
| (...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 | 257 |
| 258 - (void)canvasSizeChanged:(CGSize)size { | 258 - (void)canvasSizeChanged:(CGSize)size { |
| 259 _gestureInterpreter->OnDesktopSizeChanged(size.width, size.height); | 259 _gestureInterpreter->OnDesktopSizeChanged(size.width, size.height); |
| 260 } | 260 } |
| 261 | 261 |
| 262 - (void)rendererTicked { | 262 - (void)rendererTicked { |
| 263 _gestureInterpreter->ProcessAnimations(); | 263 _gestureInterpreter->ProcessAnimations(); |
| 264 } | 264 } |
| 265 | 265 |
| 266 @end | 266 @end |
| OLD | NEW |