#include <test_keyboard.h>
Definition at line 115 of file test_keyboard.h.
◆ DispatchFront()
LRESULT flutter::testing::MockMessageQueue::DispatchFront |
( |
| ) |
|
|
protected |
Definition at line 209 of file test_keyboard.cc.
209 {
211 << "Called DispatchFront while pending message queue is empty";
220 << ordinal(
_sent_messages.size()) <<
" event, with\n " << std::hex
221 <<
"Message 0x" <<
message.message <<
" LParam 0x" <<
message.lParam
222 <<
" WParam 0x" <<
message.wParam;
223 }
225}
std::list< Win32Message > _pending_messages
std::list< Win32Message > _sent_messages
virtual LRESULT Win32SendMessage(UINT const message, WPARAM const wparam, LPARAM const lparam)=0
#define FML_DCHECK(condition)
constexpr LRESULT kWmResultDontCheck
◆ PushBack()
void flutter::testing::MockMessageQueue::PushBack |
( |
const Win32Message * |
message | ) |
|
|
protected |
◆ Win32PeekMessage()
BOOL flutter::testing::MockMessageQueue::Win32PeekMessage |
( |
LPMSG |
lpMsg, |
|
|
UINT |
wMsgFilterMin, |
|
|
UINT |
wMsgFilterMax, |
|
|
UINT |
wRemoveMsg |
|
) |
| |
|
protected |
Definition at line 227 of file test_keyboard.cc.
230 {
232 ++iter) {
233 if (iter->message >= wMsgFilterMin && iter->message <= wMsgFilterMax) {
235 .message = iter->message,
236 .wParam = iter->wParam,
237 .lParam = iter->lParam,
238 };
239 if ((wRemoveMsg & PM_REMOVE) == PM_REMOVE) {
241 }
243 }
244 }
246}
◆ Win32SendMessage()
virtual LRESULT flutter::testing::MockMessageQueue::Win32SendMessage |
( |
UINT const |
message, |
|
|
WPARAM const |
wparam, |
|
|
LPARAM const |
lparam |
|
) |
| |
|
protectedpure virtual |
◆ _pending_messages
std::list<Win32Message> flutter::testing::MockMessageQueue::_pending_messages |
|
protected |
◆ _sent_messages
std::list<Win32Message> flutter::testing::MockMessageQueue::_sent_messages |
|
protected |
The documentation for this class was generated from the following files: