summaryrefslogtreecommitdiff
path: root/Source/WebKit/chromium/public/WebMediaPlayer.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2012-05-18 14:03:11 +0200
committerSimon Hausmann <simon.hausmann@nokia.com>2012-05-18 14:03:11 +0200
commit8d473cf9743f1d30a16a27114e93bd5af5648d23 (patch)
treecdca40d0353886b3ca52f33a2d7b8f1c0011aafc /Source/WebKit/chromium/public/WebMediaPlayer.h
parent1b914638db989aaa98631a1c1e02c7b2d44805d8 (diff)
downloadqtwebkit-8d473cf9743f1d30a16a27114e93bd5af5648d23.tar.gz
Imported WebKit commit 1350e72f7345ced9da2bd9980deeeb5a8d62fab4 (http://svn.webkit.org/repository/webkit/trunk@117578)
Weekly snapshot
Diffstat (limited to 'Source/WebKit/chromium/public/WebMediaPlayer.h')
-rw-r--r--Source/WebKit/chromium/public/WebMediaPlayer.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/WebKit/chromium/public/WebMediaPlayer.h b/Source/WebKit/chromium/public/WebMediaPlayer.h
index a2a9fb9b4..670630f95 100644
--- a/Source/WebKit/chromium/public/WebMediaPlayer.h
+++ b/Source/WebKit/chromium/public/WebMediaPlayer.h
@@ -184,10 +184,11 @@ public:
virtual MediaKeyException addKey(const WebString& keySystem, const unsigned char* key, unsigned keyLength, const unsigned char* initData, unsigned initDataLength, const WebString& sessionId) { return MediaKeyExceptionKeySystemNotSupported; }
virtual MediaKeyException cancelKeyRequest(const WebString& keySystem, const WebString& sessionId) { return MediaKeyExceptionKeySystemNotSupported; }
- // Instuct WebMediaPlayer to enter/exit fullscreen.
- // Returns true if the player can enter fullscreen.
- virtual bool enterFullscreen() { return false; }
+ // Instruct WebMediaPlayer to enter/exit fullscreen.
+ virtual void enterFullscreen() { }
virtual void exitFullscreen() { }
+ // Returns true if the player can enter fullscreen.
+ virtual bool canEnterFullscreen() const { return false; }
};
} // namespace WebKit