Flutter Engine
 
Loading...
Searching...
No Matches
FlutterViewFocusChangeRequest Struct Reference

#include <embedder.h>

Public Attributes

size_t struct_size
 
FlutterViewId view_id
 The identifier of the view that received the focus event.
 
FlutterViewFocusState state
 The focus state of the view.
 
FlutterViewFocusDirection direction
 The direction in which the focus transitioned across [FlutterView]s.
 

Detailed Description

A FlutterViewFocusChangeRequest is sent by the engine to the embedder when when a FlutterView focus state has changed and native view focus needs to be updated.

Received in FlutterProjectArgs.view_focus_change_request_callback.

Definition at line 1221 of file embedder.h.

Member Data Documentation

◆ direction

FlutterViewFocusDirection FlutterViewFocusChangeRequest::direction

The direction in which the focus transitioned across [FlutterView]s.

Definition at line 1233 of file embedder.h.

Referenced by flutter::testing::operator==().

◆ state

FlutterViewFocusState FlutterViewFocusChangeRequest::state

The focus state of the view.

Definition at line 1230 of file embedder.h.

Referenced by flutter::testing::operator==().

◆ struct_size

size_t FlutterViewFocusChangeRequest::struct_size

The size of this struct. Must be sizeof(FlutterViewFocusChangeRequest).

Definition at line 1224 of file embedder.h.

Referenced by FlutterEngineInitialize().

◆ view_id

FlutterViewId FlutterViewFocusChangeRequest::view_id

The identifier of the view that received the focus event.

Definition at line 1227 of file embedder.h.

Referenced by flutter::FlutterWindowsEngine::OnViewFocusChangeRequest(), flutter::testing::operator==(), and flutter::testing::TEST_F().


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