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

Unified Diff: remoting/client/ios/key_input.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/host_preferences_persistence_chromium.mm ('k') | remoting/client/ios/key_input.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/ios/key_input.h
diff --git a/remoting/client/ios/key_input.h b/remoting/client/ios/key_input.h
deleted file mode 100644
index da5fa99dccaf21750b214653922ebf6d8dce4e2d..0000000000000000000000000000000000000000
--- a/remoting/client/ios/key_input.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2016 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_KEY_INPUT_H_
-#define REMOTING_CLIENT_IOS_KEY_INPUT_H_
-
-#import <Foundation/Foundation.h>
-#import <UIKit/UIKit.h>
-
-// Key codes are translated from the on screen keyboard to the scan codes
-// needed for Chromoting input. We don't have a good automated approach to do
-// this. Instead we have created a mapping manually via trial and error. To
-// support other keyboards in this context we would have to test and create a
-// mapping for each keyboard manually.
-
-// Contract to handle translated key presses from the on-screen keyboard to
-// the format required for Chromoting keyboard input.
-@protocol KeyInputDelegate<NSObject>
-
-- (void)keyboardShown;
-
-- (void)keyboardDismissed;
-
-- (void)keyboardActionKeyCode:(uint32_t)keyPressed isKeyDown:(BOOL)keyDown;
-
-@end
-
-@interface KeyInput : UIView<UIKeyInput>
-
-@property(weak, nonatomic) id<KeyInputDelegate> delegate;
-@property(readonly) BOOL keyboardVisible;
-@property(readonly) CGFloat keyboardHeight;
-
-- (void)ctrlAltDel;
-
-@end
-
-#endif // REMOTING_CLIENT_IOS_KEY_INPUT_H_
« no previous file with comments | « remoting/client/ios/host_preferences_persistence_chromium.mm ('k') | remoting/client/ios/key_input.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698