| Index: Source/modules/webmidi/NavigatorMIDIAccess.h
|
| diff --git a/Source/core/animation/AnimatableValue.h b/Source/modules/webmidi/NavigatorMIDIAccess.h
|
| similarity index 84%
|
| copy from Source/core/animation/AnimatableValue.h
|
| copy to Source/modules/webmidi/NavigatorMIDIAccess.h
|
| index 238766112da5a305c156fe0376712f61a4565753..7ff000cec78bd8086b14642feb175caaad211b37 100644
|
| --- a/Source/core/animation/AnimatableValue.h
|
| +++ b/Source/modules/webmidi/NavigatorMIDIAccess.h
|
| @@ -28,20 +28,25 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef AnimatableValue_h
|
| -#define AnimatableValue_h
|
| +#ifndef NavigatorMIDIAccess_h
|
| +#define NavigatorMIDIAccess_h
|
|
|
| -#include "core/css/CSSValue.h"
|
| #include "wtf/PassRefPtr.h"
|
|
|
| namespace WebCore {
|
|
|
| -// FIXME: This class is currently just a stub.
|
| -class AnimatableValue {
|
| +class MIDIAccessFuture;
|
| +class Navigator;
|
| +
|
| +class NavigatorMIDIAccess {
|
| public:
|
| - PassRefPtr<CSSValue> toCSSValue() const;
|
| + static PassRefPtr<MIDIAccessFuture> requestMIDIAccess(Navigator*);
|
| +
|
| +private:
|
| + NavigatorMIDIAccess();
|
| + ~NavigatorMIDIAccess();
|
| };
|
|
|
| } // namespace WebCore
|
|
|
| -#endif // AnimatableValue_h
|
| +#endif // NavigatorMIDIAccess_h
|
|
|