equal
deleted
inserted
replaced
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 |