Definition at line 525 of file platform_view_unittest.cc.
◆ PlatformViewTests()
flutter_runner::testing::PlatformViewTests::PlatformViewTests |
( |
| ) |
|
|
inlineprotected |
◆ dispatcher()
async_dispatcher_t * flutter_runner::testing::PlatformViewTests::dispatcher |
( |
| ) |
|
|
inlineprotected |
◆ MakeChildViewWatcher()
fuchsia::ui::composition::ChildViewWatcherPtr flutter_runner::testing::PlatformViewTests::MakeChildViewWatcher |
( |
| ) |
|
|
inlineprotected |
Definition at line 555 of file platform_view_unittest.cc.
555 {
556 fuchsia::ui::composition::ChildViewWatcherPtr ptr;
557 auto watcher = std::make_unique<MockChildViewWatcher>(
558 ptr.NewRequest(loop_.dispatcher()));
559 child_view_watchers_.push_back(std::move(watcher));
560 return ptr;
561 }
◆ MakeEvent()
fuchsia::ui::input3::KeyEvent flutter_runner::testing::PlatformViewTests::MakeEvent |
( |
fuchsia::ui::input3::KeyEventType |
event_type, |
|
|
std::optional< fuchsia::ui::input3::Modifiers > |
modifiers, |
|
|
fuchsia::input::Key |
key |
|
) |
| |
|
inlineprotected |
Definition at line 541 of file platform_view_unittest.cc.
544 {
545 fuchsia::ui::input3::KeyEvent
event;
546 event.set_timestamp(++event_timestamp_);
548 if (modifiers.has_value()) {
549 event.set_modifiers(modifiers.value());
550 }
553 }
ax::mojom::Event event_type
◆ RunLoopOnce()
void flutter_runner::testing::PlatformViewTests::RunLoopOnce |
( |
| ) |
|
|
inlineprotected |
◆ RunLoopUntilIdle()
void flutter_runner::testing::PlatformViewTests::RunLoopUntilIdle |
( |
| ) |
|
|
inlineprotected |
The documentation for this class was generated from the following file: