Bug 1769547 - Do not MOZ_CRASH() on missing process r=nika
[gecko.git] / accessible / windows / msaa / XULMenuAccessibleWrap.h
blobf3dcf8751586fe637a01b44bb80ae7d4a74c1b88
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 mozilla_a11y_XULMenuAccessibleWrap_h__
7 #define mozilla_a11y_XULMenuAccessibleWrap_h__
9 #include "XULMenuAccessible.h"
11 namespace mozilla {
12 namespace a11y {
14 class XULMenuitemAccessibleWrap : public XULMenuitemAccessible {
15 public:
16 XULMenuitemAccessibleWrap(nsIContent* aContent, DocAccessible* aDoc);
17 virtual ~XULMenuitemAccessibleWrap() {}
19 // nsIAccessible
20 virtual mozilla::a11y::ENameValueFlag Name(nsString& aName) const override;
23 } // namespace a11y
24 } // namespace mozilla
26 #endif