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__
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
,
20 void WindowClosed(HWND hwnd
);
21 void GetLatestWindowMessages(nsIWidget
* windowWidget
,
22 nsTArray
<nsCString
>& messages
);
24 } // namespace mozilla::widget
26 #endif /* WindowLoggedMessages */