Chromium Code Reviews| Index: Source/Platform/chromium/public/WebDeviceMotionListener.h |
| diff --git a/Source/WebKit/chromium/public/WebMediaSource.h b/Source/Platform/chromium/public/WebDeviceMotionListener.h |
| similarity index 83% |
| copy from Source/WebKit/chromium/public/WebMediaSource.h |
| copy to Source/Platform/chromium/public/WebDeviceMotionListener.h |
| index ae7864b3090d45d155dce3a55872d6f6a27830c4..b8da1500d6afa8f7c97bb38454effb119de1a4a2 100644 |
| --- a/Source/WebKit/chromium/public/WebMediaSource.h |
| +++ b/Source/Platform/chromium/public/WebDeviceMotionListener.h |
| @@ -28,22 +28,19 @@ |
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| */ |
| -#ifndef WebMediaSource_h |
| -#define WebMediaSource_h |
| - |
| -#include "../../../Platform/chromium/public/WebURL.h" |
| -#include "WebTimeRange.h" |
| +#ifndef WebDeviceMotionListener_h |
| +#define WebDeviceMotionListener_h |
|
darin (slow to review)
2013/05/23 19:08:09
You might want to tweak the --similarity argument
timvolodine
2013/05/23 19:30:31
hmm I am already using --similarity=80 for this CL
|
| namespace WebKit { |
| -class WebMediaSourceClient; |
| +class WebDeviceMotionData; |
| -class WebMediaSource { |
| +class WebDeviceMotionListener { |
| public: |
| - virtual ~WebMediaSource() { }; |
| - virtual void open(WebMediaSourceClient*) = 0; |
| + // This method is called every time new device motion data is available. |
| + virtual void didChangeDeviceMotion(const WebDeviceMotionData&) = 0; |
| }; |
| } // namespace WebKit |
| -#endif |
| +#endif // WebDeviceMotionListener_h |