<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[161607] trunk/Source/WebCore</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/161607">161607</a></dd>
<dt>Author</dt> <dd>benjamin@webkit.org</dd>
<dt>Date</dt> <dd>2014-01-09 17:24:53 -0800 (Thu, 09 Jan 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>Remove remaining blackberry files I could find in WebCore
https://bugs.webkit.org/show_bug.cgi?id=126715

Patch by Benjamin Poulain &lt;bpoulain@apple.com&gt; on 2014-01-09
Reviewed by Anders Carlsson.

* PlatformBlackBerry.cmake: Removed.
* Resources/blackberry: Removed.
* css/mediaControlsBlackBerry.css: Removed.
* css/mediaControlsBlackBerryFullscreen.css: Removed.
* css/themeBlackBerry.css: Removed.
* editing/blackberry: Removed.
* history/blackberry: Removed.
* html/shadow/MediaControlsBlackBerry.cpp: Removed.
* html/shadow/MediaControlsBlackBerry.h: Removed.
* page/blackberry: Removed.
* page/scrolling/blackberry: Removed.
* plugins/blackberry: Removed.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkSourceWebCorePlatformBlackBerrycmake">trunk/Source/WebCore/PlatformBlackBerry.cmake</a></li>
<li>trunk/Source/WebCore/Resources/blackberry/</li>
<li><a href="#trunkSourceWebCorecssmediaControlsBlackBerrycss">trunk/Source/WebCore/css/mediaControlsBlackBerry.css</a></li>
<li><a href="#trunkSourceWebCorecssmediaControlsBlackBerryFullscreencss">trunk/Source/WebCore/css/mediaControlsBlackBerryFullscreen.css</a></li>
<li><a href="#trunkSourceWebCorecssthemeBlackBerrycss">trunk/Source/WebCore/css/themeBlackBerry.css</a></li>
<li>trunk/Source/WebCore/editing/blackberry/</li>
<li>trunk/Source/WebCore/history/blackberry/</li>
<li><a href="#trunkSourceWebCorehtmlshadowMediaControlsBlackBerrycpp">trunk/Source/WebCore/html/shadow/MediaControlsBlackBerry.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlshadowMediaControlsBlackBerryh">trunk/Source/WebCore/html/shadow/MediaControlsBlackBerry.h</a></li>
<li>trunk/Source/WebCore/page/blackberry/</li>
<li>trunk/Source/WebCore/page/scrolling/blackberry/</li>
<li>trunk/Source/WebCore/plugins/blackberry/</li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (161606 => 161607)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2014-01-10 01:18:18 UTC (rev 161606)
+++ trunk/Source/WebCore/ChangeLog        2014-01-10 01:24:53 UTC (rev 161607)
</span><span class="lines">@@ -1,3 +1,23 @@
</span><ins>+2014-01-09  Benjamin Poulain  &lt;bpoulain@apple.com&gt;
+
+        Remove remaining blackberry files I could find in WebCore
+        https://bugs.webkit.org/show_bug.cgi?id=126715
+
+        Reviewed by Anders Carlsson.
+
+        * PlatformBlackBerry.cmake: Removed.
+        * Resources/blackberry: Removed.
+        * css/mediaControlsBlackBerry.css: Removed.
+        * css/mediaControlsBlackBerryFullscreen.css: Removed.
+        * css/themeBlackBerry.css: Removed.
+        * editing/blackberry: Removed.
+        * history/blackberry: Removed.
+        * html/shadow/MediaControlsBlackBerry.cpp: Removed.
+        * html/shadow/MediaControlsBlackBerry.h: Removed.
+        * page/blackberry: Removed.
+        * page/scrolling/blackberry: Removed.
+        * plugins/blackberry: Removed.
+
</ins><span class="cx"> 2014-01-09  Brent Fulgham  &lt;bfulgham@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [WebGL] Return filtered results for getProgramParameter for ACTIVE_ATTRIBUTES and ACTIVE_UNIFORMS
</span></span></pre></div>
<a id="trunkSourceWebCorePlatformBlackBerrycmake"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/PlatformBlackBerry.cmake (161606 => 161607)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/PlatformBlackBerry.cmake        2014-01-10 01:18:18 UTC (rev 161606)
+++ trunk/Source/WebCore/PlatformBlackBerry.cmake        2014-01-10 01:24:53 UTC (rev 161607)
</span><span class="lines">@@ -1,270 +0,0 @@
</span><del>-list(INSERT WebCore_INCLUDE_DIRECTORIES 0
-    &quot;${BLACKBERRY_THIRD_PARTY_DIR}&quot; # For &lt;unicode.h&gt;, which is included from &lt;sys/keycodes.h&gt;.
-)
-
-list(REMOVE_ITEM WebCore_SOURCES
-    html/shadow/MediaControlsApple.cpp
-)
-
-list(APPEND WebCore_INCLUDE_DIRECTORIES
-    &quot;${WEBCORE_DIR}/platform/blackberry/CookieDatabaseBackingStore&quot;
-    &quot;${WEBCORE_DIR}/platform/graphics/harfbuzz&quot;
-    &quot;${WEBCORE_DIR}/platform/graphics/opentype/&quot;
-    &quot;${WEBCORE_DIR}/platform/network/blackberry&quot;
-    &quot;${WEBCORE_DIR}/platform/network/blackberry/rss&quot;
-)
-
-# Other sources
-list(APPEND WebCore_SOURCES
-    platform/blackberry/AuthenticationChallengeManager.cpp
-    platform/blackberry/CookieManager.cpp
-    platform/blackberry/CookieMap.cpp
-    platform/blackberry/CookieParser.cpp
-    platform/blackberry/FileSystemBlackBerry.cpp
-    platform/blackberry/ParsedCookie.cpp
-
-    platform/blackberry/CookieDatabaseBackingStore/CookieDatabaseBackingStore.cpp
-
-    platform/graphics/WOFFFileFormat.cpp
-
-    platform/graphics/opentype/OpenTypeSanitizer.cpp
-
-    platform/image-encoders/JPEGImageEncoder.cpp
-
-    platform/posix/FileSystemPOSIX.cpp
-    platform/posix/SharedBufferPOSIX.cpp
-
-    platform/text/LocaleNone.cpp
-
-    platform/text/blackberry/TextBreakIteratorInternalICUBlackBerry.cpp
-)
-
-# Networking sources
-list(APPEND WebCore_SOURCES
-    platform/network/MIMESniffing.cpp
-    platform/network/NetworkStorageSessionStub.cpp
-    platform/network/ProxyServer.cpp
-
-    platform/network/blackberry/AutofillBackingStore.cpp
-    platform/network/blackberry/BlobStream.cpp
-    platform/network/blackberry/CookieJarBlackBerry.cpp
-    platform/network/blackberry/DNSBlackBerry.cpp
-    platform/network/blackberry/DeferredData.cpp
-    platform/network/blackberry/NetworkJob.cpp
-    platform/network/blackberry/NetworkManager.cpp
-    platform/network/blackberry/NetworkStateNotifierBlackBerry.cpp
-    platform/network/blackberry/ProxyServerBlackBerry.cpp
-    platform/network/blackberry/ResourceErrorBlackBerry.cpp
-    platform/network/blackberry/ResourceHandleBlackBerry.cpp
-    platform/network/blackberry/ResourceRequestBlackBerry.cpp
-    platform/network/blackberry/ResourceResponseBlackBerry.cpp
-    platform/network/blackberry/SocketStreamHandleBlackBerry.cpp
-
-    platform/network/blackberry/rss/RSS10Parser.cpp
-    platform/network/blackberry/rss/RSS20Parser.cpp
-    platform/network/blackberry/rss/RSSAtomParser.cpp
-    platform/network/blackberry/rss/RSSFilterStream.cpp
-    platform/network/blackberry/rss/RSSGenerator.cpp
-    platform/network/blackberry/rss/RSSParserBase.cpp
-)
-
-list(APPEND WebCore_USER_AGENT_STYLE_SHEETS
-    ${WEBCORE_DIR}/css/mediaControlsBlackBerry.css
-    ${WEBCORE_DIR}/css/mediaControlsBlackBerryFullscreen.css
-    ${WEBCORE_DIR}/css/themeBlackBerry.css
-)
-
-list(APPEND WebCore_INCLUDE_DIRECTORIES
-    &quot;${WEBCORE_DIR}/bridge/blackberry&quot;
-    &quot;${WEBCORE_DIR}/history/blackberry&quot;
-    &quot;${WEBCORE_DIR}/page/blackberry&quot;
-    &quot;${WEBCORE_DIR}/page/scrolling/blackberry&quot;
-    &quot;${WEBCORE_DIR}/platform/blackberry&quot;
-    &quot;${WEBCORE_DIR}/platform/graphics/blackberry&quot;
-    &quot;${WEBCORE_DIR}/platform/image-decoders/bmp&quot;
-    &quot;${WEBCORE_DIR}/platform/image-decoders/gif&quot;
-    &quot;${WEBCORE_DIR}/platform/image-decoders/ico&quot;
-    &quot;${WEBCORE_DIR}/platform/image-decoders/jpeg&quot;
-    &quot;${WEBCORE_DIR}/platform/image-decoders/png&quot;
-    &quot;${WEBCORE_DIR}/platform/image-encoders&quot;
-    &quot;${WEBCORE_DIR}/platform/network/blackberry&quot;
-    &quot;${WEBCORE_DIR}/platform/text/blackberry&quot;
-    &quot;${WEBKIT_DIR}/blackberry/Api&quot;
-    &quot;${WEBKIT_DIR}/blackberry/WebCoreSupport&quot;
-    &quot;${WEBKIT_DIR}/blackberry/WebKitSupport&quot;
-)
-
-# BlackBerry sources
-list(APPEND WebCore_SOURCES
-    editing/blackberry/SmartReplaceBlackBerry.cpp
-
-    html/shadow/MediaControlsBlackBerry.cpp
-
-    page/blackberry/AccessibilityObjectBlackBerry.cpp
-    page/blackberry/DragControllerBlackBerry.cpp
-    page/blackberry/EventHandlerBlackBerry.cpp
-    page/blackberry/SettingsBlackBerry.cpp
-
-    platform/blackberry/CursorBlackBerry.cpp
-    platform/blackberry/DragDataBlackBerry.cpp
-    platform/blackberry/DragImageBlackBerry.cpp
-    platform/blackberry/EventLoopBlackBerry.cpp
-    platform/blackberry/LocalizedStringsBlackBerry.cpp
-    platform/blackberry/LoggingBlackBerry.cpp
-    platform/blackberry/MIMETypeRegistryBlackBerry.cpp
-    platform/blackberry/PasteboardBlackBerry.cpp
-    platform/blackberry/PlatformKeyboardEventBlackBerry.cpp
-    platform/blackberry/PlatformMouseEventBlackBerry.cpp
-    platform/blackberry/PlatformScreenBlackBerry.cpp
-    platform/blackberry/PlatformTouchEventBlackBerry.cpp
-    platform/blackberry/PlatformTouchPointBlackBerry.cpp
-    platform/blackberry/PopupMenuBlackBerry.cpp
-    platform/blackberry/RenderThemeBlackBerry.cpp
-    platform/blackberry/SSLKeyGeneratorBlackBerry.cpp
-    platform/blackberry/ScrollbarThemeBlackBerry.cpp
-    platform/blackberry/SearchPopupMenuBlackBerry.cpp
-    platform/blackberry/SharedTimerBlackBerry.cpp
-    platform/blackberry/SoundBlackBerry.cpp
-    platform/blackberry/TemporaryLinkStubs.cpp
-    platform/blackberry/WidgetBlackBerry.cpp
-
-    platform/graphics/blackberry/FloatPointBlackBerry.cpp
-    platform/graphics/blackberry/FloatRectBlackBerry.cpp
-    platform/graphics/blackberry/FloatSizeBlackBerry.cpp
-    platform/graphics/blackberry/IconBlackBerry.cpp
-    platform/graphics/blackberry/ImageBlackBerry.cpp
-    platform/graphics/blackberry/IntPointBlackBerry.cpp
-    platform/graphics/blackberry/IntRectBlackBerry.cpp
-    platform/graphics/blackberry/IntSizeBlackBerry.cpp
-    platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp
-
-    platform/text/blackberry/StringBlackBerry.cpp
-)
-
-# Credential Persistence sources
-list(APPEND WebCore_SOURCES
-    platform/network/blackberry/CredentialBackingStore.cpp
-    platform/network/blackberry/CredentialStorageBlackBerry.cpp
-)
-
-if (ENABLE_SMOOTH_SCROLLING)
-    list(APPEND WebCore_SOURCES
-        platform/blackberry/ScrollAnimatorBlackBerry.cpp
-    )
-endif ()
-
-if (ENABLE_REQUEST_ANIMATION_FRAME)
-    list(APPEND WebCore_SOURCES
-        platform/graphics/DisplayRefreshMonitor.cpp
-
-        platform/graphics/blackberry/DisplayRefreshMonitorBlackBerry.cpp
-    )
-endif ()
-
-if (ENABLE_WEBGL)
-    add_definitions(-DWTF_USE_OPENGL_ES_2=1)
-    list(APPEND WebCore_INCLUDE_DIRECTORIES
-        &quot;${WEBCORE_DIR}/platform/graphics/gpu&quot;
-        &quot;${WEBCORE_DIR}/platform/graphics/opengl&quot;
-    )
-    list(APPEND WebCore_SOURCES
-        platform/graphics/blackberry/DrawingBufferBlackBerry.cpp
-        platform/graphics/blackberry/GraphicsContext3DBlackBerry.cpp
-
-        platform/graphics/gpu/SharedGraphicsContext3D.cpp
-
-        platform/graphics/opengl/Extensions3DOpenGLCommon.cpp
-        platform/graphics/opengl/Extensions3DOpenGLES.cpp
-        platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp
-        platform/graphics/opengl/GraphicsContext3DOpenGLES.cpp
-        platform/graphics/opengl/TemporaryOpenGLSetting.cpp
-    )
-endif ()
-
-if (ENABLE_MEDIA_STREAM)
-    list(APPEND WebCore_SOURCES
-        platform/mediastream/blackberry/MediaStreamCenterBlackBerry.cpp
-    )
-endif ()
-
-if (ENABLE_NETSCAPE_PLUGIN_API)
-    list(APPEND WebCore_SOURCES
-        plugins/blackberry/NPCallbacksBlackBerry.cpp
-        plugins/blackberry/PluginPackageBlackBerry.cpp
-        plugins/blackberry/PluginViewBlackBerry.cpp
-        plugins/blackberry/PluginViewPrivateBlackBerry.cpp
-    )
-else ()
-    list(APPEND WebCore_SOURCES
-        plugins/PluginDataNone.cpp
-    )
-endif ()
-
-if (ENABLE_TEXT_AUTOSIZING)
-    list(APPEND WebCore_SOURCES
-        rendering/TextAutosizer.cpp
-    )
-endif ()
-
-# To speed up linking when working on accel comp, you can move this whole chunk
-# to Source/WebKit/blackberry/CMakeListsBlackBerry.txt.
-# Append to WebKit_SOURCES instead of WebCore_SOURCES.
-if (WTF_USE_ACCELERATED_COMPOSITING)
-    list(APPEND WebCore_SOURCES
-        platform/graphics/GraphicsLayer.cpp
-        platform/graphics/GraphicsLayerUpdater.cpp
-
-        platform/graphics/blackberry/CanvasLayerWebKitThread.cpp
-        platform/graphics/blackberry/EGLImageLayerCompositingThreadClient.cpp
-        platform/graphics/blackberry/EGLImageLayerWebKitThread.cpp
-        platform/graphics/blackberry/GraphicsLayerBlackBerry.cpp
-        platform/graphics/blackberry/LayerAnimation.cpp
-        platform/graphics/blackberry/LayerCompositingThread.cpp
-        platform/graphics/blackberry/LayerFilterRenderer.cpp
-        platform/graphics/blackberry/LayerRenderer.cpp
-        platform/graphics/blackberry/LayerRendererSurface.cpp
-        platform/graphics/blackberry/LayerTexture.cpp
-        platform/graphics/blackberry/LayerTile.cpp
-        platform/graphics/blackberry/LayerTiler.cpp
-        platform/graphics/blackberry/LayerWebKitThread.cpp
-        platform/graphics/blackberry/PluginLayerWebKitThread.cpp
-        platform/graphics/blackberry/TextureCacheCompositingThread.cpp
-        platform/graphics/blackberry/WebGLLayerWebKitThread.cpp
-
-        rendering/RenderLayerBacking.cpp
-        rendering/RenderLayerCompositor.cpp
-    )
-endif ()
-
-set(ENV{WEBKITDIR} ${CMAKE_SOURCE_DIR}/Source)
-set(ENV{PLATFORMNAME} ${CMAKE_SYSTEM_NAME})
-execute_process(
-    COMMAND hostname
-    OUTPUT_VARIABLE host
-)
-string(REPLACE &quot;\n&quot; &quot;&quot; host1 &quot;${host}&quot;)
-set(ENV{COMPUTERNAME} ${host1})
-
-if ($ENV{PUBLIC_BUILD})
-    add_definitions(-DPUBLIC_BUILD=$ENV{PUBLIC_BUILD})
-endif ()
-
-# Generate contents for PopupPicker.cpp
-set(WebCore_POPUP_CSS_AND_JS
-    ${WEBCORE_DIR}/Resources/blackberry/popupControlBlackBerry.css
-    ${WEBCORE_DIR}/Resources/blackberry/selectControlBlackBerry.css
-    ${WEBCORE_DIR}/Resources/blackberry/selectControlBlackBerry.js
-)
-
-add_custom_command(
-    OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/PopupPicker.h ${DERIVED_SOURCES_WEBCORE_DIR}/PopupPicker.cpp
-    MAIN_DEPENDENCY ${WEBCORE_DIR}/make-file-arrays.py
-    DEPENDS ${WebCore_POPUP_CSS_AND_JS}
-    COMMAND ${PYTHON_EXECUTABLE} ${WEBCORE_DIR}/make-file-arrays.py --out-h=${DERIVED_SOURCES_WEBCORE_DIR}/PopupPicker.h --out-cpp=${DERIVED_SOURCES_WEBCORE_DIR}/PopupPicker.cpp ${WebCore_POPUP_CSS_AND_JS}
-)
-list(APPEND WebCore_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/PopupPicker.cpp)
-
-set(CMAKE_C_ARCHIVE_CREATE &quot;&lt;CMAKE_AR&gt; &lt;LINK_FLAGS&gt; cruT &lt;TARGET&gt; &lt;OBJECTS&gt;&quot;)
-set(CMAKE_C_ARCHIVE_APPEND &quot;&lt;CMAKE_AR&gt; &lt;LINK_FLAGS&gt; ruT &lt;TARGET&gt; &lt;OBJECTS&gt;&quot;)
-set(CMAKE_CXX_ARCHIVE_CREATE &quot;&lt;CMAKE_AR&gt; &lt;LINK_FLAGS&gt; cruT &lt;TARGET&gt; &lt;OBJECTS&gt;&quot;)
-set(CMAKE_CXX_ARCHIVE_APPEND &quot;&lt;CMAKE_AR&gt; &lt;LINK_FLAGS&gt; ruT &lt;TARGET&gt; &lt;OBJECTS&gt;&quot;)
</del></span></pre></div>
<a id="trunkSourceWebCorecssmediaControlsBlackBerrycss"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/css/mediaControlsBlackBerry.css (161606 => 161607)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/mediaControlsBlackBerry.css        2014-01-10 01:18:18 UTC (rev 161606)
+++ trunk/Source/WebCore/css/mediaControlsBlackBerry.css        2014-01-10 01:24:53 UTC (rev 161607)
</span><span class="lines">@@ -1,190 +0,0 @@
</span><del>-/*
- * BlackBerry specific overrides for HTML5 media elements.
- *
- * Copyright (C) 2009 Apple Inc.  All rights reserved.
- * Copyright (C) 2010, 2011, 2012 Research In Motion Limited. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
- /* BlackBerry default media controls. */
-
-audio {
-    background-color: rgba(38, 38, 38, 0.8);
-    width: 300px;
-    height: 32px;
-}
-
-audio::-webkit-media-controls-embedded-panel, video::-webkit-media-controls-embedded-panel {
-    display: -webkit-flex;
-    -webkit-flex-direction: row;
-    -webkit-align-items: center;
-    position: absolute;
-    bottom: 0;
-    width: 100%;
-    height: auto;
-    background-color: rgba(38, 38, 38, 0.8);
-}
-
-audio::-webkit-media-controls-panel, video::-webkit-media-controls-panel {
-    display: none;
-}
-
-video::-webkit-media-controls-button-group-container, audio::-webkit-media-controls-button-group-container {
-    display: none;
-}
-
-video::-webkit-media-controls-fullscreen-time-display-container, audio::-webkit-media-controls-fullscreen-time-display-container {
-    display: none;
-}
-
-video::-webkit-media-controls-time-display-container, audio::-webkit-media-controls-time-display-container {
-    -webkit-appearance: media-controls-background;
-    display: -webkit-flex;
-    -webkit-flex-direction: row;
-    -webkit-align-items: center;
-    -webkit-justify-content: space-between;
-    -webkit-flex: 1 1;
-}
-
-video::-webkit-media-controls-fullscreen-play-button, audio::-webkit-media-controls-fullscreen-play-button {
-    display: none;
-}
-
-video::-webkit-media-controls-play-button, audio::-webkit-media-controls-play-button {
-    -webkit-appearance: media-play-button;
-    display: -webkit-flex;
-}
-
-audio::-webkit-media-controls-fullscreen-timeline-container, video::-webkit-media-controls-fullscreen-timeline-container {
-    display: none;
-}
-
-video::-webkit-media-controls-timeline-container, audio::-webkit-media-controls-timeline-container {
-    -webkit-appearance: media-controls-background;
-    display: -webkit-flex;
-    -webkit-flex-direction: column;
-    -webkit-align-items: stretch;
-    -webkit-justify-content: center;
-    -webkit-flex: 1 1;
-    height: auto;
-    width: 100%;
-}
-
-audio::-webkit-media-controls-fullscreen-current-time-display, video::-webkit-media-controls-fullscreen-current-time-display {
-    display: none;
-}
-
-audio::-webkit-media-controls-current-time-display, video::-webkit-media-controls-current-time-display {
-    -webkit-appearance: media-current-time-display;
-    display: -webkit-flex;
-    -webkit-flex-direction: row;
-    -webkit-align-items: center;
-    -webkit-justify-content: flex-end;
-    -webkit-flex: 0 0;
-    color: #fafafa;
-}
-
-video::-webkit-media-controls-fullscreen-time-remaining-display, audio::-webkit-media-controls-fullscreen-time-remaining-display {
-    display: none;
-}
-
-video::-webkit-media-controls-time-remaining-display, audio::-webkit-media-controls-time-remaining-display {
-    -webkit-appearance: media-time-remaining-display;
-    display: -webkit-flex;
-    -webkit-flex-direction: row;
-    -webkit-align-items: center;
-    -webkit-justify-content: flex-end;
-    -webkit-flex: 0 0;
-    color: rgb(125, 125, 125);
-}
-
-audio::-webkit-media-controls-fullscreen-timeline, video::-webkit-media-controls-fullscreen-timeline {
-    display: none;
-}
-
-audio::-webkit-media-controls-timeline, video::-webkit-media-controls-timeline {
-    -webkit-appearance: media-slider;
-    display: -webkit-flex;
-    -webkit-flex: 1 1;
-    margin-bottom: 2px;
-}
-
-video::-webkit-media-controls-fullscreen-fullscreen-button, audio::-webkit-media-controls-fullscreen-fullscreen-button {
-    display: none;
-}
-
-video::-webkit-media-controls-fullscreen-button {
-    -webkit-appearance: media-enter-fullscreen-button;
-    display: -webkit-flex;
-}
-
-audio::-webkit-media-controls-fullscreen-button {
-    display: none;
-}
-
-audio::-webkit-media-controls-audio-mute-button {
-    -webkit-appearance: media-mute-button;
-    display: -webkit-flex;
-}
-
-video::-webkit-media-controls-audio-mute-button {
-    display: none;
-}
-
-audio::-webkit-media-controls-volume-slider-container {
-    -webkit-appearance: media-volume-slider-container;
-    display: -webkit-flex;
-    -webkit-flex-direction: column;
-    -webkit-align-items: center;
-    -webkit-justify-content: flex-end;
-    -webkit-flex: 1 1;
-    -webkit-user-select: none;
-    position: absolute;
-    left: 0px;
-    right: 0px;
-    background-color: rgba(38, 38, 38, 0.8);
-}
-
-video::-webkit-media-controls-volume-slider-container {
-    display: none;
-}
-
-audio::-webkit-media-controls-volume-slider {
-     -webkit-appearance: media-volume-slider;
-     display: -webkit-flex;
-     -webkit-flex: 1 1;
-    position: absolute;
-    left: 3%;
-    right: 3%;
-}
-
-video::-webkit-media-controls-volume-slider {
-    display: none;
-}
-
-video::-webkit-media-controls-fullscreen-button-divider, audio::-webkit-media-controls-fullscreen-button-divider {
-    display: none;
-}
-
-video::-webkit-media-controls-fullscreen-button-container, video::-webkit-media-controls-play-button-container, audio::-webkit-media-controls-fullscreen-button-container, audio::-webkit-media-controls-play-button-container {
-    display: none;
-}
</del></span></pre></div>
<a id="trunkSourceWebCorecssmediaControlsBlackBerryFullscreencss"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/css/mediaControlsBlackBerryFullscreen.css (161606 => 161607)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/mediaControlsBlackBerryFullscreen.css        2014-01-10 01:18:18 UTC (rev 161606)
+++ trunk/Source/WebCore/css/mediaControlsBlackBerryFullscreen.css        2014-01-10 01:24:53 UTC (rev 161607)
</span><span class="lines">@@ -1,182 +0,0 @@
</span><del>-/*
- * BlackBerry specific overrides for HTML5 media elements.
- *
- * Copyright (C) 2009 Apple Inc.  All rights reserved.
- * Copyright (C) 2010, 2011, 2012 Research In Motion Limited. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
- /* BlackBerry fullscreen video controls. */
-
-body:-webkit-full-page-media {
-    background-color: rgb(0, 0, 0);
-}
-
-video:-webkit-full-screen::-webkit-media-controls-embedded-panel {
-    display: none;
-}
-
-video:-webkit-full-screen::-webkit-media-controls-panel {
-    display: -webkit-flex;
-    -webkit-flex-direction: column;
-    -webkit-align-items: stretch;
-    position: absolute;
-    bottom: 0px;
-    width: 100%;
-    height: auto;
-    background-color: rgba(38, 38, 38, 0.8);
-    color: rgb(250, 250, 250);
-}
-
-video:-webkit-full-screen::-webkit-media-controls-button-group-container {
-    -webkit-appearance: media-controls-background;
-    display: -webkit-flex;
-    -webkit-flex-direction: row;
-    -webkit-align-items: center;
-    -webkit-justify-content: space-between;
-    -webkit-flex: 1;
-    background-color: rgb(0, 0, 0);
-}
-
-video:-webkit-full-screen::-webkit-media-controls-fullscreen-time-display-container {
-    -webkit-appearance: media-controls-background;
-    display: -webkit-flex;
-    -webkit-flex-direction: row;
-    -webkit-align-items: center;
-    -webkit-justify-content: space-between;
-    -webkit-flex: 1;
-}
-
-video:-webkit-full-screen::-webkit-media-controls-time-display-container {
-    display: none;
-}
-
-video:-webkit-full-screen::-webkit-media-controls-fullscreen-play-button {
-    -webkit-appearance: media-play-button;
-    display: -webkit-flex;
-}
-
-video:-webkit-full-screen::-webkit-media-controls-play-button {
-    display: none;
-}
-
-video:-webkit-full-screen::-webkit-media-controls-fullscreen-timeline-container {
-    -webkit-appearance: media-controls-background;
-    display: -webkit-flex;
-    -webkit-flex-direction: column;
-    -webkit-align-items: stretch;
-    -webkit-justify-content: center;
-    -webkit-flex: 1;
-    height: auto;
-    width: 100%;
-}
-
-video:-webkit-full-screen::-webkit-media-controls-timeline-container {
-    display: none;
-}
-
-video:-webkit-full-screen::-webkit-media-controls-fullscreen-current-time-display {
-    -webkit-appearance: media-current-time-display;
-    display: -webkit-flex;
-    -webkit-flex-direction: row;
-    -webkit-align-items: center;
-    -webkit-justify-content: flex-end;
-    -webkit-flex: 0;
-}
-
-video:-webkit-full-screen::-webkit-media-controls-current-time-display {
-    display: none;
-}
-
-video:-webkit-full-screen::-webkit-media-controls-fullscreen-time-remaining-display {
-    -webkit-appearance: media-time-remaining-display;
-    display: -webkit-flex;
-    -webkit-flex-direction: row;
-    -webkit-align-items: center;
-    -webkit-justify-content: flex-end;
-    -webkit-flex: 0;
-    color: rgb(125, 125, 125);
-}
-
-video:-webkit-full-screen::-webkit-media-controls-time-remaining-display {
-    display: none;
-}
-
-video:-webkit-full-screen::-webkit-media-controls-fullscreen-timeline {
-    -webkit-appearance: media-slider;
-    display: -webkit-flex;
-    -webkit-flex: 1;
-}
-
-video:-webkit-full-screen::-webkit-media-controls-timeline {
-    display: none;
-}
-
-video:-webkit-full-screen::-webkit-media-controls-fullscreen-fullscreen-button {
-    -webkit-appearance: media-exit-fullscreen-button;
-    display: -webkit-flex;
-}
-
-video:-webkit-full-screen::-webkit-media-controls-fullscreen-button {
-    display: none;
-}
-
-video:-webkit-full-screen::-webkit-media-controls-audio-mute-button {
-    display: none;
-}
-
-video:-webkit-full-screen::-webkit-media-controls-volume-slider-container {
-    display: none;
-}
-
-video:-webkit-full-screen::-webkit-media-controls-volume-slider {
-    display: none;
-}
-
-video:-webkit-full-screen::-webkit-media-controls-fullscreen-button-divider {
-    -webkit-appearance: media-rewind-button;
-    display: -webkit-flex;
-}
-
-video:-webkit-full-screen::-webkit-media-controls-fullscreen-button-container, video:-webkit-full-screen::-webkit-media-controls-play-button-container {
-    -webkit-appearance: media-controls-background;
-    display: -webkit-flex;
-    -webkit-flex-direction: row;
-    -webkit-align-items: center;
-    -webkit-flex: 1;
-    min-width: 100%;
-}
-
-video:-webkit-full-screen::-webkit-media-controls-fullscreen-button-container {
-    -webkit-justify-content: flex-start;
-}
-
-video:-webkit-full-screen::-webkit-media-controls-play-button-container {
-    -webkit-justify-content: center;
-}
-
-video:-webkit-full-screen::-webkit-media-controls-placeholder {
-    -webkit-appearance: media-controls-background;
-    display: -webkit-flex;
-    -webkit-flex: 1;
-    min-width: 100%;
-}
</del></span></pre></div>
<a id="trunkSourceWebCorecssthemeBlackBerrycss"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/css/themeBlackBerry.css (161606 => 161607)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/themeBlackBerry.css        2014-01-10 01:18:18 UTC (rev 161606)
+++ trunk/Source/WebCore/css/themeBlackBerry.css        2014-01-10 01:24:53 UTC (rev 161607)
</span><span class="lines">@@ -1,108 +0,0 @@
</span><del>-/*
- * Copyright (C) 2009, 2010, 2011, 2012 Research In Motion Limited. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
- */
-
-textarea {
-    font-family: monospace;
-}
-
-select {
-    border-radius: 0;
-}
-
-select[size=&quot;0&quot;],
-select[size=&quot;1&quot;] {
-    border-radius: 0;
-}
-
-::-webkit-validation-bubble-message {
-    padding-left: 10px;
-    padding-right: 10px;
-    background: #fafafa;
-    border-color: #ffffff;
-    border-width: 1px;
-    box-shadow: 2px 2px 4px rgba(100,100,100,0.3), 0 0 4px rgba(100,100,100,0.6);
-    -webkit-border-radius: 4px;
-    top: -1px;
-}
-
-::-webkit-validation-bubble-arrow {
-    left: 40px;
-    top: 3px;
-    background: #fafafa;
-    border-color: #ffffff;
-    border-width: 1px;
-    box-shadow: 0 0 4px rgba(100,100,100,0.6);
-}
-
-::-webkit-validation-bubble-heading {
-    font-weight: normal;
-}
-
-
-/* Suggestion Box */
-
-input::-webkit-suggestion-dropdown-box {
-    position: absolute;
-    z-index: 2147483647;
-    opacity: 0.98;
-    max-height: 200px;
-    overflow-y: scroll;
-    overflow-x: hidden;
-    border: 1px solid #e0e0e0;
-    border-top: none;
-    background-color: #fcfcfc;
-    -webkit-box-shadow: 0px 5px 5px -2px #606060 inset;
-    -webkit-box-shadow: 2px 0px 8px -5px #AEAEAE;
-}
-
-input::-webkit-suggestion-dropdown-box-item {
-    display: block;
-    width: 100%;
-    padding: 10px 5px;
-    color: #363636;
-    text-decoration: none;
-    border-bottom: 1px solid #e8e8e8;
-    text-overflow: -blackberry-fade;
-    overflow: hidden;
-}
-
-input::-webkit-suggestion-prefix-text {
-    font-weight: bold;
-}
-
-input::-webkit-suggestion-dropdown-box-item-last {
-    display: block;
-    width: 100%;
-    padding: 10px 5px;
-    color: #363636;
-    text-decoration: none;
-    text-overflow: -blackberry-fade;
-    overflow: hidden;
-    border-bottom: none;
-}
-
-input[type=&quot;date&quot;], input[type=&quot;datetime&quot;], input[type=&quot;datetime-local&quot;], input[type=&quot;time&quot;], input[type=&quot;month&quot;] {
-    font-family: &quot;Slate Pro&quot;;
-    -webkit-appearance: button;
-    text-align: center;
-    width:auto;
-}
-
-input::-webkit-date-and-time-value {
-    margin: 1px 6px 1px 6px;
-}
</del></span></pre></div>
<a id="trunkSourceWebCorehtmlshadowMediaControlsBlackBerrycpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/html/shadow/MediaControlsBlackBerry.cpp (161606 => 161607)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/shadow/MediaControlsBlackBerry.cpp        2014-01-10 01:18:18 UTC (rev 161606)
+++ trunk/Source/WebCore/html/shadow/MediaControlsBlackBerry.cpp        2014-01-10 01:24:53 UTC (rev 161607)
</span><span class="lines">@@ -1,1102 +0,0 @@
</span><del>-/*
- * Copyright (C) 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
- * Copyright (C) 2011 Google Inc. All rights reserved.
- * Copyright (C) 2012 Research In Motion Limited. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include &quot;config.h&quot;
-
-#if ENABLE(VIDEO)
-#include &quot;MediaControlsBlackBerry.h&quot;
-
-#include &quot;DOMTokenList.h&quot;
-#include &quot;ExceptionCodePlaceholder.h&quot;
-#include &quot;Frame.h&quot;
-#include &quot;HTMLNames.h&quot;
-#include &quot;RenderDeprecatedFlexibleBox.h&quot;
-#include &quot;RenderSlider.h&quot;
-#include &quot;Settings.h&quot;
-
-using namespace std;
-
-namespace WebCore {
-
-using namespace HTMLNames;
-
-static const double timeWithoutMouseMovementBeforeHidingControls = 3;
-
-inline MediaControlButtonGroupContainerElement::MediaControlButtonGroupContainerElement(Document* document)
-    : MediaControlDivElement(document, MediaControlsPanel)
-{
-}
-
-PassRefPtr&lt;MediaControlButtonGroupContainerElement&gt; MediaControlButtonGroupContainerElement::create(Document* document)
-{
-    RefPtr&lt;MediaControlButtonGroupContainerElement&gt; element = adoptRef(new MediaControlButtonGroupContainerElement(document));
-    return element.release();
-}
-
-const AtomicString&amp; MediaControlButtonGroupContainerElement::shadowPseudoId() const
-{
-    DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-controls-button-group-container&quot;, AtomicString::ConstructFromLiteral));
-    return id;
-}
-
-inline MediaControlTimeDisplayContainerElement::MediaControlTimeDisplayContainerElement(Document* document)
-    : MediaControlDivElement(document, MediaControlsPanel)
-{
-}
-
-PassRefPtr&lt;MediaControlTimeDisplayContainerElement&gt; MediaControlTimeDisplayContainerElement::create(Document* document)
-{
-    RefPtr&lt;MediaControlTimeDisplayContainerElement&gt; element = adoptRef(new MediaControlTimeDisplayContainerElement(document));
-    return element.release();
-}
-
-const AtomicString&amp; MediaControlTimeDisplayContainerElement::shadowPseudoId() const
-{
-    DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-controls-time-display-container&quot;, AtomicString::ConstructFromLiteral));
-    return id;
-}
-
-MediaControlEmbeddedPanelElement::MediaControlEmbeddedPanelElement(Document* document)
-    : MediaControlDivElement(document, MediaControlsPanel)
-    , m_canBeDragged(false)
-    , m_isBeingDragged(false)
-    , m_isDisplayed(false)
-    , m_opaque(true)
-    , m_transitionTimer(this, &amp;MediaControlEmbeddedPanelElement::transitionTimerFired)
-{
-}
-
-PassRefPtr&lt;MediaControlEmbeddedPanelElement&gt; MediaControlEmbeddedPanelElement::create(Document* document)
-{
-    return adoptRef(new MediaControlEmbeddedPanelElement(document));
-}
-
-const AtomicString&amp; MediaControlEmbeddedPanelElement::shadowPseudoId() const
-{
-    DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-controls-embedded-panel&quot;, AtomicString::ConstructFromLiteral));
-    return id;
-}
-
-void MediaControlEmbeddedPanelElement::startDrag(const LayoutPoint&amp; eventLocation)
-{
-    if (!m_canBeDragged)
-        return;
-
-    if (m_isBeingDragged)
-        return;
-
-    RenderObject* renderer = this-&gt;renderer();
-    if (!renderer || !renderer-&gt;isBox())
-        return;
-
-    Frame* frame = document()-&gt;frame();
-    if (!frame)
-        return;
-
-    m_lastDragEventLocation = eventLocation;
-
-    frame-&gt;eventHandler().setCapturingMouseEventsNode(this);
-
-    m_isBeingDragged = true;
-}
-
-void MediaControlEmbeddedPanelElement::continueDrag(const LayoutPoint&amp; eventLocation)
-{
-    if (!m_isBeingDragged)
-        return;
-
-    LayoutSize distanceDragged = eventLocation - m_lastDragEventLocation;
-    m_cumulativeDragOffset.move(distanceDragged);
-    m_lastDragEventLocation = eventLocation;
-    setPosition(m_cumulativeDragOffset);
-}
-
-void MediaControlEmbeddedPanelElement::endDrag()
-{
-    if (!m_isBeingDragged)
-        return;
-
-    m_isBeingDragged = false;
-
-    Frame* frame = document()-&gt;frame();
-    if (!frame)
-        return;
-
-    frame-&gt;eventHandler().setCapturingMouseEventsNode(0);
-}
-
-void MediaControlEmbeddedPanelElement::startTimer()
-{
-    stopTimer();
-
-    // The timer is required to set the property display:'none' on the panel,
-    // such that captions are correctly displayed at the bottom of the video
-    // at the end of the fadeout transition.
-    double duration = document()-&gt;page() ? document()-&gt;page()-&gt;theme()-&gt;mediaControlsFadeOutDuration() : 0;
-    m_transitionTimer.startOneShot(duration);
-}
-
-void MediaControlEmbeddedPanelElement::stopTimer()
-{
-    if (m_transitionTimer.isActive())
-        m_transitionTimer.stop();
-}
-
-void MediaControlEmbeddedPanelElement::transitionTimerFired(Timer&lt;MediaControlEmbeddedPanelElement&gt;*)
-{
-    if (!m_opaque)
-        hide();
-
-    stopTimer();
-}
-
-void MediaControlEmbeddedPanelElement::setPosition(const LayoutPoint&amp; position)
-{
-    double left = position.x();
-    double top = position.y();
-
-    // Set the left and top to control the panel's position; this depends on it being absolute positioned.
-    // Set the margin to zero since the position passed in will already include the effect of the margin.
-    setInlineStyleProperty(CSSPropertyLeft, left, CSSPrimitiveValue::CSS_PX);
-    setInlineStyleProperty(CSSPropertyTop, top, CSSPrimitiveValue::CSS_PX);
-    setInlineStyleProperty(CSSPropertyMarginLeft, 0.0, CSSPrimitiveValue::CSS_PX);
-    setInlineStyleProperty(CSSPropertyMarginTop, 0.0, CSSPrimitiveValue::CSS_PX);
-
-    classList()-&gt;add(&quot;dragged&quot;, IGNORE_EXCEPTION);
-}
-
-void MediaControlEmbeddedPanelElement::resetPosition()
-{
-    removeInlineStyleProperty(CSSPropertyLeft);
-    removeInlineStyleProperty(CSSPropertyTop);
-    removeInlineStyleProperty(CSSPropertyMarginLeft);
-    removeInlineStyleProperty(CSSPropertyMarginTop);
-
-    classList()-&gt;remove(&quot;dragged&quot;, IGNORE_EXCEPTION);
-
-    m_cumulativeDragOffset.setX(0);
-    m_cumulativeDragOffset.setY(0);
-}
-
-void MediaControlEmbeddedPanelElement::makeOpaque()
-{
-    if (m_opaque)
-        return;
-
-    double duration = document()-&gt;page() ? document()-&gt;page()-&gt;theme()-&gt;mediaControlsFadeInDuration() : 0;
-
-    setInlineStyleProperty(CSSPropertyWebkitTransitionProperty, CSSPropertyOpacity);
-    setInlineStyleProperty(CSSPropertyWebkitTransitionDuration, duration, CSSPrimitiveValue::CSS_S);
-    setInlineStyleProperty(CSSPropertyOpacity, 1.0, CSSPrimitiveValue::CSS_NUMBER);
-
-    m_opaque = true;
-
-    if (m_isDisplayed)
-        show();
-}
-
-void MediaControlEmbeddedPanelElement::makeTransparent()
-{
-    if (!m_opaque)
-        return;
-
-    double duration = document()-&gt;page() ? document()-&gt;page()-&gt;theme()-&gt;mediaControlsFadeOutDuration() : 0;
-
-    setInlineStyleProperty(CSSPropertyWebkitTransitionProperty, CSSPropertyOpacity);
-    setInlineStyleProperty(CSSPropertyWebkitTransitionDuration, duration, CSSPrimitiveValue::CSS_S);
-    setInlineStyleProperty(CSSPropertyOpacity, 0.0, CSSPrimitiveValue::CSS_NUMBER);
-
-    m_opaque = false;
-    startTimer();
-}
-
-void MediaControlEmbeddedPanelElement::defaultEventHandler(Event* event)
-{
-    MediaControlDivElement::defaultEventHandler(event);
-
-    if (event-&gt;isMouseEvent()) {
-        LayoutPoint location = static_cast&lt;MouseEvent*&gt;(event)-&gt;absoluteLocation();
-        if (event-&gt;type() == eventNames().mousedownEvent &amp;&amp; event-&gt;target() == this) {
-            startDrag(location);
-            event-&gt;setDefaultHandled();
-        } else if (event-&gt;type() == eventNames().mousemoveEvent &amp;&amp; m_isBeingDragged)
-            continueDrag(location);
-        else if (event-&gt;type() == eventNames().mouseupEvent &amp;&amp; m_isBeingDragged) {
-            continueDrag(location);
-            endDrag();
-            event-&gt;setDefaultHandled();
-        }
-    }
-}
-
-void MediaControlEmbeddedPanelElement::setCanBeDragged(bool canBeDragged)
-{
-    if (m_canBeDragged == canBeDragged)
-        return;
-
-    m_canBeDragged = canBeDragged;
-
-    if (!canBeDragged)
-        endDrag();
-}
-
-void MediaControlEmbeddedPanelElement::setIsDisplayed(bool isDisplayed)
-{
-    m_isDisplayed = isDisplayed;
-}
-
-inline MediaControlFullscreenTimeDisplayContainerElement::MediaControlFullscreenTimeDisplayContainerElement(Document* document)
-    : MediaControlDivElement(document, MediaControlsPanel)
-{
-}
-
-PassRefPtr&lt;MediaControlFullscreenTimeDisplayContainerElement&gt; MediaControlFullscreenTimeDisplayContainerElement::create(Document* document)
-{
-    RefPtr&lt;MediaControlFullscreenTimeDisplayContainerElement&gt; element = adoptRef(new MediaControlFullscreenTimeDisplayContainerElement(document));
-    return element.release();
-}
-
-const AtomicString&amp; MediaControlFullscreenTimeDisplayContainerElement::shadowPseudoId() const
-{
-    DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-controls-fullscreen-time-display-container&quot;, AtomicString::ConstructFromLiteral));
-    return id;
-}
-
-inline MediaControlFullscreenButtonContainerElement::MediaControlFullscreenButtonContainerElement(Document* document)
-    : MediaControlDivElement(document, MediaControlsPanel)
-{
-}
-
-PassRefPtr&lt;MediaControlFullscreenButtonContainerElement&gt; MediaControlFullscreenButtonContainerElement::create(Document* document)
-{
-    RefPtr&lt;MediaControlFullscreenButtonContainerElement&gt; element = adoptRef(new MediaControlFullscreenButtonContainerElement(document));
-    return element.release();
-}
-
-const AtomicString&amp; MediaControlFullscreenButtonContainerElement::shadowPseudoId() const
-{
-    DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-controls-fullscreen-button-container&quot;, AtomicString::ConstructFromLiteral));
-    return id;
-}
-
-inline MediaControlFullscreenButtonDividerElement::MediaControlFullscreenButtonDividerElement(Document* document)
-    : MediaControlDivElement(document, MediaRewindButton)
-{
-}
-
-PassRefPtr&lt;MediaControlFullscreenButtonDividerElement&gt; MediaControlFullscreenButtonDividerElement::create(Document* document)
-{
-    RefPtr&lt;MediaControlFullscreenButtonDividerElement&gt; element = adoptRef(new MediaControlFullscreenButtonDividerElement(document));
-    return element.release();
-}
-
-const AtomicString&amp; MediaControlFullscreenButtonDividerElement::shadowPseudoId() const
-{
-    DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-controls-fullscreen-button-divider&quot;, AtomicString::ConstructFromLiteral));
-    return id;
-}
-
-inline MediaControlPlayButtonContainerElement::MediaControlPlayButtonContainerElement(Document* document)
-    : MediaControlDivElement(document, MediaControlsPanel)
-{
-}
-
-PassRefPtr&lt;MediaControlPlayButtonContainerElement&gt; MediaControlPlayButtonContainerElement::create(Document* document)
-{
-    RefPtr&lt;MediaControlPlayButtonContainerElement&gt; element = adoptRef(new MediaControlPlayButtonContainerElement(document));
-    return element.release();
-}
-
-const AtomicString&amp; MediaControlPlayButtonContainerElement::shadowPseudoId() const
-{
-    DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-controls-play-button-container&quot;, AtomicString::ConstructFromLiteral));
-    return id;
-}
-
-inline MediaControlPlaceholderElement::MediaControlPlaceholderElement(Document* document)
-    : MediaControlDivElement(document, MediaControlsPanel)
-{
-}
-
-PassRefPtr&lt;MediaControlPlaceholderElement&gt; MediaControlPlaceholderElement::create(Document* document)
-{
-    RefPtr&lt;MediaControlPlaceholderElement&gt; element = adoptRef(new MediaControlPlaceholderElement(document));
-    return element.release();
-}
-
-const AtomicString&amp; MediaControlPlaceholderElement::shadowPseudoId() const
-{
-    DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-controls-placeholder&quot;, AtomicString::ConstructFromLiteral));
-    return id;
-}
-
-inline MediaControlFullscreenPlayButtonElement::MediaControlFullscreenPlayButtonElement(Document* document)
-    : MediaControlInputElement(document, MediaPlayButton)
-{
-}
-
-PassRefPtr&lt;MediaControlFullscreenPlayButtonElement&gt; MediaControlFullscreenPlayButtonElement::create(Document* document)
-{
-    RefPtr&lt;MediaControlFullscreenPlayButtonElement&gt; button = adoptRef(new MediaControlFullscreenPlayButtonElement(document));
-    button-&gt;ensureUserAgentShadowRoot();
-    button-&gt;setType(&quot;button&quot;);
-    return button.release();
-}
-
-void MediaControlFullscreenPlayButtonElement::defaultEventHandler(Event* event)
-{
-    if (event-&gt;type() == eventNames().clickEvent) {
-        if (mediaController()-&gt;canPlay())
-            mediaController()-&gt;play();
-        else
-            mediaController()-&gt;pause();
-        updateDisplayType();
-        event-&gt;setDefaultHandled();
-    }
-    HTMLInputElement::defaultEventHandler(event);
-}
-
-void MediaControlFullscreenPlayButtonElement::updateDisplayType()
-{
-    setDisplayType(mediaController()-&gt;canPlay() ? MediaPlayButton : MediaPauseButton);
-}
-
-const AtomicString&amp; MediaControlFullscreenPlayButtonElement::shadowPseudoId() const
-{
-    DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-controls-fullscreen-play-button&quot;, AtomicString::ConstructFromLiteral));
-    return id;
-}
-
-inline MediaControlFullscreenFullscreenButtonElement::MediaControlFullscreenFullscreenButtonElement(Document* document)
-    : MediaControlInputElement(document, MediaExitFullscreenButton)
-{
-}
-
-PassRefPtr&lt;MediaControlFullscreenFullscreenButtonElement&gt; MediaControlFullscreenFullscreenButtonElement::create(Document* document)
-{
-    RefPtr&lt;MediaControlFullscreenFullscreenButtonElement&gt; button = adoptRef(new MediaControlFullscreenFullscreenButtonElement(document));
-    button-&gt;ensureUserAgentShadowRoot();
-    button-&gt;setType(&quot;button&quot;);
-    button-&gt;hide();
-    return button.release();
-}
-
-void MediaControlFullscreenFullscreenButtonElement::defaultEventHandler(Event* event)
-{
-    if (event-&gt;type() == eventNames().clickEvent) {
-#if ENABLE(FULLSCREEN_API)
-        // Only use the new full screen API if the fullScreenEnabled setting has 
-        // been explicitly enabled. Otherwise, use the old fullscreen API. This
-        // allows apps which embed a WebView to retain the existing full screen
-        // video implementation without requiring them to implement their own full 
-        // screen behavior.
-        if (document()-&gt;settings() &amp;&amp; document()-&gt;settings()-&gt;fullScreenEnabled()) {
-            if (document()-&gt;webkitIsFullScreen() &amp;&amp; document()-&gt;webkitCurrentFullScreenElement() == parentMediaElement(this))
-                document()-&gt;webkitCancelFullScreen();
-            else
-                document()-&gt;requestFullScreenForElement(parentMediaElement(this), 0, Document::ExemptIFrameAllowFullScreenRequirement);
-        } else
-#endif
-            mediaController()-&gt;enterFullscreen();
-        event-&gt;setDefaultHandled();
-    }
-    HTMLInputElement::defaultEventHandler(event);
-}
-
-const AtomicString&amp; MediaControlFullscreenFullscreenButtonElement::shadowPseudoId() const
-{
-    DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-controls-fullscreen-fullscreen-button&quot;, AtomicString::ConstructFromLiteral));
-    return id;
-}
-
-void MediaControlFullscreenFullscreenButtonElement::setIsFullscreen(bool)
-{
-    setDisplayType(MediaExitFullscreenButton);
-}
-
-inline MediaControlFullscreenTimelineContainerElement::MediaControlFullscreenTimelineContainerElement(Document* document)
-    : MediaControlDivElement(document, MediaTimelineContainer)
-{
-}
-
-PassRefPtr&lt;MediaControlFullscreenTimelineContainerElement&gt; MediaControlFullscreenTimelineContainerElement::create(Document* document)
-{
-    RefPtr&lt;MediaControlFullscreenTimelineContainerElement&gt; element = adoptRef(new MediaControlFullscreenTimelineContainerElement(document));
-    element-&gt;hide();
-    return element.release();
-}
-
-const AtomicString&amp; MediaControlFullscreenTimelineContainerElement::shadowPseudoId() const
-{
-    DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-controls-fullscreen-timeline-container&quot;, AtomicString::ConstructFromLiteral));
-    return id;
-}
-
-MediaControlFullscreenTimelineElement::MediaControlFullscreenTimelineElement(Document* document, MediaControls* controls)
-    : MediaControlInputElement(document, MediaSlider)
-    , m_controls(controls)
-{
-}
-
-PassRefPtr&lt;MediaControlFullscreenTimelineElement&gt; MediaControlFullscreenTimelineElement::create(Document* document, MediaControls* controls)
-{
-    ASSERT(controls);
-
-    RefPtr&lt;MediaControlFullscreenTimelineElement&gt; timeline = adoptRef(new MediaControlFullscreenTimelineElement(document, controls));
-    timeline-&gt;ensureUserAgentShadowRoot();
-    timeline-&gt;setType(&quot;range&quot;);
-    timeline-&gt;setAttribute(precisionAttr, &quot;double&quot;);
-    return timeline.release();
-}
-
-void MediaControlFullscreenTimelineElement::defaultEventHandler(Event* event)
-{
-    // Left button is 0. Rejects mouse events not from left button.
-    if (event-&gt;isMouseEvent() &amp;&amp; static_cast&lt;MouseEvent*&gt;(event)-&gt;button())
-        return;
-
-    if (!attached())
-        return;
-
-    if (event-&gt;type() == eventNames().mousedownEvent)
-        mediaController()-&gt;beginScrubbing();
-
-    if (event-&gt;type() == eventNames().mouseupEvent)
-        mediaController()-&gt;endScrubbing();
-
-    MediaControlInputElement::defaultEventHandler(event);
-
-    if (event-&gt;type() == eventNames().mouseoverEvent || event-&gt;type() == eventNames().mouseoutEvent || event-&gt;type() == eventNames().mousemoveEvent)
-        return;
-
-    double time = value().toDouble();
-    if (event-&gt;type() == eventNames().inputEvent &amp;&amp; time != mediaController()-&gt;currentTime())
-        mediaController()-&gt;setCurrentTime(time, IGNORE_EXCEPTION);
-
-    RenderSlider* slider = toRenderSlider(renderer());
-    if (slider &amp;&amp; slider-&gt;inDragMode())
-        m_controls-&gt;updateCurrentTimeDisplay();
-}
-
-bool MediaControlFullscreenTimelineElement::willRespondToMouseClickEvents()
-{
-    if (!attached())
-        return false;
-
-    return true;
-}
-
-void MediaControlFullscreenTimelineElement::setPosition(double currentTime)
-{
-    setValue(String::number(currentTime));
-}
-
-void MediaControlFullscreenTimelineElement::setDuration(double duration)
-{
-    setAttribute(maxAttr, String::number(std::isfinite(duration) ? duration : 0));
-}
-
-const AtomicString&amp; MediaControlFullscreenTimelineElement::shadowPseudoId() const
-{
-    DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-controls-fullscreen-timeline&quot;, AtomicString::ConstructFromLiteral));
-    return id;
-}
-
-PassRefPtr&lt;MediaControlFullscreenTimeRemainingDisplayElement&gt; MediaControlFullscreenTimeRemainingDisplayElement::create(Document* document)
-{
-    return adoptRef(new MediaControlFullscreenTimeRemainingDisplayElement(document));
-}
-
-MediaControlFullscreenTimeRemainingDisplayElement::MediaControlFullscreenTimeRemainingDisplayElement(Document* document)
-    : MediaControlTimeDisplayElement(document, MediaTimeRemainingDisplay)
-{
-}
-
-const AtomicString&amp; MediaControlFullscreenTimeRemainingDisplayElement::shadowPseudoId() const
-{
-    DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-controls-fullscreen-time-remaining-display&quot;, AtomicString::ConstructFromLiteral));
-    return id;
-}
-
-PassRefPtr&lt;MediaControlFullscreenCurrentTimeDisplayElement&gt; MediaControlFullscreenCurrentTimeDisplayElement::create(Document* document)
-{
-    return adoptRef(new MediaControlFullscreenCurrentTimeDisplayElement(document));
-}
-
-MediaControlFullscreenCurrentTimeDisplayElement::MediaControlFullscreenCurrentTimeDisplayElement(Document* document)
-    : MediaControlTimeDisplayElement(document, MediaCurrentTimeDisplay)
-{
-}
-
-const AtomicString&amp; MediaControlFullscreenCurrentTimeDisplayElement::shadowPseudoId() const
-{
-    DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-controls-fullscreen-current-time-display&quot;, AtomicString::ConstructFromLiteral));
-    return id;
-}
-
-MediaControlAudioMuteButtonElement::MediaControlAudioMuteButtonElement(Document* document, MediaControls* controls)
-    : MediaControlMuteButtonElement(document, MediaMuteButton)
-    , m_controls(controls)
-{
-}
-
-PassRefPtr&lt;MediaControlAudioMuteButtonElement&gt; MediaControlAudioMuteButtonElement::create(Document* document, MediaControls* controls)
-{
-    ASSERT(controls);
-
-    RefPtr&lt;MediaControlAudioMuteButtonElement&gt; button = adoptRef(new MediaControlAudioMuteButtonElement(document, controls));
-    button-&gt;ensureUserAgentShadowRoot();
-    button-&gt;setType(&quot;button&quot;);
-    return button.release();
-}
-
-void MediaControlAudioMuteButtonElement::defaultEventHandler(Event* event)
-{
-    if (event-&gt;type() == eventNames().mousedownEvent) {
-        // We do not mute when the media player volume/mute control is touched.
-        // Instead we show/hide the volume slider.
-        static_cast&lt;MediaControlsBlackBerry*&gt;(m_controls)-&gt;toggleVolumeSlider();
-        event-&gt;setDefaultHandled();
-        return;
-    }
-    if (event-&gt;type() == eventNames().mouseoverEvent)
-        m_controls-&gt;showVolumeSlider();
-
-    MediaControlMuteButtonElement::defaultEventHandler(event);
-}
-
-const AtomicString&amp; MediaControlAudioMuteButtonElement::shadowPseudoId() const
-{
-    DEFINE_STATIC_LOCAL(AtomicString, id, (&quot;-webkit-media-controls-audio-mute-button&quot;, AtomicString::ConstructFromLiteral));
-    return id;
-}
-
-MediaControlsBlackBerry::MediaControlsBlackBerry(Document* document)
-    : MediaControls(document)
-    , m_buttonContainer(0)
-    , m_timeDisplayContainer(0)
-    , m_fullscreenTimeDisplayContainer(0)
-    , m_fullscreenPlayButton(0)
-    , m_fullscreenCurrentTimeDisplay(0)
-    , m_fullscreenTimeline(0)
-    , m_timeRemainingDisplay(0)
-    , m_fullscreenTimeRemainingDisplay(0)
-    , m_timelineContainer(0)
-    , m_fullscreenTimelineContainer(0)
-    , m_fullScreenDivider(0)
-    , m_fullscreenFullScreenButton(0)
-    , m_muteButton(0)
-    , m_volumeSliderContainer(0)
-    , m_embeddedPanel(0)
-    , m_fullScreenButtonContainer(0)
-    , m_playButtonContainer(0)
-    , m_placeholder(0)
-{
-}
-
-PassRefPtr&lt;MediaControls&gt; MediaControls::create(Document* document)
-{
-    return MediaControlsBlackBerry::createControls(document);
-}
-
-PassRefPtr&lt;MediaControlsBlackBerry&gt; MediaControlsBlackBerry::createControls(Document* document)
-{
-    if (!document-&gt;page())
-        return 0;
-
-    RefPtr&lt;MediaControlsBlackBerry&gt; controls = adoptRef(new MediaControlsBlackBerry(document));
-
-    RefPtr&lt;MediaControlPanelElement&gt; panel = MediaControlPanelElement::create(document);
-    RefPtr&lt;MediaControlEmbeddedPanelElement&gt; embedPanel = MediaControlEmbeddedPanelElement::create(document);
-
-    ExceptionCode ec;
-
-    RefPtr&lt;MediaControlPlayButtonElement&gt; playButton = MediaControlPlayButtonElement::create(document);
-    controls-&gt;m_playButton = playButton.get();
-    embedPanel-&gt;appendChild(playButton.release(), ec, AttachLazily);
-    if (ec)
-        return 0;
-
-    RefPtr&lt;MediaControlTimelineContainerElement&gt; timelineContainer = MediaControlTimelineContainerElement::create(document);
-
-    RefPtr&lt;MediaControlTimelineElement&gt; timeline = MediaControlTimelineElement::create(document, controls.get());
-    controls-&gt;m_timeline = timeline.get();
-    timelineContainer-&gt;appendChild(timeline.release(), ec, AttachLazily);
-    if (ec)
-        return 0;
-
-    RefPtr&lt;MediaControlTimeDisplayContainerElement&gt; timeDisplayContainer = MediaControlTimeDisplayContainerElement::create(document);
-
-    RefPtr&lt;MediaControlCurrentTimeDisplayElement&gt; currentTimeDisplay = MediaControlCurrentTimeDisplayElement::create(document);
-    controls-&gt;m_currentTimeDisplay = currentTimeDisplay.get();
-    timeDisplayContainer-&gt;appendChild(currentTimeDisplay.release(), ec, AttachLazily);
-    if (ec)
-        return 0;
-
-    RefPtr&lt;MediaControlTimeRemainingDisplayElement&gt; timeRemainingDisplay = MediaControlTimeRemainingDisplayElement::create(document);
-    controls-&gt;m_timeRemainingDisplay = timeRemainingDisplay.get();
-    timeDisplayContainer-&gt;appendChild(timeRemainingDisplay.release(), ec, AttachLazily);
-    if (ec)
-        return 0;
-
-    controls-&gt;m_timeDisplayContainer = timeDisplayContainer.get();
-    timelineContainer-&gt;appendChild(timeDisplayContainer.release(), ec, AttachLazily);
-    if (ec)
-        return 0;
-
-    controls-&gt;m_timelineContainer = timelineContainer.get();
-    embedPanel-&gt;appendChild(timelineContainer.release(), ec, AttachLazily);
-    if (ec)
-        return 0;
-
-    RefPtr&lt;MediaControlFullscreenButtonElement&gt; fullScreenButton = MediaControlFullscreenButtonElement::create(document);
-    controls-&gt;m_fullScreenButton = fullScreenButton.get();
-    embedPanel-&gt;appendChild(fullScreenButton.release(), ec, AttachLazily);
-    if (ec)
-        return 0;
-
-    if (document-&gt;page()-&gt;theme()-&gt;usesMediaControlVolumeSlider()) {
-        // The mute button and the slider element should be in the same div.
-        RefPtr&lt;HTMLDivElement&gt; volumeControlContainer = HTMLDivElement::create(document);
-
-        RefPtr&lt;MediaControlVolumeSliderContainerElement&gt; volumeSliderContainer = MediaControlVolumeSliderContainerElement::create(document);
-
-        RefPtr&lt;MediaControlPanelVolumeSliderElement&gt; slider = MediaControlPanelVolumeSliderElement::create(document);
-        controls-&gt;m_volumeSlider = slider.get();
-        volumeSliderContainer-&gt;appendChild(slider.release(), ec, AttachLazily);
-        if (ec)
-            return 0;
-
-        controls-&gt;m_volumeSliderContainer = volumeSliderContainer.get();
-        volumeControlContainer-&gt;appendChild(volumeSliderContainer.release(), ec, AttachLazily);
-        if (ec)
-            return 0;
-        RefPtr&lt;MediaControlAudioMuteButtonElement&gt; muteButton = MediaControlAudioMuteButtonElement::create(document, controls.get());
-        controls-&gt;m_muteButton = muteButton.get();
-        volumeControlContainer-&gt;appendChild(muteButton.release(), ec, AttachLazily);
-        if (ec)
-            return 0;
-
-        embedPanel-&gt;appendChild(volumeControlContainer.release(), ec, AttachLazily);
-        if (ec)
-            return 0;
-    }
-
-    RefPtr&lt;MediaControlFullscreenTimelineContainerElement&gt; fullscreenTimelineContainer = MediaControlFullscreenTimelineContainerElement::create(document);
-
-    RefPtr&lt;MediaControlFullscreenTimelineElement&gt; fullscreenTimeline = MediaControlFullscreenTimelineElement::create(document, controls.get());
-    controls-&gt;m_fullscreenTimeline = fullscreenTimeline.get();
-    fullscreenTimelineContainer-&gt;appendChild(fullscreenTimeline.release(), ec, AttachLazily);
-    if (ec)
-        return 0;
-
-    RefPtr&lt;MediaControlFullscreenTimeDisplayContainerElement&gt; fullscreenTimeDisplayContainer = MediaControlFullscreenTimeDisplayContainerElement::create(document);
-
-    RefPtr&lt;MediaControlFullscreenCurrentTimeDisplayElement&gt; fullscreenCurrentTimeDisplay = MediaControlFullscreenCurrentTimeDisplayElement::create(document);
-    controls-&gt;m_fullscreenCurrentTimeDisplay = fullscreenCurrentTimeDisplay.get();
-    fullscreenTimeDisplayContainer-&gt;appendChild(fullscreenCurrentTimeDisplay.release(), ec, AttachLazily);
-    if (ec)
-        return 0;
-
-    RefPtr&lt;MediaControlFullscreenTimeRemainingDisplayElement&gt; fullscreenTimeRemainingDisplay = MediaControlFullscreenTimeRemainingDisplayElement::create(document);
-    controls-&gt;m_fullscreenTimeRemainingDisplay = fullscreenTimeRemainingDisplay.get();
-    fullscreenTimeDisplayContainer-&gt;appendChild(fullscreenTimeRemainingDisplay.release(), ec, AttachLazily);
-    if (ec)
-        return 0;
-
-    controls-&gt;m_fullscreenTimeDisplayContainer = fullscreenTimeDisplayContainer.get();
-    fullscreenTimelineContainer-&gt;appendChild(fullscreenTimeDisplayContainer.release(), ec, AttachLazily);
-    if (ec)
-        return 0;
-
-    controls-&gt;m_fullscreenTimelineContainer = fullscreenTimelineContainer.get();
-    panel-&gt;appendChild(fullscreenTimelineContainer.release(), ec, AttachLazily);
-    if (ec)
-        return 0;
-
-    RefPtr&lt;MediaControlButtonGroupContainerElement&gt; buttonGroupContainer = MediaControlButtonGroupContainerElement::create(document);
-
-    // FIXME: Only create when needed &lt;http://webkit.org/b/57163&gt;
-    RefPtr&lt;MediaControlFullscreenButtonContainerElement&gt; fullScreenButtonContainer = MediaControlFullscreenButtonContainerElement::create(document);
-    controls-&gt;m_fullScreenButtonContainer = fullScreenButtonContainer.get();
-    RefPtr&lt;MediaControlFullscreenFullscreenButtonElement&gt; fullscreenFullScreenButton = MediaControlFullscreenFullscreenButtonElement::create(document);
-    controls-&gt;m_fullscreenFullScreenButton = fullscreenFullScreenButton.get();
-    fullScreenButtonContainer-&gt;appendChild(fullscreenFullScreenButton.release(), ec, AttachLazily);
-    if (ec)
-        return 0;
-    RefPtr&lt;MediaControlFullscreenButtonDividerElement&gt; fullScreenDivider = MediaControlFullscreenButtonDividerElement::create(document);
-    controls-&gt;m_fullScreenDivider = fullScreenDivider.get();
-    fullScreenButtonContainer-&gt;appendChild(fullScreenDivider.release(), ec, AttachLazily);
-    if (ec)
-        return 0;
-    buttonGroupContainer-&gt;appendChild(fullScreenButtonContainer.release(), ec, AttachLazily);
-    if (ec)
-        return 0;
-
-    RefPtr&lt;MediaControlPlayButtonContainerElement&gt; playButtonContainer = MediaControlPlayButtonContainerElement::create(document);
-    controls-&gt;m_playButtonContainer = playButtonContainer.get();
-    RefPtr&lt;MediaControlFullscreenPlayButtonElement&gt; fullscreenPlayButton = MediaControlFullscreenPlayButtonElement::create(document);
-    controls-&gt;m_fullscreenPlayButton = fullscreenPlayButton.get();
-    playButtonContainer-&gt;appendChild(fullscreenPlayButton.release(), ec, AttachLazily);
-    if (ec)
-        return 0;
-    buttonGroupContainer-&gt;appendChild(playButtonContainer.release(), ec, AttachLazily);
-    if (ec)
-        return 0;
-
-    RefPtr&lt;MediaControlPlaceholderElement&gt; placeholder = MediaControlPlaceholderElement::create(document);
-    controls-&gt;m_placeholder = placeholder.get();
-    buttonGroupContainer-&gt;appendChild(placeholder.release(), ec, AttachLazily);
-    if (ec)
-        return 0;
-
-    controls-&gt;m_buttonContainer = buttonGroupContainer.get();
-    panel-&gt;appendChild(buttonGroupContainer.release(), ec, AttachLazily);
-    if (ec)
-        return 0;
-
-    if (document-&gt;page()-&gt;theme()-&gt;supportsClosedCaptioning()) {
-        RefPtr&lt;MediaControlToggleClosedCaptionsButtonElement&gt; toggleClosedCaptionsButton = MediaControlToggleClosedCaptionsButtonElement::create(document, controls.get());
-        controls-&gt;m_toggleClosedCaptionsButton = toggleClosedCaptionsButton.get();
-        panel-&gt;appendChild(toggleClosedCaptionsButton.release(), ec, AttachLazily);
-        if (ec)
-            return 0;
-    }
-
-    controls-&gt;m_panel = panel.get();
-    controls-&gt;appendChild(panel.release(), ec, AttachLazily);
-    if (ec)
-        return 0;
-
-    controls-&gt;m_embeddedPanel = embedPanel.get();
-    controls-&gt;appendChild(embedPanel.release(), ec, AttachLazily);
-    if (ec)
-        return 0;
-
-    return controls.release();
-}
-
-void MediaControlsBlackBerry::setMediaController(MediaControllerInterface* controller)
-{
-    if (m_mediaController == controller)
-        return;
-
-    MediaControls::setMediaController(controller);
-
-    if (m_buttonContainer)
-        m_buttonContainer-&gt;setMediaController(controller);
-    if (m_timeDisplayContainer)
-        m_timeDisplayContainer-&gt;setMediaController(controller);
-    if (m_fullscreenTimeDisplayContainer)
-        m_fullscreenTimeDisplayContainer-&gt;setMediaController(controller);
-    if (m_fullscreenPlayButton)
-        m_fullscreenPlayButton-&gt;setMediaController(controller);
-    if (m_fullscreenCurrentTimeDisplay)
-        m_fullscreenCurrentTimeDisplay-&gt;setMediaController(controller);
-    if (m_fullscreenTimeline)
-        m_fullscreenTimeline-&gt;setMediaController(controller);
-    if (m_timeRemainingDisplay)
-        m_timeRemainingDisplay-&gt;setMediaController(controller);
-    if (m_fullscreenTimeRemainingDisplay)
-        m_fullscreenTimeRemainingDisplay-&gt;setMediaController(controller);
-    if (m_timelineContainer)
-        m_timelineContainer-&gt;setMediaController(controller);
-    if (m_fullscreenTimelineContainer)
-        m_fullscreenTimelineContainer-&gt;setMediaController(controller);
-    if (m_fullscreenFullScreenButton)
-        m_fullscreenFullScreenButton-&gt;setMediaController(controller);
-    if (m_muteButton)
-        m_muteButton-&gt;setMediaController(controller);
-    if (m_volumeSliderContainer)
-        m_volumeSliderContainer-&gt;setMediaController(controller);
-    if (m_embeddedPanel)
-        m_embeddedPanel-&gt;setMediaController(controller);
-    reset();
-}
-
-void MediaControlsBlackBerry::show()
-{
-    if (m_isFullscreen) {
-        m_panel-&gt;setIsDisplayed(true);
-        m_panel-&gt;show();
-    } else {
-        m_embeddedPanel-&gt;setIsDisplayed(true);
-        m_embeddedPanel-&gt;show();
-    }
-}
-
-void MediaControlsBlackBerry::hide()
-{
-    if (m_isFullscreen) {
-        m_panel-&gt;setIsDisplayed(false);
-        m_panel-&gt;hide();
-    } else {
-        m_embeddedPanel-&gt;setIsDisplayed(false);
-        m_embeddedPanel-&gt;hide();
-        m_volumeSliderContainer-&gt;hide();
-    }
-}
-
-void MediaControlsBlackBerry::makeOpaque()
-{
-    if (m_isFullscreen)
-        m_panel-&gt;makeOpaque();
-    else
-        m_embeddedPanel-&gt;makeOpaque();
-}
-
-void MediaControlsBlackBerry::makeTransparent()
-{
-    if (m_isFullscreen)
-        m_panel-&gt;makeTransparent();
-    else {
-        m_embeddedPanel-&gt;makeTransparent();
-        m_volumeSliderContainer-&gt;hide();
-    }
-}
-
-void MediaControlsBlackBerry::reset()
-{
-    Page* page = document()-&gt;page();
-    if (!page)
-        return;
-
-    updateStatusDisplay();
-
-    if (m_fullScreenButton) {
-        if (m_mediaController-&gt;supportsFullscreen())
-            m_fullScreenButton-&gt;show();
-        else
-            m_fullScreenButton-&gt;hide();
-    }
-    if (m_fullscreenFullScreenButton) {
-        if (m_mediaController-&gt;supportsFullscreen())
-            m_fullscreenFullScreenButton-&gt;show();
-        else
-            m_fullscreenFullScreenButton-&gt;hide();
-    }
-    double duration = m_mediaController-&gt;duration();
-    if (std::isfinite(duration) || page-&gt;theme()-&gt;hasOwnDisabledStateHandlingFor(MediaSliderPart)) {
-        double now = m_mediaController-&gt;currentTime();
-        m_timeline-&gt;setDuration(duration);
-        m_fullscreenTimeline-&gt;setDuration(duration);
-        m_timelineContainer-&gt;show();
-        m_fullscreenTimelineContainer-&gt;show();
-        m_timeline-&gt;setPosition(now);
-        m_fullscreenTimeline-&gt;setPosition(now);
-        updateCurrentTimeDisplay();
-    } else {
-        m_timelineContainer-&gt;hide();
-        m_fullscreenTimelineContainer-&gt;hide();
-    }
-
-    if (m_mediaController-&gt;hasAudio() || page-&gt;theme()-&gt;hasOwnDisabledStateHandlingFor(MediaMuteButtonPart))
-        m_muteButton-&gt;show();
-    else
-        m_muteButton-&gt;hide();
-
-    if (m_volumeSlider)
-        setSliderVolume();
-
-    if (m_toggleClosedCaptionsButton) {
-        if (m_mediaController-&gt;hasClosedCaptions())
-            m_toggleClosedCaptionsButton-&gt;show();
-        else
-            m_toggleClosedCaptionsButton-&gt;hide();
-    }
-
-    if (m_playButton)
-        m_playButton-&gt;updateDisplayType();
-
-    if (m_fullscreenPlayButton)
-        m_fullscreenPlayButton-&gt;updateDisplayType();
-
-    makeOpaque();
-}
-
-void MediaControlsBlackBerry::bufferingProgressed()
-{
-    // We only need to update buffering progress when paused, during normal
-    // playback playbackProgressed() will take care of it.
-    if (m_mediaController-&gt;paused()) {
-        double now = m_mediaController-&gt;currentTime();
-        m_timeline-&gt;setPosition(now);
-        m_fullscreenTimeline-&gt;setPosition(now);
-    }
-}
-
-void MediaControlsBlackBerry::playbackStarted()
-{
-    double now = m_mediaController-&gt;currentTime();
-    m_playButton-&gt;updateDisplayType();
-    m_fullscreenPlayButton-&gt;updateDisplayType();
-    m_timeline-&gt;setPosition(now);
-    m_fullscreenTimeline-&gt;setPosition(now);
-    updateCurrentTimeDisplay();
-
-    if (m_isFullscreen)
-        startHideFullscreenControlsTimer();
-}
-
-void MediaControlsBlackBerry::playbackProgressed()
-{
-    double now = m_mediaController-&gt;currentTime();
-    m_timeline-&gt;setPosition(now);
-    m_fullscreenTimeline-&gt;setPosition(now);
-    updateCurrentTimeDisplay();
-    
-    if (!m_isMouseOverControls &amp;&amp; m_mediaController-&gt;hasVideo())
-        makeTransparent();
-}
-
-void MediaControlsBlackBerry::playbackStopped()
-{
-    double now = m_mediaController-&gt;currentTime();
-    m_playButton-&gt;updateDisplayType();
-    m_fullscreenPlayButton-&gt;updateDisplayType();
-    m_timeline-&gt;setPosition(now);
-    m_fullscreenTimeline-&gt;setPosition(now);
-    updateCurrentTimeDisplay();
-    makeOpaque();
-    
-    stopHideFullscreenControlsTimer();
-}
-
-void MediaControlsBlackBerry::updateCurrentTimeDisplay()
-{
-    double now = m_mediaController-&gt;currentTime();
-    double duration = m_mediaController-&gt;duration();
-
-    Page* page = document()-&gt;page();
-    if (!page)
-        return;
-
-    // Allow the theme to format the time.
-    m_currentTimeDisplay-&gt;setInnerText(page-&gt;theme()-&gt;formatMediaControlsCurrentTime(now, duration), IGNORE_EXCEPTION);
-    m_currentTimeDisplay-&gt;setCurrentValue(now);
-    m_fullscreenCurrentTimeDisplay-&gt;setInnerText(page-&gt;theme()-&gt;formatMediaControlsCurrentTime(now, duration), IGNORE_EXCEPTION);
-    m_fullscreenCurrentTimeDisplay-&gt;setCurrentValue(now);
-    m_timeRemainingDisplay-&gt;setInnerText(page-&gt;theme()-&gt;formatMediaControlsRemainingTime(now, duration), IGNORE_EXCEPTION);
-    m_timeRemainingDisplay-&gt;setCurrentValue(now - duration);
-    m_fullscreenTimeRemainingDisplay-&gt;setInnerText(page-&gt;theme()-&gt;formatMediaControlsRemainingTime(now, duration), IGNORE_EXCEPTION);
-    m_fullscreenTimeRemainingDisplay-&gt;setCurrentValue(now - duration);
-}
-
-void MediaControlsBlackBerry::reportedError()
-{
-    Page* page = document()-&gt;page();
-    if (!page)
-        return;
-
-    if (!page-&gt;theme()-&gt;hasOwnDisabledStateHandlingFor(MediaSliderPart)) {
-        m_timelineContainer-&gt;hide();
-        m_fullscreenTimelineContainer-&gt;hide();
-    }
-
-    if (!page-&gt;theme()-&gt;hasOwnDisabledStateHandlingFor(MediaMuteButtonPart))
-        m_muteButton-&gt;hide();
-
-    if (m_fullScreenButton)
-        m_fullScreenButton-&gt;hide();
-
-    if (m_fullScreenDivider)
-        m_fullScreenDivider-&gt;hide();
-
-    if (m_fullscreenFullScreenButton)
-        m_fullscreenFullScreenButton-&gt;hide();
-
-    if (m_volumeSliderContainer)
-        m_volumeSliderContainer-&gt;hide();
-
-    if (m_toggleClosedCaptionsButton &amp;&amp; !page-&gt;theme()-&gt;hasOwnDisabledStateHandlingFor(MediaToggleClosedCaptionsButtonPart))
-        m_toggleClosedCaptionsButton-&gt;hide();
-}
-
-void MediaControlsBlackBerry::changedMute()
-{
-    m_muteButton-&gt;changedMute();
-}
-
-void MediaControlsBlackBerry::enteredFullscreen()
-{
-    MediaControls::enteredFullscreen();
-
-    m_panel-&gt;setCanBeDragged(true);
-    m_embeddedPanel-&gt;setCanBeDragged(true);
-
-    if (m_fullscreenFullScreenButton)
-        m_fullscreenFullScreenButton-&gt;setIsFullscreen(true);
-}
-
-void MediaControlsBlackBerry::exitedFullscreen()
-{
-    m_panel-&gt;setCanBeDragged(false);
-    m_embeddedPanel-&gt;setCanBeDragged(false);
-
-    if (m_fullscreenFullScreenButton)
-        m_fullscreenFullScreenButton-&gt;setIsFullscreen(false);
-
-    // We will keep using the panel, but we want it to go back to the standard position.
-    // This will matter right away because we use the panel even when not fullscreen.
-    // And if we reenter fullscreen we also want the panel in the standard position.
-    m_panel-&gt;resetPosition();
-    m_embeddedPanel-&gt;resetPosition();
-
-    MediaControls::exitedFullscreen();
-}
-
-void MediaControlsBlackBerry::showVolumeSlider()
-{
-    if (!m_mediaController-&gt;hasAudio())
-        return;
-
-    if (m_volumeSliderContainer)
-        m_volumeSliderContainer-&gt;show();
-}
-
-void MediaControlsBlackBerry::toggleVolumeSlider()
-{
-    if (!m_mediaController-&gt;hasAudio())
-        return;
-
-    if (m_volumeSliderContainer) {
-        if (m_volumeSliderContainer-&gt;renderer() &amp;&amp; m_volumeSliderContainer-&gt;renderer()-&gt;visibleToHitTesting())
-            m_volumeSliderContainer-&gt;hide();
-        else
-            m_volumeSliderContainer-&gt;show();
-    }
-}
-
-bool MediaControlsBlackBerry::shouldHideControls()
-{
-    if (m_isFullscreen)
-        return !m_panel-&gt;hovered();
-    return !m_embeddedPanel-&gt;hovered();
-}
-}
-
-#endif
</del></span></pre></div>
<a id="trunkSourceWebCorehtmlshadowMediaControlsBlackBerryh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/html/shadow/MediaControlsBlackBerry.h (161606 => 161607)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/shadow/MediaControlsBlackBerry.h        2014-01-10 01:18:18 UTC (rev 161606)
+++ trunk/Source/WebCore/html/shadow/MediaControlsBlackBerry.h        2014-01-10 01:24:53 UTC (rev 161607)
</span><span class="lines">@@ -1,298 +0,0 @@
</span><del>-/*
- * Copyright (C) 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
- * Copyright (C) 2011 Google Inc. All rights reserved.
- * Copyright (C) 2012 Research In Motion Limited. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef MediaControlsBlackBerry_h
-#define MediaControlsBlackBerry_h
-
-#if ENABLE(VIDEO)
-
-#include &quot;MediaControlElementTypes.h&quot;
-#include &quot;MediaControlElements.h&quot;
-#include &quot;MediaControls.h&quot;
-#include &lt;wtf/RefPtr.h&gt;
-
-namespace WebCore {
-
-class HTMLInputElement;
-class HTMLMediaElement;
-class Event;
-class MediaPlayer;
-
-class RenderBox;
-class RenderMedia;
-
-#if ENABLE(VIDEO_TRACK)
-class MediaControlTextTrackContainerElement;
-class MediaControlTextTrackDisplayElement;
-#endif
-
-class MediaControlButtonGroupContainerElement : public MediaControlDivElement {
-public:
-    static PassRefPtr&lt;MediaControlButtonGroupContainerElement&gt; create(Document*);
-
-protected:
-    MediaControlButtonGroupContainerElement(Document*);
-    virtual const AtomicString&amp; shadowPseudoId() const OVERRIDE;
-};
-
-class MediaControlTimeDisplayContainerElement : public MediaControlDivElement {
-public:
-    static PassRefPtr&lt;MediaControlTimeDisplayContainerElement&gt; create(Document*);
-
-protected:
-    MediaControlTimeDisplayContainerElement(Document*);
-    virtual const AtomicString&amp; shadowPseudoId() const OVERRIDE;
-};
-
-class MediaControlEmbeddedPanelElement : public MediaControlDivElement {
-public:
-    static PassRefPtr&lt;MediaControlEmbeddedPanelElement&gt; create(Document*);
-
-    void setCanBeDragged(bool);
-    void setIsDisplayed(bool);
-
-    void resetPosition();
-    void makeOpaque();
-    void makeTransparent();
-
-    virtual bool willRespondToMouseMoveEvents() OVERRIDE { return true; }
-    virtual bool willRespondToMouseClickEvents() OVERRIDE { return true; }
-
-private:
-    explicit MediaControlEmbeddedPanelElement(Document*);
-
-    virtual const AtomicString&amp; shadowPseudoId() const OVERRIDE;
-    virtual void defaultEventHandler(Event*) OVERRIDE;
-
-    void startDrag(const LayoutPoint&amp; eventLocation);
-    void continueDrag(const LayoutPoint&amp; eventLocation);
-    void endDrag();
-
-    void startTimer();
-    void stopTimer();
-    void transitionTimerFired(Timer&lt;MediaControlEmbeddedPanelElement&gt;*);
-
-    void setPosition(const LayoutPoint&amp;);
-
-    bool m_canBeDragged;
-    bool m_isBeingDragged;
-    bool m_isDisplayed;
-    bool m_opaque;
-    LayoutPoint m_lastDragEventLocation;
-    LayoutPoint m_cumulativeDragOffset;
-
-    Timer&lt;MediaControlEmbeddedPanelElement&gt; m_transitionTimer;
-};
-
-class MediaControlFullscreenTimeDisplayContainerElement : public MediaControlDivElement {
-public:
-    static PassRefPtr&lt;MediaControlFullscreenTimeDisplayContainerElement&gt; create(Document*);
-
-protected:
-    MediaControlFullscreenTimeDisplayContainerElement(Document*);
-    virtual const AtomicString&amp; shadowPseudoId() const OVERRIDE;
-};
-
-class MediaControlFullscreenButtonContainerElement : public MediaControlDivElement {
-public:
-    static PassRefPtr&lt;MediaControlFullscreenButtonContainerElement&gt; create(Document*);
-
-private:
-    MediaControlFullscreenButtonContainerElement(Document*);
-    virtual const AtomicString&amp; shadowPseudoId() const OVERRIDE;
-};
-
-class MediaControlFullscreenButtonDividerElement : public MediaControlDivElement {
-public:
-    static PassRefPtr&lt;MediaControlFullscreenButtonDividerElement&gt; create(Document*);
-
-private:
-    MediaControlFullscreenButtonDividerElement(Document*);
-    virtual const AtomicString&amp; shadowPseudoId() const OVERRIDE;
-};
-
-class MediaControlPlayButtonContainerElement : public MediaControlDivElement {
-public:
-    static PassRefPtr&lt;MediaControlPlayButtonContainerElement&gt; create(Document*);
-
-private:
-    MediaControlPlayButtonContainerElement(Document*);
-    virtual const AtomicString&amp; shadowPseudoId() const OVERRIDE;
-};
-
-class MediaControlPlaceholderElement : public MediaControlDivElement {
-public:
-    static PassRefPtr&lt;MediaControlPlaceholderElement&gt; create(Document*);
-
-private:
-    MediaControlPlaceholderElement(Document*);
-    virtual const AtomicString&amp; shadowPseudoId() const OVERRIDE;
-};
-
-class MediaControlFullscreenPlayButtonElement : public MediaControlInputElement {
-public:
-    static PassRefPtr&lt;MediaControlFullscreenPlayButtonElement&gt; create(Document*);
-
-    virtual bool willRespondToMouseClickEvents() OVERRIDE { return true; }
-    virtual void updateDisplayType() OVERRIDE;
-
-private:
-    MediaControlFullscreenPlayButtonElement(Document*);
-    virtual const AtomicString&amp; shadowPseudoId() const OVERRIDE;
-    virtual void defaultEventHandler(Event*) OVERRIDE;
-};
-
-class MediaControlFullscreenFullscreenButtonElement : public MediaControlInputElement {
-public:
-    static PassRefPtr&lt;MediaControlFullscreenFullscreenButtonElement&gt; create(Document*);
-
-    virtual bool willRespondToMouseClickEvents() OVERRIDE { return true; }
-    void setIsFullscreen(bool);
-
-private:
-    MediaControlFullscreenFullscreenButtonElement(Document*);
-    virtual const AtomicString&amp; shadowPseudoId() const OVERRIDE;
-    virtual void defaultEventHandler(Event*) OVERRIDE;
-};
-
-class MediaControlFullscreenTimelineContainerElement : public MediaControlDivElement {
-public:
-    static PassRefPtr&lt;MediaControlFullscreenTimelineContainerElement&gt; create(Document*);
-
-private:
-    MediaControlFullscreenTimelineContainerElement(Document*);
-    virtual const AtomicString&amp; shadowPseudoId() const OVERRIDE;
-};
-
-class MediaControlFullscreenTimelineElement : public MediaControlInputElement {
-public:
-    static PassRefPtr&lt;MediaControlFullscreenTimelineElement&gt; create(Document*, MediaControls*);
-
-    virtual bool willRespondToMouseClickEvents() OVERRIDE;
-    void setPosition(double);
-    void setDuration(double);
-
-private:
-    MediaControlFullscreenTimelineElement(Document*, MediaControls*);
-    virtual const AtomicString&amp; shadowPseudoId() const OVERRIDE;
-    virtual void defaultEventHandler(Event*) OVERRIDE;
-
-    MediaControls* m_controls;
-};
-
-class MediaControlFullscreenTimeRemainingDisplayElement : public MediaControlTimeDisplayElement {
-public:
-    static PassRefPtr&lt;MediaControlFullscreenTimeRemainingDisplayElement&gt; create(Document*);
-
-private:
-    MediaControlFullscreenTimeRemainingDisplayElement(Document*);
-    virtual const AtomicString&amp; shadowPseudoId() const OVERRIDE;
-};
-
-class MediaControlFullscreenCurrentTimeDisplayElement : public MediaControlTimeDisplayElement {
-public:
-    static PassRefPtr&lt;MediaControlFullscreenCurrentTimeDisplayElement&gt; create(Document*);
-
-private:
-    MediaControlFullscreenCurrentTimeDisplayElement(Document*);
-    virtual const AtomicString&amp; shadowPseudoId() const OVERRIDE;
-};
-
-class MediaControlAudioMuteButtonElement : public MediaControlMuteButtonElement {
-public:
-    static PassRefPtr&lt;MediaControlAudioMuteButtonElement&gt; create(Document*, MediaControls*);
-
-    virtual bool willRespondToMouseMoveEvents() OVERRIDE { return true; }
-
-private:
-    explicit MediaControlAudioMuteButtonElement(Document*, MediaControls*);
-
-    virtual const AtomicString&amp; shadowPseudoId() const OVERRIDE;
-    virtual void defaultEventHandler(Event*) OVERRIDE;
-
-    MediaControls* m_controls;
-};
-
-class MediaControlsBlackBerry : public MediaControls {
-public:
-    static PassRefPtr&lt;MediaControlsBlackBerry&gt; createControls(Document*);
-
-    // MediaControls implementation.
-    void setMediaController(MediaControllerInterface*) OVERRIDE;
-
-    void show() OVERRIDE;
-    void hide() OVERRIDE;
-    void makeOpaque() OVERRIDE;
-    void makeTransparent() OVERRIDE;
-
-    void reset() OVERRIDE;
-
-    void bufferingProgressed() OVERRIDE;
-    void playbackProgressed() OVERRIDE;
-    void playbackStarted() OVERRIDE;
-    void playbackStopped() OVERRIDE;
-
-    void changedMute() OVERRIDE;
-
-    void enteredFullscreen() OVERRIDE;
-    void exitedFullscreen() OVERRIDE;
-
-    void reportedError() OVERRIDE;
-
-    void showVolumeSlider() OVERRIDE;
-    void toggleVolumeSlider();
-    void updateCurrentTimeDisplay() OVERRIDE;
-
-    virtual bool shouldHideControls() OVERRIDE;
-
-private:
-    MediaControlsBlackBerry(Document*);
-
-    MediaControlButtonGroupContainerElement* m_buttonContainer;
-    MediaControlTimeDisplayContainerElement* m_timeDisplayContainer;
-    MediaControlFullscreenTimeDisplayContainerElement* m_fullscreenTimeDisplayContainer;
-    MediaControlFullscreenPlayButtonElement* m_fullscreenPlayButton;
-    MediaControlFullscreenCurrentTimeDisplayElement* m_fullscreenCurrentTimeDisplay;
-    MediaControlFullscreenTimelineElement* m_fullscreenTimeline;
-    MediaControlTimeRemainingDisplayElement* m_timeRemainingDisplay;
-    MediaControlFullscreenTimeRemainingDisplayElement* m_fullscreenTimeRemainingDisplay;
-    MediaControlTimelineContainerElement* m_timelineContainer;
-    MediaControlFullscreenTimelineContainerElement* m_fullscreenTimelineContainer;
-    MediaControlFullscreenButtonDividerElement* m_fullScreenDivider;
-    MediaControlFullscreenFullscreenButtonElement* m_fullscreenFullScreenButton;
-    MediaControlAudioMuteButtonElement* m_muteButton;
-    MediaControlVolumeSliderContainerElement* m_volumeSliderContainer;
-    MediaControlEmbeddedPanelElement* m_embeddedPanel;
-    MediaControlFullscreenButtonContainerElement* m_fullScreenButtonContainer;
-    MediaControlPlayButtonContainerElement* m_playButtonContainer;
-    MediaControlPlaceholderElement* m_placeholder;
-};
-
-}
-
-#endif
-#endif
</del></span></pre>
</div>
</div>

</body>
</html>