Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
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 "HyperTextAccessibleWrap.h"
11 namespace mozilla {
12 namespace a11y {
14 /**
15 * HTML canvas accessible (html:canvas).
16 */
17 class HTMLCanvasAccessible : public HyperTextAccessibleWrap
18 {
19 public:
20 HTMLCanvasAccessible(nsIContent* aContent, DocAccessible* aDoc);
21 virtual ~HTMLCanvasAccessible() { }
23 // nsISupports
24 NS_DECL_ISUPPORTS_INHERITED
26 // Accessible
27 virtual a11y::role NativeRole();
28 };
30 } // namespace a11y
31 } // namespace mozilla
33 #endif