Flutter Engine
The Flutter Engine
|
#include <component_v2.h>
Public Types | |
using | TerminationCallback = fit::function< void(const ComponentV2 *)> |
Public Member Functions | |
~ComponentV2 () | |
const std::string & | GetDebugLabel () const |
void | WriteProfileToTrace () const |
Static Public Member Functions | |
static ActiveComponentV2 | Create (TerminationCallback termination_callback, fuchsia::component::runner::ComponentStartInfo start_info, std::shared_ptr< sys::ServiceDirectory > runner_incoming_services, fidl::InterfaceRequest< fuchsia::component::runner::ComponentController > controller) |
static ProgramMetadata | ParseProgramMetadata (const fuchsia::data::Dictionary &program_metadata) |
Private Member Functions | |
void | Kill () override |
void | Stop () override |
void | CreateView2 (fuchsia::ui::app::CreateView2Args view_args) override |
void | CreateViewWithViewRef (::zx::eventpair token, ::fuchsia::ui::views::ViewRefControl view_ref_control, ::fuchsia::ui::views::ViewRef view_ref) override |
void | OnEngineTerminate (const Engine *holder) override |
Definition at line 56 of file component_v2.h.
using flutter_runner::ComponentV2::TerminationCallback = fit::function<void(const ComponentV2*)> |
Definition at line 61 of file component_v2.h.
|
default |
|
static |
Definition at line 128 of file component_v2.cc.
|
overrideprivate |
Definition at line 620 of file component_v2.cc.
|
inlineoverrideprivate |
Definition at line 114 of file component_v2.h.
const std::string & flutter_runner::ComponentV2::GetDebugLabel | ( | ) | const |
Definition at line 535 of file component_v2.cc.
|
overrideprivate |
Definition at line 539 of file component_v2.cc.
|
overrideprivatevirtual |
Implements flutter_runner::Engine::Delegate.
Definition at line 584 of file component_v2.cc.
|
static |
Parses the program metadata that was provided for the component.
|old_gen_heap_size| will be set to -1 if no value was specified.
Definition at line 106 of file component_v2.cc.
|
overrideprivate |
Definition at line 576 of file component_v2.cc.
void flutter_runner::ComponentV2::WriteProfileToTrace | ( | ) | const |
Definition at line 657 of file component_v2.cc.