| Flutter Windows Embedder |

Namespaces | Functions
keyboard_key_handler_unittests.cc File Reference
`#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)

## Variable Documentation

## ◆ action

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::TextInputPlugin::KeyboardHook(), flutter::KeyboardKeyHandler::KeyboardHook(), flutter::KeyboardKeyChannelHandler::KeyboardHook(), flutter::KeyboardKeyEmbedderHandler::KeyboardHook(), flutter::FlutterWindow::OnKey(), flutter::FlutterWindowsView::OnKey(), flutter::FlutterWindowsEngine::Run(), flutter::testing::TEST(), and flutter::testing::TEST_F().

## ◆ callback

std::function<void(bool)> callback

Definition at line 55 of file keyboard_key_handler_unittests.cc.

Referenced by flutter::testing::TEST().

## ◆ callback_handler

CallbackHandler callback_handler

Definition at line 169 of file keyboard_key_handler_unittests.cc.

## ◆ character

char32_t character

Definition at line 117 of file keyboard_key_handler_unittests.cc.

Referenced by flutter::EncodeUtf16(), flutter::KeyboardManager::HandleMessage(), flutter::KeyboardKeyHandler::KeyboardHook(), flutter::KeyboardKeyChannelHandler::KeyboardHook(), flutter::KeyboardKeyEmbedderHandler::KeyboardHook(), flutter::FlutterWindow::OnKey(), flutter::FlutterWindowsView::OnKey(), and flutter::testing::TEST().

## ◆ delegate_id

int delegate_id

Definition at line 113 of file keyboard_key_handler_unittests.cc.

Referenced by flutter::PluginRegistrarWindows::RegisterTopLevelWindowProcDelegate().

## ◆ extended

bool extended

Definition at line 118 of file keyboard_key_handler_unittests.cc.

Referenced by flutter::KeyboardManager::HandleMessage(), flutter::KeyboardKeyHandler::KeyboardHook(), flutter::KeyboardKeyChannelHandler::KeyboardHook(), flutter::KeyboardKeyEmbedderHandler::KeyboardHook(), flutter::normalizeScancode(), flutter::FlutterWindow::OnKey(), flutter::FlutterWindowsView::OnKey(), and flutter::testing::TEST().

## ◆ hook_history

std::list<KeyboardHookCall>* hook_history

Definition at line 171 of file keyboard_key_handler_unittests.cc.

Referenced by flutter::testing::TEST().

## ◆ key

int key

Definition at line 114 of file keyboard_key_handler_unittests.cc.

Referenced by flutter::PlatformHandler::GetPlainText(), flutter::TextInputPlugin::KeyboardHook(), flutter::KeyboardKeyHandler::KeyboardHook(), flutter::KeyboardKeyChannelHandler::KeyboardHook(), flutter::KeyboardKeyEmbedderHandler::KeyboardHook(), flutter::FlutterWindow::OnKey(), flutter::FlutterWindowsView::OnKey(), flutter::StandardCodecSerializer::ReadValueOfType(), and flutter::testing::TEST().

## ◆ scancode

int scancode

Definition at line 115 of file keyboard_key_handler_unittests.cc.

Referenced by flutter::KeyboardManager::HandleMessage(), flutter::KeyboardKeyHandler::KeyboardHook(), flutter::KeyboardKeyChannelHandler::KeyboardHook(), flutter::KeyboardKeyEmbedderHandler::KeyboardHook(), flutter::FlutterWindow::OnKey(), flutter::FlutterWindowsView::OnKey(), and flutter::testing::TEST().

## ◆ user_data

void* user_data

Definition at line 56 of file keyboard_key_handler_unittests.cc.

Referenced by flutter::testing::TEST().

## ◆ was_down

bool was_down

Definition at line 119 of file keyboard_key_handler_unittests.cc.

Referenced by flutter::KeyboardManager::HandleMessage(), flutter::KeyboardKeyHandler::KeyboardHook(), flutter::KeyboardKeyEmbedderHandler::KeyboardHook(), flutter::FlutterWindow::OnKey(), flutter::FlutterWindowsView::OnKey(), and flutter::testing::TEST().