browserui/browser/BrowserAppSrc/BrowserContentViewContainer.cpp
branchRCL_3
changeset 52 25214794fad6
parent 22 d6f226a5ad2c
child 55 08ffbd51e3fd
equal deleted inserted replaced
50:c9249d037530 52:25214794fad6
   100 // ---------------------------------------------------------------------------
   100 // ---------------------------------------------------------------------------
   101 //
   101 //
   102 void CBrowserContentViewContainer::ConstructL()
   102 void CBrowserContentViewContainer::ConstructL()
   103     {
   103     {
   104     CreateWindowL();
   104     CreateWindowL();
       
   105 
       
   106 #if defined(BRDO_MULTITOUCH_ENABLED_FF) && !defined (__WINSCW__)       
       
   107     //Enable advance pointer info for multi-touch.
       
   108     Window().EnableAdvancedPointers();
       
   109 #endif  
       
   110     
   105     SetAllowStrayPointers();
   111     SetAllowStrayPointers();
   106     SetMopParent( iView );
   112     SetMopParent( iView );
   107 
   113 
   108     iGotoPane = CBrowserGotoPane::NewL( this,
   114     iGotoPane = CBrowserGotoPane::NewL( this,
   109                                         EMbmAvkonQgn_indi_find_goto,
   115                                         EMbmAvkonQgn_indi_find_goto,
   315         }
   321         }
   316 
   322 
   317     // Ignore key event in zoom mode
   323     // Ignore key event in zoom mode
   318     if ( result == EKeyWasNotConsumed && !iView->isZoomMode())
   324     if ( result == EKeyWasNotConsumed && !iView->isZoomMode())
   319         {
   325         {
       
   326         if ( !iView->PenEnabled() && iView->FullScreenMode() && keyEvent.iRepeats) 
       
   327             {
       
   328                 iView->setFullScreenFlag();
       
   329                 iView->EnableFullScreenModeL( EFalse );
       
   330             }
   320         TRAP_IGNORE(result = iApiProvider.BrCtlInterface().OfferKeyEventL(keyEvent, aType));
   331         TRAP_IGNORE(result = iApiProvider.BrCtlInterface().OfferKeyEventL(keyEvent, aType));
   321         }
   332         }
   322 
   333 
   323     /**
   334     /**
   324     * When checking long or short key presses, iScanCode must be used, because
   335     * When checking long or short key presses, iScanCode must be used, because