2011-11-25 16:58:34 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 11:12:37 +00: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 16:58:34 +00:00
|
|
|
|
2012-05-31 08:04:41 +00:00
|
|
|
#include "HyperTextAccessible.h"
|
2011-11-25 16:58:34 +00:00
|
|
|
|
2012-06-06 10:27:51 +00:00
|
|
|
#ifndef mozilla_a11y_HTMLCanvasAccessible_h__
|
|
|
|
#define mozilla_a11y_HTMLCanvasAccessible_h__
|
|
|
|
|
|
|
|
namespace mozilla {
|
|
|
|
namespace a11y {
|
2011-11-25 16:58:34 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* HTML canvas accessible (html:canvas).
|
|
|
|
*/
|
2012-06-06 10:27:51 +00:00
|
|
|
class HTMLCanvasAccessible : public HyperTextAccessible
|
2011-11-25 16:58:34 +00:00
|
|
|
{
|
|
|
|
public:
|
2012-06-06 10:27:51 +00:00
|
|
|
HTMLCanvasAccessible(nsIContent* aContent, DocAccessible* aDoc);
|
|
|
|
virtual ~HTMLCanvasAccessible() { }
|
2011-11-25 16:58:34 +00:00
|
|
|
|
2012-05-29 01:18:45 +00:00
|
|
|
// Accessible
|
2012-06-06 10:27:51 +00:00
|
|
|
virtual a11y::role NativeRole();
|
2011-11-25 16:58:34 +00:00
|
|
|
};
|
|
|
|
|
2012-06-06 10:27:51 +00:00
|
|
|
} // namespace a11y
|
|
|
|
} // namespace mozilla
|
|
|
|
|
2011-11-25 16:58:34 +00:00
|
|
|
#endif
|