browserui/browser/FavouritesSrc/BrowserFavouritesContainer.cpp
changeset 15 d6f226a5ad2c
parent 0 84ad3b177aa3
child 24 868cceedabd3
equal deleted inserted replaced
11:16a119033e3e 15:d6f226a5ad2c
    47 #include "BrowserFavouritesView.h"
    47 #include "BrowserFavouritesView.h"
    48 #include "BrowserFavouritesContainer.h"
    48 #include "BrowserFavouritesContainer.h"
    49 #include "BrowserFavouritesListbox.h"
    49 #include "BrowserFavouritesListbox.h"
    50 #include "BrowserFavouritesListboxModel.h"
    50 #include "BrowserFavouritesListboxModel.h"
    51 #include "BrowserFavouritesListboxIconHandler.h"
    51 #include "BrowserFavouritesListboxIconHandler.h"
       
    52 #include "logger.h" 
    52 
    53 
    53 // CONSTANTS
    54 // CONSTANTS
    54 LOCAL_D const TInt KTabId = 88888;
    55 LOCAL_D const TInt KTabId = 88888;
    55 LOCAL_D const TInt KMaxNaviText = 25;   // format is "<int>/<int>".
    56 LOCAL_D const TInt KMaxNaviText = 25;   // format is "<int>/<int>".
    56 _LIT( KFormat, "%d/%d" );
    57 _LIT( KFormat, "%d/%d" );
   215     if ( result == EKeyWasNotConsumed && iListbox )
   216     if ( result == EKeyWasNotConsumed && iListbox )
   216         {
   217         {
   217         // Otherwise, let the listbox fiddle with it. This will NOT consume
   218         // Otherwise, let the listbox fiddle with it. This will NOT consume
   218         // arrow presses (base class overridden).
   219         // arrow presses (base class overridden).
   219         result = iListbox->OfferKeyEventL( aKeyEvent, aType );
   220         result = iListbox->OfferKeyEventL( aKeyEvent, aType );
       
   221         
       
   222         if( (aKeyEvent.iCode == EKeyDownArrow) || (aKeyEvent.iCode == EKeyUpArrow) )  
       
   223                 {  
       
   224                 BROWSER_LOG( ( _L("Need to update tool bar buttons") ) );  
       
   225                 iView->UpdateToolbarButtonsState();  
       
   226                 }  
       
   227 
   220         }
   228         }
   221 
   229 
   222     return result;
   230     return result;
   223 	}
   231 	}
   224 
   232