Backed out changeset 2450366cf7ca (bug 1891629) for causing win msix mochitest failures
[gecko.git] / widget / uikit / nsBidiKeyboard.mm
blobbbe1eff92fb09fb7b83e5e8f1c1902e9f630515b
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2  *
3  * This Source Code Form is subject to the terms of the Mozilla Public
4  * License, v. 2.0. If a copy of the MPL was not distributed with this
5  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #include "nsBidiKeyboard.h"
8 #include "nsIWidget.h"
10 // This must be the last include:
11 #include "nsObjCExceptions.h"
13 using namespace mozilla::widget;
15 NS_IMPL_ISUPPORTS(nsBidiKeyboard, nsIBidiKeyboard)
17 nsBidiKeyboard::nsBidiKeyboard() : nsIBidiKeyboard() { Reset(); }
19 nsBidiKeyboard::~nsBidiKeyboard() {}
21 NS_IMETHODIMP nsBidiKeyboard::Reset() { return NS_OK; }
23 NS_IMETHODIMP nsBidiKeyboard::IsLangRTL(bool* aIsRTL) {
24   return NS_ERROR_NOT_IMPLEMENTED;
27 NS_IMETHODIMP nsBidiKeyboard::GetHaveBidiKeyboards(bool* aResult) {
28   // not implemented yet
29   return NS_ERROR_NOT_IMPLEMENTED;
32 // static
33 already_AddRefed<nsIBidiKeyboard> nsIWidget::CreateBidiKeyboardInner() {
34   return do_AddRef(new nsBidiKeyboard());