Changeset 98560 in webkit


Ignore:
Timestamp:
Oct 27, 2011 6:19:53 AM (12 years ago)
Author:
abecsi@webkit.org
Message:

[Qt][WK2] Remove QAction from MiniBrowser
https://bugs.webkit.org/show_bug.cgi?id=70525

This fixes the commonview tests that were failing
after r98447.
WebViewAbstraction must forward actions to both
the TouchWebView and the DesktopWebView.

Patch by Zeno Albisser <zeno.albisser@nokia.com> on 2011-10-27
Reviewed by Kenneth Rohde Christiansen.

  • UIProcess/API/qt/tests/commonviewtests/webviewabstraction.cpp:

(WebViewAbstraction::goBack):
(WebViewAbstraction::goForward):
(WebViewAbstraction::stop):
(WebViewAbstraction::reload):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r98558 r98560  
     12011-10-27  Zeno Albisser  <zeno.albisser@nokia.com>
     2
     3        [Qt][WK2] Remove QAction from MiniBrowser
     4        https://bugs.webkit.org/show_bug.cgi?id=70525
     5
     6        This fixes the commonview tests that were failing
     7        after r98447.
     8        WebViewAbstraction must forward actions to both
     9        the TouchWebView and the DesktopWebView.
     10
     11        Reviewed by Kenneth Rohde Christiansen.
     12
     13        * UIProcess/API/qt/tests/commonviewtests/webviewabstraction.cpp:
     14        (WebViewAbstraction::goBack):
     15        (WebViewAbstraction::goForward):
     16        (WebViewAbstraction::stop):
     17        (WebViewAbstraction::reload):
     18
    1192011-10-27  Zalan Bujtas  <zbujtas@gmail.com>
    220
  • trunk/Source/WebKit2/UIProcess/API/qt/tests/commonviewtests/webviewabstraction.cpp

    r98447 r98560  
    101101{
    102102    touchWebView()->page()->navigationController()->goBack();
     103    desktopWebView()->navigationController()->goBack();
    103104}
    104105
     
    106107{
    107108    touchWebView()->page()->navigationController()->goForward();
     109    desktopWebView()->navigationController()->goForward();
    108110}
    109111
     
    111113{
    112114    touchWebView()->page()->navigationController()->stop();
     115    desktopWebView()->navigationController()->stop();
    113116}
    114117
     
    116119{
    117120    touchWebView()->page()->navigationController()->reload();
     121    desktopWebView()->navigationController()->reload();
    118122}
    119123
Note: See TracChangeset for help on using the changeset viewer.