mirror of
https://github.com/encounter/engine.git
synced 2026-03-30 11:09:55 -07:00
faabc10178
This addresses part of #8028, implementing the Engine-side support for it.
23 lines
743 B
Objective-C
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_
|