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

Public Member Functions

virtual void AddListener (fuchsia::ui::views::ViewRef, fidl::InterfaceHandle< fuchsia::ui::input3::KeyboardListener > listener, fuchsia::ui::input3::Keyboard::AddListenerCallback callback)
 

Public Attributes

fidl::InterfacePtr< fuchsia::ui::input3::KeyboardListener > listener_
 

Detailed Description

Definition at line 33 of file text_delegate_unittests.cc.

Member Function Documentation

◆ AddListener()

virtual void flutter_runner::testing::FakeKeyboardService::AddListener ( fuchsia::ui::views::ViewRef  ,
fidl::InterfaceHandle< fuchsia::ui::input3::KeyboardListener >  listener,
fuchsia::ui::input3::Keyboard::AddListenerCallback  callback 
)
inlinevirtual

Definition at line 36 of file text_delegate_unittests.cc.

39 {
40 listener_ = listener.Bind();
41 callback();
42 }
fidl::InterfacePtr< fuchsia::ui::input3::KeyboardListener > listener_
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback

Member Data Documentation

◆ listener_

fidl::InterfacePtr<fuchsia::ui::input3::KeyboardListener> flutter_runner::testing::FakeKeyboardService::listener_

Definition at line 44 of file text_delegate_unittests.cc.


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