mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Add copyright headers in a few files where they were missing. Trim trailing blank comment line where present, for consistency with other engine code. Use the standard libtxt copyright header in one file where it differed (extra (C) and comma compared to other files in libtxt). This also amends tools/const_finder/test/const_finder_test.dart to look for a const an additional four lines down to account for the copyright header added to the test fixture.
26 lines
725 B
C++
26 lines
725 B
C++
// 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_win32_window.h"
|
|
|
|
namespace flutter {
|
|
namespace testing {
|
|
|
|
MockWin32Window::MockWin32Window() : Win32Window(){};
|
|
|
|
MockWin32Window::~MockWin32Window() = default;
|
|
|
|
UINT MockWin32Window::GetDpi() {
|
|
return GetCurrentDPI();
|
|
}
|
|
|
|
void MockWin32Window::InjectWindowMessage(UINT const message,
|
|
WPARAM const wparam,
|
|
LPARAM const lparam) {
|
|
HandleMessage(message, wparam, lparam);
|
|
}
|
|
|
|
} // namespace testing
|
|
} // namespace flutter
|