tor-browser

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

DocAccessibleWrap.h (835B)


      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_DocAccessibleWrap_h__
      7 #define mozilla_a11y_DocAccessibleWrap_h__
      8 
      9 #include "DocAccessible.h"
     10 #include "nsITimer.h"
     11 
     12 namespace mozilla {
     13 
     14 class PresShell;
     15 
     16 namespace a11y {
     17 
     18 class DocAccessibleWrap : public DocAccessible {
     19 public:
     20  DocAccessibleWrap(Document* aDocument, PresShell* aPresShell);
     21  virtual ~DocAccessibleWrap();
     22 
     23  virtual void Shutdown() override;
     24 
     25  DocAccessibleWrap* GetTopLevelContentDoc(AccessibleWrap* aAccessible);
     26 
     27  bool IsTopLevelContentDoc();
     28 };
     29 
     30 }  // namespace a11y
     31 }  // namespace mozilla
     32 
     33 #endif