Files
engine/shell/platform/darwin/ios/framework/Source/FlutterTextInputDelegate.h
T
gspencergoog faabc10178 Support correct keyboards for multi-line text editing. (#4115)
This addresses part of #8028, implementing the Engine-side support for it.
2017-09-26 12:53:19 -07:00

23 lines
743 B
Objective-C

// 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 SHELL_PLATFORM_IOS_FRAMEWORK_SOURCE_FLUTTERTEXTINPUTDELEGATE_H_
#define SHELL_PLATFORM_IOS_FRAMEWORK_SOURCE_FLUTTERTEXTINPUTDELEGATE_H_
#import <Foundation/Foundation.h>
typedef NS_ENUM(NSInteger, FlutterTextInputAction) {
FlutterTextInputActionDone,
FlutterTextInputActionNewline,
};
@protocol FlutterTextInputDelegate<NSObject>
- (void)updateEditingClient:(int)client withState:(NSDictionary*)state;
- (void)performAction:(FlutterTextInputAction)action withClient:(int)client;
@end
#endif // SHELL_PLATFORM_IOS_FRAMEWORK_SOURCE_FLUTTERTEXTINPUTDELEGATE_H_