Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Namespaces | Variables
text_input_plugin.cc File Reference
#include "flutter/shell/platform/windows/text_input_plugin.h"
#include <windows.h>
#include <cstdint>
#include "flutter/fml/string_conversion.h"
#include "flutter/shell/platform/common/json_method_codec.h"
#include "flutter/shell/platform/common/text_editing_delta.h"
#include "flutter/shell/platform/windows/flutter_windows_engine.h"
#include "flutter/shell/platform/windows/flutter_windows_view.h"

Go to the source code of this file.

Namespaces

namespace  flutter
 

Variables

static constexpr char kSetEditingStateMethod [] = "TextInput.setEditingState"
 
static constexpr char kClearClientMethod [] = "TextInput.clearClient"
 
static constexpr char kSetClientMethod [] = "TextInput.setClient"
 
static constexpr char kShowMethod [] = "TextInput.show"
 
static constexpr char kHideMethod [] = "TextInput.hide"
 
static constexpr char kSetMarkedTextRect [] = "TextInput.setMarkedTextRect"
 
static constexpr char kSetEditableSizeAndTransform []
 
static constexpr char kMultilineInputType [] = "TextInputType.multiline"
 
static constexpr char kUpdateEditingStateMethod []
 
static constexpr char kUpdateEditingStateWithDeltasMethod []
 
static constexpr char kPerformActionMethod [] = "TextInputClient.performAction"
 
static constexpr char kDeltaOldTextKey [] = "oldText"
 
static constexpr char kDeltaTextKey [] = "deltaText"
 
static constexpr char kDeltaStartKey [] = "deltaStart"
 
static constexpr char kDeltaEndKey [] = "deltaEnd"
 
static constexpr char kDeltasKey [] = "deltas"
 
static constexpr char kEnableDeltaModel [] = "enableDeltaModel"
 
static constexpr char kTextInputAction [] = "inputAction"
 
static constexpr char kTextInputType [] = "inputType"
 
static constexpr char kTextInputTypeName [] = "name"
 
static constexpr char kComposingBaseKey [] = "composingBase"
 
static constexpr char kComposingExtentKey [] = "composingExtent"
 
static constexpr char kSelectionAffinityKey [] = "selectionAffinity"
 
static constexpr char kAffinityDownstream [] = "TextAffinity.downstream"
 
static constexpr char kSelectionBaseKey [] = "selectionBase"
 
static constexpr char kSelectionExtentKey [] = "selectionExtent"
 
static constexpr char kSelectionIsDirectionalKey [] = "selectionIsDirectional"
 
static constexpr char kTextKey [] = "text"
 
static constexpr char kXKey [] = "x"
 
static constexpr char kYKey [] = "y"
 
static constexpr char kWidthKey [] = "width"
 
static constexpr char kHeightKey [] = "height"
 
static constexpr char kTransformKey [] = "transform"
 
static constexpr char kChannelName [] = "flutter/textinput"
 
static constexpr char kBadArgumentError [] = "Bad Arguments"
 
static constexpr char kInternalConsistencyError []
 
static constexpr char kInputActionNewline [] = "TextInputAction.newline"
 

Variable Documentation

◆ kAffinityDownstream

constexpr char kAffinityDownstream[] = "TextAffinity.downstream"
staticconstexpr

Definition at line 46 of file text_input_plugin.cc.

◆ kBadArgumentError

constexpr char kBadArgumentError[] = "Bad Arguments"
staticconstexpr

Definition at line 59 of file text_input_plugin.cc.

◆ kChannelName

constexpr char kChannelName[] = "flutter/textinput"
staticconstexpr

Definition at line 57 of file text_input_plugin.cc.

◆ kClearClientMethod

constexpr char kClearClientMethod[] = "TextInput.clearClient"
staticconstexpr

Definition at line 18 of file text_input_plugin.cc.

◆ kComposingBaseKey

constexpr char kComposingBaseKey[] = "composingBase"
staticconstexpr

Definition at line 43 of file text_input_plugin.cc.

◆ kComposingExtentKey

constexpr char kComposingExtentKey[] = "composingExtent"
staticconstexpr

Definition at line 44 of file text_input_plugin.cc.

◆ kDeltaEndKey

constexpr char kDeltaEndKey[] = "deltaEnd"
staticconstexpr

Definition at line 37 of file text_input_plugin.cc.

◆ kDeltaOldTextKey

constexpr char kDeltaOldTextKey[] = "oldText"
staticconstexpr

Definition at line 34 of file text_input_plugin.cc.

◆ kDeltasKey

constexpr char kDeltasKey[] = "deltas"
staticconstexpr

Definition at line 38 of file text_input_plugin.cc.

◆ kDeltaStartKey

constexpr char kDeltaStartKey[] = "deltaStart"
staticconstexpr

Definition at line 36 of file text_input_plugin.cc.

