/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* 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/. */
class NativeKeyBindings final { public: static NativeKeyBindings* GetInstance(NativeKeyBindingsType aType); staticvoid Shutdown();
/** * GetEditCommandsForTests() returns commands performed in native widget * in typical environment. I.e., this does NOT refer customized shortcut * key mappings of the environment.
*/ staticvoid GetEditCommandsForTests(NativeKeyBindingsType aType, const WidgetKeyboardEvent& aEvent, const Maybe<WritingMode>& aWritingMode,
nsTArray<CommandInt>& aCommands);