widget/GfxInfoWebGL.h
author Bobby Holley <bobbyholley@gmail.com>
Sun, 22 Feb 2015 14:16:28 -0800
changeset 261586 2a077477b16c970ce100f41fbba2dde13fc9919d
parent 238421 41c37790896e424e2743811d3d19be00068ce941
child 285938 91d6e262b662a0b4e47358665e222d3927337af9
permissions -rw-r--r--
Bug 1135785 - Make DecodeError safe to run on any thread. r=cpearce This is necessary so that we can make On{Audio,Video}{,Not}Decoded run on the state machine thread in the next patch.

/* vim: se cin sw=2 ts=2 et : */
/* -*- 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/. */

#ifndef __mozilla_widget_GfxInfoWebGL_h__
#define __mozilla_widget_GfxInfoWebGL_h__

#include "nsString.h"

namespace mozilla {
namespace widget {

class GfxInfoWebGL {
public:
    static nsresult GetWebGLParameter(const nsAString& aParam, nsAString& aResult);

protected:
    GfxInfoWebGL() { }
};

}
}

#endif