Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
platform_message_response_dart.h
Go to the documentation of this file.
1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef FLUTTER_LIB_UI_WINDOW_PLATFORM_MESSAGE_RESPONSE_DART_H_
6#define FLUTTER_LIB_UI_WINDOW_PLATFORM_MESSAGE_RESPONSE_DART_H_
7
8#include "flutter/fml/message_loop.h"
9#include "flutter/lib/ui/window/platform_message_response.h"
11
12namespace flutter {
13
16
17 public:
18 // Callable on any thread.
19 void Complete(std::unique_ptr<fml::Mapping> data) override;
20 void CompleteEmpty() override;
21
22 protected:
25 fml::RefPtr<fml::TaskRunner> ui_task_runner,
26 const std::string& channel);
28
31 const std::string channel_;
32};
33
34} // namespace flutter
35
36#endif // FLUTTER_LIB_UI_WINDOW_PLATFORM_MESSAGE_RESPONSE_DART_H_
void Complete(std::unique_ptr< fml::Mapping > data) override
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot data
Definition switches.h:41
#define FML_FRIEND_MAKE_REF_COUNTED(T)