accessible/html/HTMLCanvasAccessible.cpp
author Jeff Walden <jwalden@mit.edu>
Thu, 15 Feb 2018 17:36:50 -0800
changeset 406214 bc01e52c16d77ba3a7ab45ec195892c88e5f861b
parent 403548 91d647c847e56cb0db2be19647507cec207b1d08
child 418198 6d057f79731365555281285f6a5441febc168e62
permissions -rw-r--r--
Bug 1441657 - Create a new mozilla/WrappingOperations.h header to contain implementations of common math operations with well-defined wraparound semantics. r=froydnj

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* 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/. */

#include "HTMLCanvasAccessible.h"

#include "Role.h"

using namespace mozilla::a11y;

HTMLCanvasAccessible::
  HTMLCanvasAccessible(nsIContent* aContent, DocAccessible* aDoc) :
  HyperTextAccessibleWrap(aContent, aDoc)
{
}

role
HTMLCanvasAccessible::NativeRole()
{
  return roles::CANVAS;
}