| 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 #ifndef REMOTING_CLIENT_IOS_CLIENT_GESTURES_H_ | 5 #ifndef REMOTING_IOS_CLIENT_GESTURES_H_ |
| 6 #define REMOTING_CLIENT_IOS_CLIENT_GESTURES_H_ | 6 #define REMOTING_IOS_CLIENT_GESTURES_H_ |
| 7 | 7 |
| 8 #import <Foundation/Foundation.h> | 8 #import <Foundation/Foundation.h> |
| 9 #import <UIKit/UIKit.h> | 9 #import <UIKit/UIKit.h> |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #import "remoting/client/ios/key_input.h" | 11 #import "remoting/ios/key_input.h" |
| 12 | 12 |
| 13 @class RemotingClient; | 13 @class RemotingClient; |
| 14 | 14 |
| 15 typedef NS_ENUM(NSInteger, HostInputScheme) { | 15 typedef NS_ENUM(NSInteger, HostInputScheme) { |
| 16 // Mouse cursor is shown | 16 // Mouse cursor is shown |
| 17 // Dragging or Panning, moves the mouse cursor | 17 // Dragging or Panning, moves the mouse cursor |
| 18 // Tapping causes mouse input at the cursor location | 18 // Tapping causes mouse input at the cursor location |
| 19 HostInputSchemeTrackpad = 0, // Default | 19 HostInputSchemeTrackpad = 0, // Default |
| 20 // Mouse cursor is not shown | 20 // Mouse cursor is not shown |
| 21 // Dragging or Panning is similar to a map | 21 // Dragging or Panning is similar to a map |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 - (IBAction)longPressGestureTriggered:(UILongPressGestureRecognizer*)sender; | 62 - (IBAction)longPressGestureTriggered:(UILongPressGestureRecognizer*)sender; |
| 63 // Right mouse click | 63 // Right mouse click |
| 64 - (IBAction)twoFingerTapGestureTriggered:(UITapGestureRecognizer*)sender; | 64 - (IBAction)twoFingerTapGestureTriggered:(UITapGestureRecognizer*)sender; |
| 65 // Middle mouse click | 65 // Middle mouse click |
| 66 - (IBAction)threeFingerTapGestureTriggered:(UITapGestureRecognizer*)sender; | 66 - (IBAction)threeFingerTapGestureTriggered:(UITapGestureRecognizer*)sender; |
| 67 // Show hidden menus. Swipe up for keyboard, swipe down for navigation menu | 67 // Show hidden menus. Swipe up for keyboard, swipe down for navigation menu |
| 68 - (IBAction)threeFingerPanGestureTriggered:(UIPanGestureRecognizer*)sender; | 68 - (IBAction)threeFingerPanGestureTriggered:(UIPanGestureRecognizer*)sender; |
| 69 | 69 |
| 70 @end | 70 @end |
| 71 | 71 |
| 72 #endif // REMOTING_CLIENT_IOS_CLIENT_GESTURES_H_ | 72 #endif // REMOTING_IOS_CLIENT_GESTURES_H_ |
| OLD | NEW |