diff options
author | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-07 17:31:49 +0000 |
---|---|---|
committer | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-07 17:31:49 +0000 |
commit | 8931c41ae5392aab1c70f9c9b4e4c64061fdd9af (patch) | |
tree | be0d4f804f0e5964ffbd093b26d8c3fe96f443c3 /webkit/api/public/WebMediaPlayer.h | |
parent | 7de37fb6af07c84deee63f6a1baec91e0290c830 (diff) | |
download | chromium_src-8931c41ae5392aab1c70f9c9b4e4c64061fdd9af.zip chromium_src-8931c41ae5392aab1c70f9c9b4e4c64061fdd9af.tar.gz chromium_src-8931c41ae5392aab1c70f9c9b4e4c64061fdd9af.tar.bz2 |
Refactoring to introduce refcount to WebMediaPlayerImpl
WebMediaPlayerImpl interacts with multiple threads that it
becomes necessary to make it refcounted so we can post task
on different threads' message loop.
Review URL: http://codereview.chromium.org/147225
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20038 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/api/public/WebMediaPlayer.h')
-rw-r--r-- | webkit/api/public/WebMediaPlayer.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/webkit/api/public/WebMediaPlayer.h b/webkit/api/public/WebMediaPlayer.h index 56d01e5..740b894 100644 --- a/webkit/api/public/WebMediaPlayer.h +++ b/webkit/api/public/WebMediaPlayer.h @@ -1,10 +1,10 @@ /* * Copyright (C) 2009 Google Inc. All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: - * + * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above @@ -14,7 +14,7 @@ * * Neither the name of Google Inc. nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. - * + * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR @@ -67,7 +67,6 @@ namespace WebKit { // Playback controls. virtual void play() = 0; virtual void pause() = 0; - virtual void stop() = 0; virtual void seek(float seconds) = 0; virtual void setEndTime(float seconds) = 0; virtual void setRate(float) = 0; @@ -88,7 +87,7 @@ namespace WebKit { // Dimension of the video. virtual WebSize naturalSize() const = 0; - // Getters fo playback state. + // Getters of playback state. virtual bool paused() const = 0; virtual bool seeking() const = 0; virtual float duration() const = 0; |