Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
flutter_runner::testing::FakeImeService Class Reference
Inheritance diagram for flutter_runner::testing::FakeImeService:

Public Member Functions

virtual void GetInputMethodEditor (fuchsia::ui::input::KeyboardType keyboard_type, fuchsia::ui::input::InputMethodAction action, fuchsia::ui::input::TextInputState input_state, fidl::InterfaceHandle< fuchsia::ui::input::InputMethodEditorClient > client, fidl::InterfaceRequest< fuchsia::ui::input::InputMethodEditor > ime)
 
virtual void ShowKeyboard ()
 
virtual void HideKeyboard ()
 
bool IsKeyboardShown ()
 

Public Attributes

bool keyboard_shown_ = false
 
fuchsia::ui::input::KeyboardType keyboard_type_
 
fuchsia::ui::input::InputMethodAction action_
 
fuchsia::ui::input::TextInputState input_state_
 
fidl::InterfacePtr< fuchsia::ui::input::InputMethodEditorClient > client_
 
fidl::InterfaceRequest< fuchsia::ui::input::InputMethodEditor > ime_
 

Detailed Description

Definition at line 49 of file text_delegate_unittests.cc.

Member Function Documentation

◆ GetInputMethodEditor()

virtual void flutter_runner::testing::FakeImeService::GetInputMethodEditor ( fuchsia::ui::input::KeyboardType  keyboard_type,
fuchsia::ui::input::InputMethodAction  action,
fuchsia::ui::input::TextInputState  input_state,
fidl::InterfaceHandle< fuchsia::ui::input::InputMethodEditorClient >  client,
fidl::InterfaceRequest< fuchsia::ui::input::InputMethodEditor >  ime 
)
inlinevirtual

Definition at line 51 of file text_delegate_unittests.cc.

56 {
57 keyboard_type_ = std::move(keyboard_type);
58 action_ = std::move(action);
59 input_state_ = std::move(input_state);
60 client_ = client.Bind();
61 ime_ = std::move(ime);
62 }
fidl::InterfacePtr< fuchsia::ui::input::InputMethodEditorClient > client_
fuchsia::ui::input::InputMethodAction action_
fuchsia::ui::input::TextInputState input_state_
fuchsia::ui::input::KeyboardType keyboard_type_
fidl::InterfaceRequest< fuchsia::ui::input::InputMethodEditor > ime_

◆ HideKeyboard()

virtual void flutter_runner::testing::FakeImeService::HideKeyboard ( )
inlinevirtual

◆ IsKeyboardShown()

bool flutter_runner::testing::FakeImeService::IsKeyboardShown ( )
inline

Definition at line 68 of file text_delegate_unittests.cc.

68{ return keyboard_shown_; }

◆ ShowKeyboard()

virtual void flutter_runner::testing::FakeImeService::ShowKeyboard ( )
inlinevirtual

Definition at line 64 of file text_delegate_unittests.cc.

64{ keyboard_shown_ = true; }

Member Data Documentation

◆ action_

fuchsia::ui::input::InputMethodAction flutter_runner::testing::FakeImeService::action_

Definition at line 73 of file text_delegate_unittests.cc.

◆ client_

fidl::InterfacePtr<fuchsia::ui::input::InputMethodEditorClient> flutter_runner::testing::FakeImeService::client_

Definition at line 75 of file text_delegate_unittests.cc.

◆ ime_

fidl::InterfaceRequest<fuchsia::ui::input::InputMethodEditor> flutter_runner::testing::FakeImeService::ime_

Definition at line 76 of file text_delegate_unittests.cc.

◆ input_state_

fuchsia::ui::input::TextInputState flutter_runner::testing::FakeImeService::input_state_

Definition at line 74 of file text_delegate_unittests.cc.

◆ keyboard_shown_

bool flutter_runner::testing::FakeImeService::keyboard_shown_ = false

Definition at line 70 of file text_delegate_unittests.cc.

◆ keyboard_type_

fuchsia::ui::input::KeyboardType flutter_runner::testing::FakeImeService::keyboard_type_

Definition at line 72 of file text_delegate_unittests.cc.


The documentation for this class was generated from the following file: