#include <service_protocol.h>
Definition at line 22 of file service_protocol.h.
◆ ServiceProtocol()
flutter::ServiceProtocol::ServiceProtocol |
( |
| ) |
|
Definition at line 50 of file service_protocol.cc.
51 : endpoints_({
52
54
55
66 }),
static const std::string_view kSetAssetBundlePathExtensionName
static const std::string_view kReloadAssetFonts
static const std::string_view kScreenshotSkpExtensionName
static const std::string_view kScreenshotExtensionName
static const std::string_view kGetDisplayRefreshRateExtensionName
static const std::string_view kRunInViewExtensionName
static const std::string_view kEstimateRasterCacheMemoryExtensionName
static const std::string_view kGetSkSLsExtensionName
static const std::string_view kRenderFrameWithRasterStatsExtensionName
static const std::string_view kFlushUIThreadTasksExtensionName
static SharedMutex * Create()
static constexpr std::string_view kListViewsExtensionName
◆ ~ServiceProtocol()
flutter::ServiceProtocol::~ServiceProtocol |
( |
| ) |
|
◆ AddHandler()
◆ RemoveHandler()
void flutter::ServiceProtocol::RemoveHandler |
( |
Handler * |
handler | ) |
|
◆ SetHandlerDescription()
Definition at line 84 of file service_protocol.cc.
86 {
88 auto it = handlers_.find(handler);
89 if (it != handlers_.end()) {
90 it->second.Store(description);
91 }
92}
◆ ToggleHooks()
void flutter::ServiceProtocol::ToggleHooks |
( |
bool |
set | ) |
|
Definition at line 94 of file service_protocol.cc.
94 {
95 for (const auto& endpoint : endpoints_) {
97 endpoint.data(),
98 &ServiceProtocol::HandleMessage,
99 set ? this : nullptr
100 );
101 }
102}
◆ kEstimateRasterCacheMemoryExtensionName
const std::string_view flutter::ServiceProtocol::kEstimateRasterCacheMemoryExtensionName |
|
static |
Initial value:=
"_flutter.estimateRasterCacheMemory"
Definition at line 31 of file service_protocol.h.
◆ kFlushUIThreadTasksExtensionName
const std::string_view flutter::ServiceProtocol::kFlushUIThreadTasksExtensionName |
|
static |
◆ kGetDisplayRefreshRateExtensionName
const std::string_view flutter::ServiceProtocol::kGetDisplayRefreshRateExtensionName |
|
static |
◆ kGetSkSLsExtensionName
const std::string_view flutter::ServiceProtocol::kGetSkSLsExtensionName |
|
static |
◆ kReloadAssetFonts
const std::string_view flutter::ServiceProtocol::kReloadAssetFonts |
|
static |
◆ kRenderFrameWithRasterStatsExtensionName
const std::string_view flutter::ServiceProtocol::kRenderFrameWithRasterStatsExtensionName |
|
static |
Initial value:=
"_flutter.renderFrameWithRasterStats"
Definition at line 32 of file service_protocol.h.
◆ kRunInViewExtensionName
const std::string_view flutter::ServiceProtocol::kRunInViewExtensionName |
|
static |
◆ kScreenshotExtensionName
const std::string_view flutter::ServiceProtocol::kScreenshotExtensionName |
|
static |
◆ kScreenshotSkpExtensionName
const std::string_view flutter::ServiceProtocol::kScreenshotSkpExtensionName |
|
static |
◆ kSetAssetBundlePathExtensionName
const std::string_view flutter::ServiceProtocol::kSetAssetBundlePathExtensionName |
|
static |
The documentation for this class was generated from the following files: