webengine/wmlengine/src/xhtml/src/Image/ImageMapPopup.cpp
changeset 28 d39add9822e2
parent 0 dd21522fd290
equal deleted inserted replaced
27:6297cdf66332 28:d39add9822e2
    17 *
    17 *
    18 */
    18 */
    19 
    19 
    20 
    20 
    21 #include "ImageMapPopup.h"
    21 #include "ImageMapPopup.h"
    22 
    22 #include <browser_platform_variant.hrh>
    23 #include <e32math.h>
    23 #include <e32math.h>
    24 #include <apmstd.h>
    24 #include <apmstd.h>
    25 #include <bitdev.h>
    25 #include <bitdev.h>
    26 #include <gulicon.h>
    26 #include <gulicon.h>
    27 #include <akniconarray.h>
    27 #include <akniconarray.h>
   315 // 
   315 // 
   316 // -----------------------------------------------------------------------------
   316 // -----------------------------------------------------------------------------
   317 //
   317 //
   318 void CImageMapPopup::HandleListBoxEventL( CEikListBox* /*aListBox*/, TListBoxEvent aEventType )
   318 void CImageMapPopup::HandleListBoxEventL( CEikListBox* /*aListBox*/, TListBoxEvent aEventType )
   319   {
   319   {
       
   320 #ifdef BRDO_SINGLE_CLICK_ENABLED_FF  	
   320   if(aEventType == MEikListBoxObserver::EEventItemDoubleClicked || 
   321   if(aEventType == MEikListBoxObserver::EEventItemDoubleClicked || 
       
   322      aEventType == MEikListBoxObserver::EEventEnterKeyPressed || aEventType == EEventItemSingleClicked)
       
   323 #else
       
   324 	if(aEventType == MEikListBoxObserver::EEventItemDoubleClicked || 
   321      aEventType == MEikListBoxObserver::EEventEnterKeyPressed)
   325      aEventType == MEikListBoxObserver::EEventEnterKeyPressed)
       
   326 #endif     	
   322     {
   327     {
   323     AttemptExitL( ETrue );
   328     AttemptExitL( ETrue );
   324     }
   329     }
   325   return;
   330   return;
   326   }
   331   }