Changeset 147905 in webkit


Ignore:
Timestamp:
Apr 8, 2013 2:27:27 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

[BlackBerry] WebPage: misc build fixes
https://bugs.webkit.org/show_bug.cgi?id=114152

Patch by Alberto Garcia <agarcia@igalia.com> on 2013-04-08
Reviewed by Carlos Garcia Campos.

  • Api/WebPage.cpp:

(BlackBerry::WebKit::WebPagePrivate::shouldPluginEnterFullScreen):
(BlackBerry::WebKit::WebPagePrivate::didPluginExitFullScreen):
(BlackBerry::WebKit::WebPagePrivate::onPluginStartBackgroundPlay):
(BlackBerry::WebKit::WebPagePrivate::onPluginStopBackgroundPlay):
Remove unused parameters.

(BlackBerry::WebKit::WebPagePrivate::zoomAnimationFinished):
(BlackBerry::WebKit::WebPage::blockZoom):
Replace TAAUTO with TASTART (this changed in r120495).

(BlackBerry::WebKit::WebPagePrivate::setViewportSize):
Rename m_fullscreenVideoNode to m_fullscreenNode (this changed in
r142220).

(BlackBerry::WebKit::WebPagePrivate::compositorDrawsRootLayer):
Rename paintingGoesToWindow() to paintsIntoWindow() (this changed in
r113514).

Location:
trunk/Source/WebKit/blackberry
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/blackberry/Api/WebPage.cpp

    r147747 r147905  
    19861986}
    19871987
    1988 bool WebPagePrivate::shouldPluginEnterFullScreen(PluginView* plugin, const char* windowUniquePrefix)
     1988bool WebPagePrivate::shouldPluginEnterFullScreen(PluginView*, const char*)
    19891989{
    19901990    return m_client->shouldPluginEnterFullScreen();
     
    20032003}
    20042004
    2005 void WebPagePrivate::didPluginExitFullScreen(PluginView* plugin, const char* windowUniquePrefix)
     2005void WebPagePrivate::didPluginExitFullScreen(PluginView*, const char*)
    20062006{
    20072007    m_fullScreenPluginView = 0;
     
    20152015}
    20162016
    2017 void WebPagePrivate::onPluginStartBackgroundPlay(PluginView* plugin, const char* windowUniquePrefix)
     2017void WebPagePrivate::onPluginStartBackgroundPlay(PluginView*, const char*)
    20182018{
    20192019    m_client->onPluginStartBackgroundPlay();
    20202020}
    20212021
    2022 void WebPagePrivate::onPluginStopBackgroundPlay(PluginView* plugin, const char* windowUniquePrefix)
     2022void WebPagePrivate::onPluginStopBackgroundPlay(PluginView*, const char*)
    20232023{
    20242024    m_client->onPluginStopBackgroundPlay();
     
    29342934                textAnchor = IntPoint(reflowedRect.x() + reflowedRect.width() - actualVisibleSize().width(), topLeftPoint.y());
    29352935                break;
    2936             case TAAUTO:
     2936            case TASTART:
    29372937            case JUSTIFY:
    29382938            default:
     
    35793579
    35803580    IntSize offset;
    3581     if (hasPendingOrientation && !m_fullscreenVideoNode) {
     3581    if (hasPendingOrientation && !m_fullscreenNode) {
    35823582        offset = IntSize(roundf((viewportSizeBefore.width() - viewportSizeAfter.width()) / 2.0),
    35833583            roundf((viewportSizeBefore.height() - viewportSizeAfter.height()) / 2.0));
     
    45744574            anchor = FloatPoint(nodeRect.x() + nodeRect.width() - scaledViewportWidth, topLeftPoint.y());
    45754575            break;
    4576         case TAAUTO:
     4576        case TASTART:
    45774577        case JUSTIFY:
    45784578        default:
     
    52355235        return false;
    52365236
    5237     return !renderView->layer()->backing()->paintingGoesToWindow();
     5237    return !renderView->layer()->backing()->paintsIntoWindow();
    52385238#else
    52395239    return false;
  • trunk/Source/WebKit/blackberry/ChangeLog

    r147878 r147905  
     12013-04-08  Alberto Garcia  <agarcia@igalia.com>
     2
     3        [BlackBerry] WebPage: misc build fixes
     4        https://bugs.webkit.org/show_bug.cgi?id=114152
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        * Api/WebPage.cpp:
     9        (BlackBerry::WebKit::WebPagePrivate::shouldPluginEnterFullScreen):
     10        (BlackBerry::WebKit::WebPagePrivate::didPluginExitFullScreen):
     11        (BlackBerry::WebKit::WebPagePrivate::onPluginStartBackgroundPlay):
     12        (BlackBerry::WebKit::WebPagePrivate::onPluginStopBackgroundPlay):
     13        Remove unused parameters.
     14
     15        (BlackBerry::WebKit::WebPagePrivate::zoomAnimationFinished):
     16        (BlackBerry::WebKit::WebPage::blockZoom):
     17        Replace TAAUTO with TASTART (this changed in r120495).
     18
     19        (BlackBerry::WebKit::WebPagePrivate::setViewportSize):
     20        Rename m_fullscreenVideoNode to m_fullscreenNode (this changed in
     21        r142220).
     22
     23        (BlackBerry::WebKit::WebPagePrivate::compositorDrawsRootLayer):
     24        Rename paintingGoesToWindow() to paintsIntoWindow() (this changed in
     25        r113514).
     26
    1272013-04-07  David Kilzer  <ddkilzer@apple.com>
    228
Note: See TracChangeset for help on using the changeset viewer.