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
|
|
|
#ifndef mozilla_a11y_HTMLCanvasAccessible_h__
|
|
|
|
#define mozilla_a11y_HTMLCanvasAccessible_h__
|
|
|
|
|
2012-06-12 16:18:04 -07:00
|
|
|
#include "HyperTextAccessibleWrap.h"
|
|
|
|
|
2012-06-06 03:27:51 -07:00
|
|
|
namespace mozilla {
|
|
|
|
namespace a11y {
|
2011-11-25 08:58:34 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* HTML canvas accessible (html:canvas).
|
|
|
|
*/
|
2012-06-12 16:18:04 -07:00
|
|
|
class HTMLCanvasAccessible : public HyperTextAccessibleWrap
|
2011-11-25 08:58:34 -08:00
|
|
|
{
|
|
|
|
public:
|
2012-06-06 03:27:51 -07:00
|
|
|
HTMLCanvasAccessible(nsIContent* aContent, DocAccessible* aDoc);
|
2011-11-25 08:58:34 -08:00
|
|
|
|
2012-06-12 16:18:04 -07:00
|
|
|
// nsISupports
|
|
|
|
NS_DECL_ISUPPORTS_INHERITED
|
|
|
|
|
2012-05-28 18:18:45 -07:00
|
|
|
// Accessible
|
2012-06-06 03:27:51 -07:00
|
|
|
virtual a11y::role NativeRole();
|
2014-07-08 14:23:18 -07:00
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual ~HTMLCanvasAccessible() { }
|
2011-11-25 08:58:34 -08:00
|
|
|
};
|
|
|
|
|
2012-06-06 03:27:51 -07:00
|
|
|
} // namespace a11y
|
|
|
|
} // namespace mozilla
|
|
|
|
|
2011-11-25 08:58:34 -08:00
|
|
|
#endif
|