Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::ExternalCodeObserverAdapter Class Reference
Inheritance diagram for dart::ExternalCodeObserverAdapter:
dart::CodeObserver

Public Member Functions

 ExternalCodeObserverAdapter (Dart_CodeObserver delegate)
 
virtual bool IsActive () const
 
virtual void Notify (const char *name, uword base, uword prologue_offset, uword size, bool optimized, const CodeComments *comments)
 
- Public Member Functions inherited from dart::CodeObserver
 CodeObserver ()
 
virtual ~CodeObserver ()
 
virtual bool IsActive () const =0
 
virtual void Notify (const char *name, uword base, uword prologue_offset, uword size, bool optimized, const CodeComments *comments)=0
 

Detailed Description

Definition at line 18 of file code_observers.cc.

Constructor & Destructor Documentation

◆ ExternalCodeObserverAdapter()

dart::ExternalCodeObserverAdapter::ExternalCodeObserverAdapter ( Dart_CodeObserver  delegate)
inlineexplicit

Definition at line 20 of file code_observers.cc.

21 : delegate_(delegate) {}

Member Function Documentation

◆ IsActive()

virtual bool dart::ExternalCodeObserverAdapter::IsActive ( ) const
inlinevirtual

Implements dart::CodeObserver.

Definition at line 23 of file code_observers.cc.

23{ return true; }

◆ Notify()

virtual void dart::ExternalCodeObserverAdapter::Notify ( const char *  name,
uword  base,
uword  prologue_offset,
uword  size,
bool  optimized,
const CodeComments *  comments 
)
inlinevirtual

Implements dart::CodeObserver.

Definition at line 25 of file code_observers.cc.

30 {
31 return delegate_.on_new_code(&delegate_, name, base, size);
32 }
const char *const name
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
Definition: switches.h:259
Dart_OnNewCodeCallback on_new_code
Definition: dart_api.h:863

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