Flutter Engine
mock_win32_window.cc
Go to the documentation of this file.
1 // Copyright 2013 The Flutter Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include "flutter/shell/platform/windows/testing/mock_win32_window.h"
6 
7 namespace flutter {
8 namespace testing {
9 
11 
13 
15  return GetCurrentDPI();
16 }
17 
18 void MockWin32Window::InjectWindowMessage(UINT const message,
19  WPARAM const wparam,
20  LPARAM const lparam) {
21  HandleMessage(message, wparam, lparam);
22 }
23 
24 } // namespace testing
25 } // namespace flutter
void InjectWindowMessage(UINT const message, WPARAM const wparam, LPARAM const lparam)
LRESULT HandleMessage(UINT const message, WPARAM const wparam, LPARAM const lparam) noexcept