equal
deleted
inserted
replaced
244 PERFLOG_CREATE; |
244 PERFLOG_CREATE; |
245 PERFLOG_LOCAL_INIT; |
245 PERFLOG_LOCAL_INIT; |
246 PERFLOG_STOPWATCH_START; |
246 PERFLOG_STOPWATCH_START; |
247 |
247 |
248 |
248 |
|
249 #ifdef BRDO_SINGLE_CLICK_ENABLED_FF |
|
250 BaseConstructL( EAknEnableSkin | EAknEnableMSK | EAknSingleClickCompatible); |
|
251 #else |
249 BaseConstructL( EAknEnableSkin | EAknEnableMSK ); |
252 BaseConstructL( EAknEnableSkin | EAknEnableMSK ); |
250 |
253 #endif |
251 if ( !IsEmbeddedModeOn( ) ) |
254 if ( !IsEmbeddedModeOn( ) ) |
252 { |
255 { |
253 InitBrowserL(); |
256 InitBrowserL(); |
254 LOG_WRITE( "Browser started standalone" ); |
257 LOG_WRITE( "Browser started standalone" ); |
255 } |
258 } |
329 iPreferences = CBrowserPreferences::NewL( *iCommsModel, *this, doc->GetOverriddenSettings()); |
332 iPreferences = CBrowserPreferences::NewL( *iCommsModel, *this, doc->GetOverriddenSettings()); |
330 PERFLOG_STOP_WRITE("\t Preferences NewL"); |
333 PERFLOG_STOP_WRITE("\t Preferences NewL"); |
331 BROWSER_LOG( ( _L( "Preferences up" ) ) ); |
334 BROWSER_LOG( ( _L( "Preferences up" ) ) ); |
332 |
335 |
333 PERFLOG_STOPWATCH_START; |
336 PERFLOG_STOPWATCH_START; |
334 iConnection = CInternetConnectionManager::NewL( &iCommsModel->CommsDb(), EFalse ); |
337 #ifdef BRDO_OCC_ENABLED_FF |
|
338 iConnection = CInternetConnectionManager::NewL( &iCommsModel->CommsDb(), ETrue ); |
|
339 #else |
|
340 iConnection = CInternetConnectionManager::NewL( &iCommsModel->CommsDb(), EFalse ); |
|
341 #endif |
|
342 |
335 PERFLOG_STOP_WRITE("\t ConnMan NewL"); |
343 PERFLOG_STOP_WRITE("\t ConnMan NewL"); |
336 BROWSER_LOG( ( _L( "ConnectionManager up" ) ) ); |
344 BROWSER_LOG( ( _L( "ConnectionManager up" ) ) ); |
337 |
345 |
338 |
346 |
339 PERFLOG_STOPWATCH_START; |
347 PERFLOG_STOPWATCH_START; |
540 { |
548 { |
541 BrCtlInterface().HandleCommandL( (TInt)TBrCtlDefs::ECommandReload + |
549 BrCtlInterface().HandleCommandL( (TInt)TBrCtlDefs::ECommandReload + |
542 (TInt)TBrCtlDefs::ECommandIdBase ); |
550 (TInt)TBrCtlDefs::ECommandIdBase ); |
543 break; |
551 break; |
544 } |
552 } |
|
553 #ifdef BRDO_SINGLE_CLICK_ENABLED_FF |
|
554 case EWmlCmdSetAsHomePage: |
|
555 { |
|
556 ContentView()->HandleCommandL(EWmlCmdSetAsHomePage); |
|
557 break; |
|
558 } |
|
559 #endif |
545 case EAknSoftkeyBack: |
560 case EAknSoftkeyBack: |
546 case EWmlCmdBack: |
561 case EWmlCmdBack: |
547 { |
562 { |
548 HistoryLoadPrevious(); |
563 HistoryLoadPrevious(); |
549 break; |
564 break; |