summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/MediaPlayerPrivate.h
diff options
context:
space:
mode:
authorTeng-Hui Zhu <ztenghui@google.com>2012-06-18 16:36:33 -0700
committerTeng-Hui Zhu <ztenghui@google.com>2012-06-27 15:53:05 -0700
commit0675e22b46a05cdd3f6e20133a94bb8448231dfa (patch)
tree46ef3d75d403aa5ed07dede8a356193c8415267e /Source/WebCore/platform/graphics/MediaPlayerPrivate.h
parent4601e20f7d14b20a1063cae8cc1e87fc85baee39 (diff)
downloadexternal_webkit-0675e22b46a05cdd3f6e20133a94bb8448231dfa.zip
external_webkit-0675e22b46a05cdd3f6e20133a94bb8448231dfa.tar.gz
external_webkit-0675e22b46a05cdd3f6e20133a94bb8448231dfa.tar.bz2
Support fullscreen to inline video transition.
Basically, player is responsible to enter fullscreen mode such that we have the proper proxy updated on the Java side. bug:5710646 framework change: https://android-git.corp.google.com/g/#/c/202139/ Change-Id: Ie7adf620f2e9889142ef153e12d676a5f288bc0a
Diffstat (limited to 'Source/WebCore/platform/graphics/MediaPlayerPrivate.h')
-rw-r--r--Source/WebCore/platform/graphics/MediaPlayerPrivate.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/WebCore/platform/graphics/MediaPlayerPrivate.h b/Source/WebCore/platform/graphics/MediaPlayerPrivate.h
index b4490bc..fa92e06 100644
--- a/Source/WebCore/platform/graphics/MediaPlayerPrivate.h
+++ b/Source/WebCore/platform/graphics/MediaPlayerPrivate.h
@@ -113,7 +113,9 @@ public:
virtual void enterFullscreen() { }
virtual void exitFullscreen() { }
#endif
-
+#if PLATFORM(ANDROID)
+ virtual void enterFullscreenMode() { }
+#endif
#if USE(ACCELERATED_COMPOSITING)
// whether accelerated rendering is supported by the media engine for the current media.
virtual bool supportsAcceleratedRendering() const { return false; }