MsaaXULMenuAccessible.h (999B)
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/. */ 5 6 #ifndef mozilla_a11y_MsaaXULMenuAccessible_h__ 7 #define mozilla_a11y_MsaaXULMenuAccessible_h__ 8 9 #include "MsaaAccessible.h" 10 11 namespace mozilla { 12 namespace a11y { 13 14 class MsaaXULMenuitemAccessible : public MsaaAccessible { 15 public: 16 virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_accKeyboardShortcut( 17 /* [optional][in] */ VARIANT varChild, 18 /* [retval][out] */ BSTR __RPC_FAR* pszKeyboardShortcut) override; 19 virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_accName( 20 /* [optional][in] */ VARIANT varChild, 21 /* [retval][out] */ BSTR __RPC_FAR* pszName) override; 22 23 protected: 24 using MsaaAccessible::MsaaAccessible; 25 }; 26 27 } // namespace a11y 28 } // namespace mozilla 29 30 #endif