[BlackBerry] willComposite() and didComposite() are now in InspectorController
https://bugs.webkit.org/show_bug.cgi?id=110343

Patch by Alberto Garcia <albgarcia@rim.com> on 2013-02-21
Reviewed by Carlos Garcia Campos.

This was changed in r142879.

* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::willComposite):
(BlackBerry::WebKit::WebPagePrivate::didComposite):

git-svn-id: svn://svn.chromium.org/blink/trunk@143584 bbb929c8-8fbe-4397-9dbb-9b2b20218538
void WebPagePrivate::enterFullScreenForElement(Element* element)
{
#if ENABLE(VIDEO)
    if (!element)
        return;
    if (m_webSettings->fullScreenVideoCapable() && element->hasTagName(HTMLNames::videoTag)) {
        enterFullscreenForNode(element);
    } else {
        if (transformedActualVisibleSize() != transformedViewportSize()) {
            m_scaleBeforeFullScreen = currentScale();

            m_scrollPositionBeforeFullScreen = m_mainFrame->view()->scrollPosition();

            m_orientationBeforeFullScreen = orientation();
        }

        client()->fullscreenStart();
        m_fullscreenNode = element;
    }
#endif
}

void WebPagePrivate::enterFullScreenForElement(Element* element)
{
#if ENABLE(VIDEO)
    if (!element)
        return;
    if (m_webSettings->fullScreenVideoCapable() && element->hasTagName(HTMLNames::videoTag)) {
        enterFullscreenForNode(element);
    } else {
        if (transformedActualVisibleSize() != transformedViewportSize()) {
            m_scaleBeforeFullScreen = currentScale();

            m_scrollPositionBeforeFullScreen = m_mainFrame->view()->scrollPosition();

            m_orientationBeforeFullScreen = orientation();
        }

        client()->fullscreenStart();
        m_fullscreenNode = element;
    }
#endif
}