◆ kDeltaTextKey

constexpr char kDeltaTextKey[] = "deltaText"
staticconstexpr

Definition at line 35 of file text_input_plugin.cc.

◆ kEnableDeltaModel

constexpr char kEnableDeltaModel[] = "enableDeltaModel"
staticconstexpr

Definition at line 39 of file text_input_plugin.cc.

◆ kHeightKey

constexpr char kHeightKey[] = "height"
staticconstexpr

Definition at line 54 of file text_input_plugin.cc.

◆ kHideMethod

constexpr char kHideMethod[] = "TextInput.hide"
staticconstexpr

Definition at line 21 of file text_input_plugin.cc.

◆ kInputActionNewline

constexpr char kInputActionNewline[] = "TextInputAction.newline"
staticconstexpr

Definition at line 63 of file text_input_plugin.cc.

◆ kInternalConsistencyError

constexpr char kInternalConsistencyError[]
staticconstexpr
Initial value:
=
"Internal Consistency Error"

Definition at line 60 of file text_input_plugin.cc.

◆ kMultilineInputType

constexpr char kMultilineInputType[] = "TextInputType.multiline"
staticconstexpr

Definition at line 26 of file text_input_plugin.cc.

◆ kPerformActionMethod

constexpr char kPerformActionMethod[] = "TextInputClient.performAction"
staticconstexpr

Definition at line 32 of file text_input_plugin.cc.

◆ kSelectionAffinityKey

constexpr char kSelectionAffinityKey[] = "selectionAffinity"
staticconstexpr

Definition at line 45 of file text_input_plugin.cc.

◆ kSelectionBaseKey

constexpr char kSelectionBaseKey[] = "selectionBase"
staticconstexpr

Definition at line 47 of file text_input_plugin.cc.

◆ kSelectionExtentKey

constexpr char kSelectionExtentKey[] = "selectionExtent"
staticconstexpr

Definition at line 48 of file text_input_plugin.cc.

◆ kSelectionIsDirectionalKey

constexpr char kSelectionIsDirectionalKey[] = "selectionIsDirectional"
staticconstexpr

Definition at line 49 of file text_input_plugin.cc.

◆ kSetClientMethod

constexpr char kSetClientMethod[] = "TextInput.setClient"
staticconstexpr

Definition at line 19 of file text_input_plugin.cc.

◆ kSetEditableSizeAndTransform

constexpr char kSetEditableSizeAndTransform[]
staticconstexpr
Initial value:
=
"TextInput.setEditableSizeAndTransform"

Definition at line 23 of file text_input_plugin.cc.

◆ kSetEditingStateMethod

constexpr char kSetEditingStateMethod[] = "TextInput.setEditingState"
staticconstexpr

Definition at line 17 of file text_input_plugin.cc.

◆ kSetMarkedTextRect

constexpr char kSetMarkedTextRect[] = "TextInput.setMarkedTextRect"
staticconstexpr

Definition at line 22 of file text_input_plugin.cc.

◆ kShowMethod

constexpr char kShowMethod[] = "TextInput.show"
staticconstexpr

Definition at line 20 of file text_input_plugin.cc.

◆ kTextInputAction

constexpr char kTextInputAction[] = "inputAction"
staticconstexpr

Definition at line 40 of file text_input_plugin.cc.

◆ kTextInputType

constexpr char kTextInputType[] = "inputType"
staticconstexpr

Definition at line 41 of file text_input_plugin.cc.

◆ kTextInputTypeName

constexpr char kTextInputTypeName[] = "name"
staticconstexpr

Definition at line 42 of file text_input_plugin.cc.

◆ kTextKey

constexpr char kTextKey[] = "text"
staticconstexpr

Definition at line 50 of file text_input_plugin.cc.

◆ kTransformKey

constexpr char kTransformKey[] = "transform"
staticconstexpr

Definition at line 55 of file text_input_plugin.cc.

◆ kUpdateEditingStateMethod

constexpr char kUpdateEditingStateMethod[]
staticconstexpr
Initial value:
=
"TextInputClient.updateEditingState"

Definition at line 28 of file text_input_plugin.cc.

◆ kUpdateEditingStateWithDeltasMethod

constexpr char kUpdateEditingStateWithDeltasMethod[]
staticconstexpr
Initial value:
=
"TextInputClient.updateEditingStateWithDeltas"

Definition at line 30 of file text_input_plugin.cc.

◆ kWidthKey

constexpr char kWidthKey[] = "width"
staticconstexpr

Definition at line 53 of file text_input_plugin.cc.

◆ kXKey

constexpr char kXKey[] = "x"
staticconstexpr

Definition at line 51 of file text_input_plugin.cc.

◆ kYKey

constexpr char kYKey[] = "y"
staticconstexpr

Definition at line 52 of file text_input_plugin.cc.