equal
deleted
inserted
replaced
2209 |
2209 |
2210 void CBrCtl::doCloseWindowSoon() |
2210 void CBrCtl::doCloseWindowSoon() |
2211 { |
2211 { |
2212 m_windoCloseTimer->Cancel(); |
2212 m_windoCloseTimer->Cancel(); |
2213 if (brCtlWindowObserver()) |
2213 if (brCtlWindowObserver()) |
2214 TRAP_IGNORE(brCtlWindowObserver()->HandleWindowCommandL(KNullDesC(), ECloseWindow)); |
2214 { |
|
2215 TRAPD(err,brCtlWindowObserver()->HandleWindowCommandL(KNullDesC(), ECloseWindow)); |
|
2216 if ( err == KLeaveExit ) |
|
2217 { // while we exit the browser it actually leaves with KLeaveExit from the system. |
|
2218 // If we block this here then the exit would not happen so propogate the leave |
|
2219 // condition to the system for handling |
|
2220 User::Leave(KLeaveExit); |
|
2221 } |
|
2222 } |
2215 } |
2223 } |
2216 |
2224 |
2217 TBool CBrCtl::sendCommandsToClient( |
2225 TBool CBrCtl::sendCommandsToClient( |
2218 TBrCtlDefs::TBrCtlClientCommands aCommand, |
2226 TBrCtlDefs::TBrCtlClientCommands aCommand, |
2219 const CArrayFix<TPtrC>& aAttributesNames, |
2227 const CArrayFix<TPtrC>& aAttributesNames, |