Implement Device Orientation using shared memory in content/renderer.
[chromium-blink-merge.git] / webkit / support / web_audio_device_mock.h
blob830dededd28452e8892f801009bd761a6de7b503
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef WEBKIT_SUPPORT_WEB_AUDIO_DEVICE_MOCK_H_
6 #define WEBKIT_SUPPORT_WEB_AUDIO_DEVICE_MOCK_H_
8 #include "third_party/WebKit/public/platform/WebAudioDevice.h"
10 class WebAudioDeviceMock : public WebKit::WebAudioDevice {
11 public:
12 WebAudioDeviceMock(double sampleRate);
13 virtual ~WebAudioDeviceMock() { }
15 virtual void start() { }
16 virtual void stop() { }
17 virtual double sampleRate();
19 private:
20 double sample_rate_;
23 #endif // WEBKIT_SUPPORT_WEB_AUDIO_DEVICE_MOCK_H_