Backed out changeset b71c8c052463 (bug 1943846) for causing mass failures. CLOSED...
[gecko.git] / widget / windows / nsWindowLoggedMessages.h
blobe71d65ab0726c60566e9581cce69b7f0139ea1c7
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #ifndef WindowLoggedMessages_h__
7 #define WindowLoggedMessages_h__
9 #include "minwindef.h"
10 #include "wtypes.h"
12 #include "nsIWidget.h"
13 #include "nsStringFwd.h"
15 namespace mozilla::widget {
17 void LogWindowMessage(HWND hwnd, UINT event, bool isPreEvent, long eventCounter,
18 WPARAM wParam, LPARAM lParam, mozilla::Maybe<bool> result,
19 LRESULT retValue);
20 void WindowClosed(HWND hwnd);
21 void GetLatestWindowMessages(nsIWidget* windowWidget,
22 nsTArray<nsCString>& messages);
24 } // namespace mozilla::widget
26 #endif /* WindowLoggedMessages */