equal
deleted
inserted
replaced
697 } |
697 } |
698 case TBrCtlDefs::ECommandOpen: |
698 case TBrCtlDefs::ECommandOpen: |
699 { |
699 { |
700 if (m_webView->pageView()) { |
700 if (m_webView->pageView()) { |
701 m_webView->closePageView(); |
701 m_webView->closePageView(); |
|
702 PluginSkin* plugin = m_webView->mainFrame()->focusedPlugin(); |
|
703 if(plugin) |
|
704 plugin->setPluginWinClipedRect(); |
702 } else { |
705 } else { |
703 if (m_historyHandler->historyController()->historyView()) { |
706 if (m_historyHandler->historyController()->historyView()) { |
704 // this is a weird way of managing history view. needs fixing |
707 // this is a weird way of managing history view. needs fixing |
705 TKeyEvent keyEvent; |
708 TKeyEvent keyEvent; |
706 keyEvent.iCode = EKeyDevice3; |
709 keyEvent.iCode = EKeyDevice3; |
2022 return m_webView->focusedImageLC(); |
2025 return m_webView->focusedImageLC(); |
2023 } |
2026 } |
2024 |
2027 |
2025 EXPORT_C TBool CBrCtl::OkToExit() |
2028 EXPORT_C TBool CBrCtl::OkToExit() |
2026 { |
2029 { |
2027 return WebCore::StaticObjectsContainer::instance()->resourceLoaderDelegate()->httpSessionManager()->httpDownload()->okToExit(); |
2030 HttpDownload* httpDownload = WebCore::StaticObjectsContainer::instance()->resourceLoaderDelegate()->httpSessionManager()->httpDownload(); |
|
2031 if ( httpDownload ) |
|
2032 { |
|
2033 return httpDownload->okToExit(); |
|
2034 } |
|
2035 return ETrue; |
2028 } |
2036 } |
2029 |
2037 |
2030 EXPORT_C CGulIcon* CBrCtl::GetBitmapData(const TDesC& aUrl, TBrCtlDefs::TBrCtlBitmapInfo aBitmapInfo) |
2038 EXPORT_C CGulIcon* CBrCtl::GetBitmapData(const TDesC& aUrl, TBrCtlDefs::TBrCtlBitmapInfo aBitmapInfo) |
2031 { |
2039 { |
2032 CGulIcon* icon = NULL; |
2040 CGulIcon* icon = NULL; |
2465 return m_brCtlDownloadObserver; |
2473 return m_brCtlDownloadObserver; |
2466 } |
2474 } |
2467 |
2475 |
2468 |
2476 |
2469 |
2477 |
|
2478 |