Files
tubestation/widget/windows/OSKInputPaneManager.h
Yannis Juglaret 9e7fcd2468 Bug 1645571 - Prevent on-screen keyboard from dismissing itself. r=cmartin,win-reviewers
This patch makes us call IInputPane::add_Hiding with a no-op callback to
prevent explorer.exe from messing with our window.

Differential Revision: https://phabricator.services.mozilla.com/D208152
2024-05-16 15:45:21 +00:00

28 lines
813 B
C++

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sts=2 sw=2 et cin: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef mozilla_widget_OSKInputPaneManager_h
#define mozilla_widget_OSKInputPaneManager_h
#include "mozilla/Maybe.h"
#include <windows.h>
namespace mozilla {
namespace widget {
class OSKInputPaneManager final {
public:
static void ShowOnScreenKeyboard(HWND aHwnd);
static void DismissOnScreenKeyboard(HWND aHwnd);
static Maybe<bool> HasInputPaneEventHandlerService(HWND aHwnd);
};
} // namespace widget
} // namespace mozilla
#endif // mozilla_widget_OSKInputPaneManager_h