#include "flutter/shell/platform/windows/keyboard_key_handler.h"
#include <rapidjson/document.h>
#include <map>
#include <memory>
#include "flutter/shell/platform/common/client_wrapper/include/flutter/method_result_functions.h"
#include "flutter/shell/platform/common/client_wrapper/include/flutter/standard_message_codec.h"
#include "flutter/shell/platform/common/client_wrapper/include/flutter/standard_method_codec.h"
#include "flutter/shell/platform/embedder/test_utils/key_codes.g.h"
#include "flutter/shell/platform/embedder/test_utils/proc_table_replacement.h"
#include "flutter/shell/platform/windows/keyboard_utils.h"
#include "flutter/shell/platform/windows/testing/engine_modifier.h"
#include "flutter/shell/platform/windows/testing/test_binary_messenger.h"
#include "flutter/fml/macros.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
Go to the source code of this file.
Namespaces | |
flutter | |
flutter::testing | |
Functions | |
flutter::testing::TEST (KeyboardKeyHandlerTest, SingleDelegateWithAsyncResponds) | |
flutter::testing::TEST (KeyboardKeyHandlerTest, SingleDelegateWithSyncResponds) | |
flutter::testing::TEST (KeyboardKeyHandlerTest, HandlerGetPressedState) | |
flutter::testing::TEST (KeyboardKeyHandlerTest, KeyboardChannelGetPressedState) | |
int action |
Definition at line 116 of file keyboard_key_handler_unittests.cc.
Referenced by flutter::AccessibilityBridge::AddFlutterSemanticsCustomActionUpdate(), flutter::TestAccessibilityBridge::DispatchAccessibilityAction(), flutter::AccessibilityBridgeWindows::DispatchAccessibilityAction(), flutter::KeyboardManager::HandleMessage(), flutter::KeyboardKeyChannelHandler::KeyboardHook(), flutter::TextInputPlugin::KeyboardHook(), flutter::KeyboardKeyEmbedderHandler::KeyboardHook(), flutter::KeyboardKeyHandler::KeyboardHook(), flutter::FlutterWindow::OnKey(), flutter::FlutterWindowsView::OnKey(), flutter::FlutterWindowsEngine::Run(), flutter::testing::TEST(), and flutter::testing::TEST_F().
std::function<void(bool)> callback |
Definition at line 55 of file keyboard_key_handler_unittests.cc.
Referenced by flutter::testing::TEST().
CallbackHandler callback_handler |
Definition at line 169 of file keyboard_key_handler_unittests.cc.
char32_t character |
Definition at line 117 of file keyboard_key_handler_unittests.cc.
Referenced by flutter::EncodeUtf16(), flutter::KeyboardManager::HandleMessage(), flutter::KeyboardKeyChannelHandler::KeyboardHook(), flutter::KeyboardKeyEmbedderHandler::KeyboardHook(), flutter::KeyboardKeyHandler::KeyboardHook(), flutter::FlutterWindow::OnKey(), flutter::FlutterWindowsView::OnKey(), and flutter::testing::TEST().
int delegate_id |
Definition at line 113 of file keyboard_key_handler_unittests.cc.
Referenced by flutter::PluginRegistrarWindows::RegisterTopLevelWindowProcDelegate().
bool extended |
Definition at line 118 of file keyboard_key_handler_unittests.cc.
Referenced by flutter::KeyboardManager::HandleMessage(), flutter::KeyboardKeyChannelHandler::KeyboardHook(), flutter::KeyboardKeyEmbedderHandler::KeyboardHook(), flutter::KeyboardKeyHandler::KeyboardHook(), flutter::normalizeScancode(), flutter::FlutterWindow::OnKey(), flutter::FlutterWindowsView::OnKey(), and flutter::testing::TEST().
std::list<KeyboardHookCall>* hook_history |
Definition at line 171 of file keyboard_key_handler_unittests.cc.
Referenced by flutter::testing::TEST().
int key |
Definition at line 114 of file keyboard_key_handler_unittests.cc.
Referenced by flutter::PlatformHandler::GetPlainText(), flutter::KeyboardKeyChannelHandler::KeyboardHook(), flutter::TextInputPlugin::KeyboardHook(), flutter::KeyboardKeyEmbedderHandler::KeyboardHook(), flutter::KeyboardKeyHandler::KeyboardHook(), flutter::FlutterWindow::OnKey(), flutter::FlutterWindowsView::OnKey(), flutter::StandardCodecSerializer::ReadValueOfType(), and flutter::testing::TEST().
int scancode |
Definition at line 115 of file keyboard_key_handler_unittests.cc.
Referenced by flutter::KeyboardManager::HandleMessage(), flutter::KeyboardKeyChannelHandler::KeyboardHook(), flutter::KeyboardKeyEmbedderHandler::KeyboardHook(), flutter::KeyboardKeyHandler::KeyboardHook(), flutter::FlutterWindow::OnKey(), flutter::FlutterWindowsView::OnKey(), and flutter::testing::TEST().
void* user_data |
Definition at line 56 of file keyboard_key_handler_unittests.cc.
Referenced by flutter::testing::TEST().
bool was_down |
Definition at line 119 of file keyboard_key_handler_unittests.cc.
Referenced by flutter::KeyboardManager::HandleMessage(), flutter::KeyboardKeyEmbedderHandler::KeyboardHook(), flutter::KeyboardKeyHandler::KeyboardHook(), flutter::FlutterWindow::OnKey(), flutter::FlutterWindowsView::OnKey(), and flutter::testing::TEST().