Bug 1864652 - Expose settings for Global Privacy Control. r=geckoview-reviewers,ohall...
[gecko.git] / accessible / html / HTMLCanvasAccessible.h
blob49d443bce14b2ec0f29735dcbbf444c11f6240c8
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_HTMLCanvasAccessible_h__
7 #define mozilla_a11y_HTMLCanvasAccessible_h__
9 #include "HyperTextAccessible.h"
11 namespace mozilla {
12 namespace a11y {
14 /**
15 * HTML canvas accessible (html:canvas).
17 class HTMLCanvasAccessible : public HyperTextAccessible {
18 public:
19 HTMLCanvasAccessible(nsIContent* aContent, DocAccessible* aDoc);
21 // nsISupports
22 NS_INLINE_DECL_REFCOUNTING_INHERITED(HTMLCanvasAccessible,
23 HyperTextAccessible)
25 // LocalAccessible
26 virtual a11y::role NativeRole() const override;
28 protected:
29 virtual ~HTMLCanvasAccessible() {}
32 } // namespace a11y
33 } // namespace mozilla
35 #endif