#include "flutter/shell/platform/windows/platform_handler.h"
#include <windows.h>
#include <cstring>
#include <optional>
#include "flutter/fml/logging.h"
#include "flutter/fml/macros.h"
#include "flutter/fml/platform/win/wstring_conversion.h"
#include "flutter/shell/platform/common/client_wrapper/include/flutter/method_result_functions.h"
#include "flutter/shell/platform/common/json_method_codec.h"
#include "flutter/shell/platform/windows/flutter_windows_view.h"
Go to the source code of this file.
Namespaces | |
flutter | |
Functions | |
static AppExitType | flutter::StringToAppExitType (const std::string &string) |
Variables | |
static constexpr char | kChannelName [] = "flutter/platform" |
static constexpr char | kGetClipboardDataMethod [] = "Clipboard.getData" |
static constexpr char | kHasStringsClipboardMethod [] = "Clipboard.hasStrings" |
static constexpr char | kSetClipboardDataMethod [] = "Clipboard.setData" |
static constexpr char | kExitApplicationMethod [] = "System.exitApplication" |
static constexpr char | kRequestAppExitMethod [] = "System.requestAppExit" |
static constexpr char | kInitializationCompleteMethod [] |
static constexpr char | kPlaySoundMethod [] = "SystemSound.play" |
static constexpr char | kExitCodeKey [] = "exitCode" |
static constexpr char | kExitTypeKey [] = "type" |
static constexpr char | kExitResponseKey [] = "response" |
static constexpr char | kExitResponseCancel [] = "cancel" |
static constexpr char | kExitResponseExit [] = "exit" |
static constexpr char | kTextPlainFormat [] = "text/plain" |
static constexpr char | kTextKey [] = "text" |
static constexpr char | kUnknownClipboardFormatMessage [] |
static constexpr char | kValueKey [] = "value" |
static constexpr int | kAccessDeniedErrorCode = 5 |
static constexpr int | kErrorSuccess = 0 |
static constexpr char | kExitRequestError [] = "ExitApplication error" |
static constexpr char | kInvalidExitRequestMessage [] |
static constexpr const char * | flutter::kExitTypeNames [] |
|
staticconstexpr |
Definition at line 44 of file platform_handler.cc.
Referenced by flutter::PlatformHandler::GetHasStrings(), and flutter::testing::TEST_F().
|
staticconstexpr |
Definition at line 19 of file platform_handler.cc.
|
staticconstexpr |
Definition at line 45 of file platform_handler.cc.
Referenced by flutter::PlatformHandler::GetHasStrings(), flutter::PlatformHandler::GetPlainText(), flutter::PlatformHandler::SetPlainText(), and flutter::testing::TEST_F().
|
staticconstexpr |
Definition at line 24 of file platform_handler.cc.
|
staticconstexpr |
Definition at line 30 of file platform_handler.cc.
|
staticconstexpr |
Definition at line 47 of file platform_handler.cc.
|
staticconstexpr |
Definition at line 35 of file platform_handler.cc.
Referenced by flutter::PlatformHandler::SystemExitApplication().
|
staticconstexpr |
Definition at line 36 of file platform_handler.cc.
Referenced by flutter::PlatformHandler::RequestAppExitSuccess(), and flutter::PlatformHandler::SystemExitApplication().
|
staticconstexpr |
Definition at line 34 of file platform_handler.cc.
Referenced by flutter::PlatformHandler::RequestAppExitSuccess(), and flutter::PlatformHandler::SystemExitApplication().
|
staticconstexpr |
Definition at line 32 of file platform_handler.cc.
Referenced by flutter::PlatformHandler::RequestAppExit().
|
staticconstexpr |
Definition at line 21 of file platform_handler.cc.
|
staticconstexpr |
Definition at line 22 of file platform_handler.cc.
|
staticconstexpr |
Definition at line 26 of file platform_handler.cc.
|
staticconstexpr |
Definition at line 48 of file platform_handler.cc.
|
staticconstexpr |
Definition at line 28 of file platform_handler.cc.
|
staticconstexpr |
Definition at line 25 of file platform_handler.cc.
Referenced by flutter::PlatformHandler::RequestAppExit().
|
staticconstexpr |
Definition at line 23 of file platform_handler.cc.
|
staticconstexpr |
Definition at line 39 of file platform_handler.cc.
|
staticconstexpr |
Definition at line 38 of file platform_handler.cc.
|
staticconstexpr |
Definition at line 40 of file platform_handler.cc.
|
staticconstexpr |
Definition at line 43 of file platform_handler.cc.
Referenced by flutter::PlatformHandler::GetHasStrings().