Changeset 21402 in webkit


Ignore:
Timestamp:
May 11, 2007 7:37:03 AM (17 years ago)
Author:
yongjzha
Message:

raalexan, <rasvan.alexandrescu@nokia.com>

Reviewed by Yongjun Zhang.
DESC: Browser back goes to the beginning of the previous page
http://bugs.webkit.org/show_bug.cgi?id=13394
TSW ID : TMCN-6YDJDU

  • BrowserView/src/LoadListeners.cpp: (CPageLoadListener::HeadersL):
Location:
S60/trunk/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • S60/trunk/WebKit/BrowserView/src/LoadListeners.cpp

    r20160 r21402  
    162162    if( headerInfo.HttpStatus() == EHttpOK )
    163163        {
     164        // Since the new page is loading fine, we should update the position of history
     165        // the history list
     166        iWebKitLoader->WebKitBridge().Frame().WebKitView().WebKitControl().HistoryController().UpdateCurrentEntryPosition();
     167
     168        //Reset all the flags in webkitview, do this only once
     169        if (!iWebKitLoader->WebKitBridge().Frame().Parent())
     170            {
     171            iWebKitLoader->WebKitBridge().Frame().WebKitView().ResetFlags();
     172            }
     173       
    164174        // When the new page is loaded, the scroll position needs to be reset to (0,0)
    165175        // otherwise an unncessary draw() happens while changing the scrollposition to (0,0)
     
    167177        // TSW# SPIO-6W7GCZ
    168178        iWebKitLoader->WebKitBridge().Frame().SetContentPosition(TPoint(0,0));
    169         // Since the new page is loading fine, we should update the position of history
    170         // the history list
    171         iWebKitLoader->WebKitBridge().Frame().WebKitView().WebKitControl().HistoryController().UpdateCurrentEntryPosition();
    172 
    173         //Reset all the flags in webkitview, do this only once
    174         if (!iWebKitLoader->WebKitBridge().Frame().Parent())
    175             {
    176             iWebKitLoader->WebKitBridge().Frame().WebKitView().ResetFlags();
    177             }
    178179
    179180        // Let the webcore know about the incoming data
  • S60/trunk/WebKit/ChangeLog

    r21401 r21402  
     1raalexan, <rasvan.alexandrescu@nokia.com>
     2 
     3        Reviewed by Yongjun Zhang.
     4        DESC: Browser back goes to the beginning of the previous page
     5        http://bugs.webkit.org/show_bug.cgi?id=13394
     6        TSW ID : TMCN-6YDJDU
     7
     8        * BrowserView/src/LoadListeners.cpp:
     9        (CPageLoadListener::HeadersL):
     10
    111vbradley, reviewed by Yongjun
    212 DESC: EAMO-6YSHHQ - Fonts overlap in browser
Note: See TracChangeset for help on using the changeset viewer.