HTMLCanvasAccessible.cpp (632B)
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 #include "HTMLCanvasAccessible.h" 7 8 #include "mozilla/a11y/Role.h" 9 10 using namespace mozilla::a11y; 11 12 HTMLCanvasAccessible::HTMLCanvasAccessible(nsIContent* aContent, 13 DocAccessible* aDoc) 14 : HyperTextAccessible(aContent, aDoc) {} 15 16 role HTMLCanvasAccessible::NativeRole() const { return roles::CANVAS; }