blob: b3e0ac26e3a7cbd681113bcb458e2d652d3a0a5a [file] [log] [blame]
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/shell/platform/windows/testing/mock_window_win32.h"
namespace flutter {
namespace testing {
MockWin32Window::MockWin32Window() : WindowWin32(){};
MockWin32Window::~MockWin32Window() = default;
UINT MockWin32Window::GetDpi() {
return GetCurrentDPI();
}
LRESULT MockWin32Window::InjectWindowMessage(UINT const message,
WPARAM const wparam,
LPARAM const lparam) {
return HandleMessage(message, wparam, lparam);
}
} // namespace testing
} // namespace flutter