Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1147)

Unified Diff: remoting/client/ios/client_gestures.h

Issue 2871993003: Moving the iOS directory to be remoting top level. (Closed)
Patch Set: //remoting/ios was the old landing target for the internal iOS application. Fix. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/client/ios/build/localizable_string_id_list.txt ('k') | remoting/client/ios/client_gestures.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/ios/client_gestures.h
diff --git a/remoting/client/ios/client_gestures.h b/remoting/client/ios/client_gestures.h
deleted file mode 100644
index 45cfff4b464b3123f074b0d103a2a1882b547865..0000000000000000000000000000000000000000
--- a/remoting/client/ios/client_gestures.h
+++ /dev/null
@@ -1,72 +0,0 @@
-// Copyright 2017 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef REMOTING_CLIENT_IOS_CLIENT_GESTURES_H_
-#define REMOTING_CLIENT_IOS_CLIENT_GESTURES_H_
-
-#import <Foundation/Foundation.h>
-#import <UIKit/UIKit.h>
-#include "base/logging.h"
-#import "remoting/client/ios/key_input.h"
-
-@class RemotingClient;
-
-typedef NS_ENUM(NSInteger, HostInputScheme) {
- // Mouse cursor is shown
- // Dragging or Panning, moves the mouse cursor
- // Tapping causes mouse input at the cursor location
- HostInputSchemeTrackpad = 0, // Default
- // Mouse cursor is not shown
- // Dragging or Panning is similar to a map
- // Tapping causes mouse input at the tap location
- HostInputSchemeTouch = 1
-};
-
-typedef NS_ENUM(NSInteger, MouseButton) {
-
- NO_BUTTON = 0,
- LEFT_BUTTON = 1,
- MIDDLE_BUTTON = 2,
- RIGHT_BUTTON = 3,
-
-};
-
-@interface ClientGestures : NSObject<UIGestureRecognizerDelegate> {
- @private
- UILongPressGestureRecognizer* _longPressRecognizer;
- UIPanGestureRecognizer* _panRecognizer;
- UIPanGestureRecognizer* _threeFingerPanRecognizer;
- UIPinchGestureRecognizer* _pinchRecognizer;
- UITapGestureRecognizer* _singleTapRecognizer;
- UITapGestureRecognizer* _twoFingerTapRecognizer;
- UITapGestureRecognizer* _threeFingerTapRecognizer;
- UIScreenEdgePanGestureRecognizer* _edgeGesture;
- UISwipeGestureRecognizer* _swipeGesture;
-
- __weak UIView* _view;
- __weak RemotingClient* _client;
-
- HostInputScheme _inputScheme;
-}
-
-- (instancetype)initWithView:(UIView*)view client:(RemotingClient*)client;
-
-// Zoom in/out
-- (IBAction)pinchGestureTriggered:(UIPinchGestureRecognizer*)sender;
-// Left mouse click, moves cursor
-- (IBAction)tapGestureTriggered:(UITapGestureRecognizer*)sender;
-// Scroll the view in 2d
-- (IBAction)panGestureTriggered:(UIPanGestureRecognizer*)sender;
-// Right mouse click and drag, moves cursor
-- (IBAction)longPressGestureTriggered:(UILongPressGestureRecognizer*)sender;
-// Right mouse click
-- (IBAction)twoFingerTapGestureTriggered:(UITapGestureRecognizer*)sender;
-// Middle mouse click
-- (IBAction)threeFingerTapGestureTriggered:(UITapGestureRecognizer*)sender;
-// Show hidden menus. Swipe up for keyboard, swipe down for navigation menu
-- (IBAction)threeFingerPanGestureTriggered:(UIPanGestureRecognizer*)sender;
-
-@end
-
-#endif // REMOTING_CLIENT_IOS_CLIENT_GESTURES_H_
« no previous file with comments | « remoting/client/ios/build/localizable_string_id_list.txt ('k') | remoting/client/ios/client_gestures.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698