tor-browser

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

UiaRoot.h (1098B)


      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_UiaRoot_h__
      8 #define mozilla_a11y_UiaRoot_h__
      9 
     10 #include "objbase.h"
     11 #include "uiautomation.h"
     12 
     13 namespace mozilla {
     14 namespace a11y {
     15 class Accessible;
     16 
     17 /**
     18 * IRawElementProviderFragmentRoot implementation.
     19 */
     20 class UiaRoot : public IRawElementProviderFragmentRoot {
     21 public:
     22  // IRawElementProviderFragmentRoot
     23  virtual HRESULT STDMETHODCALLTYPE ElementProviderFromPoint(
     24      /* [in] */ double aX,
     25      /* [in] */ double aY,
     26      /* [retval][out] */
     27      __RPC__deref_out_opt IRawElementProviderFragment** aRetVal);
     28 
     29  virtual HRESULT STDMETHODCALLTYPE GetFocus(
     30      /* [retval][out] */ __RPC__deref_out_opt IRawElementProviderFragment**
     31          aRetVal);
     32 
     33 private:
     34  Accessible* Acc();
     35 };
     36 
     37 }  // namespace a11y
     38 }  // namespace mozilla
     39 
     40 #endif