Bug 1877642 - Disable browser_fullscreen-tab-close-race.js on apple_silicon !debug...
[gecko.git] / accessible / ios / AccessibleWrap.h
blobe5a55a4d2fced58500cb4353f9914da8826fe108
1 /* clang-format off */
2 /* -*- Mode: Objective-C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
3 /* clang-format on */
4 /* This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
8 /* For documentation of the accessibility architecture,
9 * see https://firefox-source-docs.mozilla.org/accessible/index.html
12 #ifndef mozilla_a11y_AccessibleWrap_h_
13 #define mozilla_a11y_AccessibleWrap_h_
15 #include <objc/objc.h>
17 #include "nsCOMPtr.h"
18 #include "LocalAccessible.h"
20 namespace mozilla {
21 namespace a11y {
23 class AccessibleWrap : public LocalAccessible {
24 public: // construction, destruction
25 AccessibleWrap(nsIContent* aContent, DocAccessible* aDoc);
26 virtual ~AccessibleWrap() = default;
28 virtual void Shutdown() override;
30 /**
31 * Get the native Obj-C object (MUIAccessible).
33 virtual void GetNativeInterface(void** aOutAccessible) override;
35 protected:
36 id GetNativeObject();
38 private:
39 id mNativeObject;
41 bool mNativeInited;
44 } // namespace a11y
45 } // namespace mozilla
47 #endif