Changeset 21493 in webkit


Ignore:
Timestamp:
May 15, 2007 11:21:10 AM (17 years ago)
Author:
spadma
Message:

2007-05-15 spadma

Reviewed by Zalan.
DESC: [S60] User cannot detach from flash object after the object uses connection
http://bugs.webkit.org/show_bug.cgi?id=13731

  • BrowserView/src/WebKitControl.cpp: (CWebKitControl::FinalProgressComplete):
Location:
S60/trunk/WebKit
Files:
2 edited

Legend:

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

    r21379 r21493  
    18131813#endif // PROGRESS_LOG
    18141814
     1815    if ( iWebKitView->TabbedNavigation())
     1816        {
     1817        if( iWebKitView->Cursor() )
     1818            {
     1819            iWebKitView->Cursor()->CursorUpdate(EFalse);
     1820            }
     1821
     1822        TWebCoreFocusedElementType elType = EWebCoreElementNone;
     1823        iWebKitView->MainFrame().WebKitBridge().WebCoreBridge().TabbedNavigation(EWebNavDown,elType,ETrue);
     1824        iWebKitView->SetFocusedElementType((TBrCtlDefs::TBrCtlElementType)elType);
     1825        }
     1826    else
     1827        {
     1828        if( iWebKitView->Cursor() )
     1829            {
     1830            iWebKitView->Cursor()->CursorUpdate(iWebKitView->IsVisible());
     1831            TWebCoreFocusedElementType elType = EWebCoreElementNone;
     1832            TRect rect = TRect();
     1833            TPoint pt = iWebKitView->Cursor()->Position() + iWebKitView->MainFrame().ToViewCoords(iWebKitView->MainFrame().ContentPosition());
     1834            iWebKitView->MainFrame().WebKitBridge().WebCoreBridge().NavigableNodeUnderCursor(pt, elType, rect);
     1835            iWebKitView->SetFocusedElementType( (TBrCtlDefs::TBrCtlElementType)elType );
     1836            }
     1837        }
     1838
    18151839    // Before resetting progress value be sure to send client at least one
    18161840    // notification with final progress value
     
    18251849        }
    18261850    ResetProgress();
     1851       
    18271852    iBrCtl->HandleBrowserLoadEventL( TBrCtlDefs::EEventUrlLoadingFinished, 0, 0 );
    18281853    iBrCtl->HandleBrowserLoadEventL( TBrCtlDefs::EEventContentFinished, 0, 0 );
    18291854    iBrCtl->HandleBrowserLoadEventL( TBrCtlDefs::EEventLoadFinished, 0, 0 );
    1830    
    1831     // To make sure we draw the scrollbars with the correct background color, force drawing them again
    1832     iBrCtl->DrawScrollbarBackground();
     1855        // send error event
    18331856    if( aError != KErrNone )
    18341857        {
     
    18361859        }
    18371860
    1838     if ( iWebKitView->TabbedNavigation())
    1839         {
    1840         if( iWebKitView->Cursor() )
    1841             {
    1842             iWebKitView->Cursor()->CursorUpdate(EFalse);
    1843             }
    1844 
    1845         TWebCoreFocusedElementType elType = EWebCoreElementNone;
    1846         iWebKitView->MainFrame().WebKitBridge().WebCoreBridge().TabbedNavigation(EWebNavDown,elType,ETrue);
    1847         iWebKitView->SetFocusedElementType((TBrCtlDefs::TBrCtlElementType)elType);
    1848         }
    1849     else
    1850         {
    1851         if( iWebKitView->Cursor() )
    1852             {
    1853             iWebKitView->Cursor()->CursorUpdate(iWebKitView->IsVisible());
    1854             TWebCoreFocusedElementType elType = EWebCoreElementNone;
    1855             TRect rect = TRect();
    1856             TPoint pt = iWebKitView->Cursor()->Position() + iWebKitView->MainFrame().ToViewCoords(iWebKitView->MainFrame().ContentPosition());
    1857             iWebKitView->MainFrame().WebKitBridge().WebCoreBridge().NavigableNodeUnderCursor(pt, elType, rect);
    1858             iWebKitView->SetFocusedElementType( (TBrCtlDefs::TBrCtlElementType)elType );
    1859             }
    1860         }
    18611861
    18621862    //If this load is because of a request from visual history list
  • S60/trunk/WebKit/ChangeLog

    r21466 r21493  
     12007-05-15  spadma
     2
     3        Reviewed by Zalan.
     4        DESC: [S60] User cannot detach from flash object after the object uses connection
     5        http://bugs.webkit.org/show_bug.cgi?id=13731
     6
     7        * BrowserView/src/WebKitControl.cpp:
     8        (CWebKitControl::FinalProgressComplete):
     9
    110ligman, reviewed by Sachin
    211 DESC: Inputbox callback gets canceled before it has a chance to run. Setting it's priority to EPriorityUserInput
Note: See TracChangeset for help on using the changeset viewer.