Flutter Engine
keyboard_key_handler_unittests.cc File Reference
#include "flutter/shell/platform/windows/keyboard_key_handler.h"
#include <rapidjson/document.h>
#include <memory>
#include "gmock/gmock.h"
#include "gtest/gtest.h"

Go to the source code of this file.

Namespaces

 flutter
 
 flutter::testing
 

Enumerations

enum  flutter::testing::@1452::KeyEventResponse
 

Functions

 flutter::testing::TEST (KeyboardKeyHandlerTest, SingleDelegateWithAsyncResponds)
 
 flutter::testing::TEST (KeyboardKeyHandlerTest, SingleDelegateWithSyncResponds)
 

Enumeration Type Documentation

◆ KeyEventResponse

enum flutter::testing::@1452::KeyEventResponse

Definition at line 95 of file keyboard_key_handler_unittests.cc.

95  {
96  kNoResponse,
97  kHandled,
98  kUnhandled,
99 };

Variable Documentation

◆ action

int action

Definition at line 46 of file keyboard_key_handler_unittests.cc.

◆ callback

std::function<void(bool)> callback

Definition at line 50 of file keyboard_key_handler_unittests.cc.

◆ callback_handler

CallbackHandler callback_handler

Definition at line 90 of file keyboard_key_handler_unittests.cc.

◆ character

◆ delegate_id

◆ extended

◆ hook_history

std::list<KeyboardHookCall>* hook_history

Definition at line 92 of file keyboard_key_handler_unittests.cc.

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

◆ key

◆ scancode

◆ was_down