| 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/client_gestures.h" | 9 #import "remoting/ios/client_gestures.h" |
| 10 | 10 |
| 11 #import "remoting/ios/key_input.h" | |
| 12 #import "remoting/ios/session/remoting_client.h" | 11 #import "remoting/ios/session/remoting_client.h" |
| 13 | 12 |
| 14 #include "base/logging.h" | 13 #include "base/logging.h" |
| 15 #include "remoting/client/ui/gesture_interpreter.h" | 14 #include "remoting/client/ui/gesture_interpreter.h" |
| 16 | 15 |
| 17 @implementation ClientGestures | 16 @implementation ClientGestures |
| 18 | 17 |
| 19 - (instancetype)initWithView:(UIView*)view client:(RemotingClient*)client { | 18 - (instancetype)initWithView:(UIView*)view client:(RemotingClient*)client { |
| 20 _view = view; | 19 _view = view; |
| 21 _client = client; | 20 _client = client; |
| (...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 400 otherGestureRecognizer == _edgeGesture) { | 399 otherGestureRecognizer == _edgeGesture) { |
| 401 return YES; | 400 return YES; |
| 402 } | 401 } |
| 403 // TODO(nicholss): If we return NO here, it dismisses the other reconizers. | 402 // TODO(nicholss): If we return NO here, it dismisses the other reconizers. |
| 404 // As we add more types of reconizers, they need to be accounted for in the | 403 // As we add more types of reconizers, they need to be accounted for in the |
| 405 // above logic. | 404 // above logic. |
| 406 return NO; | 405 return NO; |
| 407 } | 406 } |
| 408 | 407 |
| 409 @end | 408 @end |
| OLD | NEW |