tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

UiaGridItem.h (1674B)


      1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
      2 /* vim: set ts=2 et sw=2 tw=80: */
      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 file,
      5 * You can obtain one at http://mozilla.org/MPL/2.0/. */
      6 
      7 #ifndef mozilla_a11y_UiaGridItem_h__
      8 #define mozilla_a11y_UiaGridItem_h__
      9 
     10 #include "objbase.h"
     11 #include "uiautomation.h"
     12 
     13 namespace mozilla::a11y {
     14 class TableCellAccessible;
     15 
     16 /**
     17 * IGridItemProvider and ITableItemProvider implementations.
     18 */
     19 class UiaGridItem : public IGridItemProvider, public ITableItemProvider {
     20 public:
     21  // IGridItemProvider
     22  virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Row(
     23      /* [retval][out] */ __RPC__out int* aRetVal);
     24 
     25  virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Column(
     26      /* [retval][out] */ __RPC__out int* aRetVal);
     27 
     28  virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_RowSpan(
     29      /* [retval][out] */ __RPC__out int* aRetVal);
     30 
     31  virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_ColumnSpan(
     32      /* [retval][out] */ __RPC__out int* aRetVal);
     33 
     34  virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_ContainingGrid(
     35      /* [retval][out] */ __RPC__deref_out_opt IRawElementProviderSimple**
     36          aRetVal);
     37 
     38  // ITableItemProvider
     39  virtual HRESULT STDMETHODCALLTYPE GetRowHeaderItems(
     40      /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY** aRetVal);
     41 
     42  virtual HRESULT STDMETHODCALLTYPE GetColumnHeaderItems(
     43      /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY** aRetVal);
     44 
     45 private:
     46  TableCellAccessible* CellAcc();
     47 };
     48 
     49 }  // namespace mozilla::a11y
     50 
     51 #endif