Flutter Engine
flutter::CursorHandler Class Reference

#include <cursor_handler.h>

Public Member Functions

 CursorHandler (flutter::BinaryMessenger *messenger, WindowBindingHandler *delegate)
 

Detailed Description

Definition at line 17 of file cursor_handler.h.

Constructor & Destructor Documentation

◆ CursorHandler()

flutter::CursorHandler::CursorHandler ( flutter::BinaryMessenger messenger,
WindowBindingHandler delegate 
)
explicit

Definition at line 19 of file cursor_handler.cc.

References flutter::MethodCall< T >::arguments(), kActivateSystemCursorMethod, kKindKey, method_call, flutter::MethodCall< T >::method_name(), and flutter::WindowBindingHandler::UpdateFlutterCursor().

21  : channel_(std::make_unique<MethodChannel<EncodableValue>>(
22  messenger,
25  delegate_(delegate) {
26  channel_->SetMethodCallHandler(
27  [this](const MethodCall<EncodableValue>& call,
28  std::unique_ptr<MethodResult<EncodableValue>> result) {
29  HandleMethodCall(call, std::move(result));
30  });
31 }
static constexpr char kChannelName[]
static const StandardMethodCodec & GetInstance(const StandardCodecSerializer *serializer=nullptr)

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