2011-11-25 08:58:34 -08:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 04:12:37 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2011-11-25 08:58:34 -08:00
|
|
|
|
2012-06-06 03:27:51 -07:00
|
|
|
#include "HTMLCanvasAccessible.h"
|
2011-11-25 08:58:34 -08:00
|
|
|
|
2012-01-11 19:07:35 -08:00
|
|
|
#include "Role.h"
|
|
|
|
|
2011-11-25 08:58:34 -08:00
|
|
|
using namespace mozilla::a11y;
|
|
|
|
|
2012-06-06 03:27:51 -07:00
|
|
|
HTMLCanvasAccessible::
|
|
|
|
HTMLCanvasAccessible(nsIContent* aContent, DocAccessible* aDoc) :
|
2012-06-12 16:18:04 -07:00
|
|
|
HyperTextAccessibleWrap(aContent, aDoc)
|
2011-11-25 08:58:34 -08:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2012-06-12 16:18:04 -07:00
|
|
|
NS_IMPL_ISUPPORTS_INHERITED0(HTMLCanvasAccessible, HyperTextAccessible)
|
|
|
|
|
2012-01-11 19:07:35 -08:00
|
|
|
role
|
2012-06-06 03:27:51 -07:00
|
|
|
HTMLCanvasAccessible::NativeRole()
|
2011-11-25 08:58:34 -08:00
|
|
|
{
|
2012-01-11 19:07:35 -08:00
|
|
|
return roles::CANVAS;
|
2011-11-25 08:58:34 -08:00
|
|
|
}
|