equal
deleted
inserted
replaced
16 */ |
16 */ |
17 |
17 |
18 |
18 |
19 // INCLUDE FILES |
19 // INCLUDE FILES |
20 #include <../bidi.h> |
20 #include <../bidi.h> |
21 #include <aknutils.h> |
21 #include <AknUtils.h> |
22 #include "WebPageZoomHandler.h" |
22 #include "WebPageZoomHandler.h" |
23 #include "SettingsContainer.h" |
23 #include "SettingsContainer.h" |
24 #include <AknVolumePopup.h> |
24 #include <AknVolumePopup.h> |
25 #include "WebView.h" |
25 #include "WebView.h" |
26 #include "BrCtl.h" |
26 #include "BrCtl.h" |
101 void WebPageZoomHandler::showZoomSliderL() |
101 void WebPageZoomHandler::showZoomSliderL() |
102 { |
102 { |
103 if ( AknLayoutUtils::PenEnabled() ) |
103 if ( AknLayoutUtils::PenEnabled() ) |
104 { |
104 { |
105 if (m_zoomSlider) { |
105 if (m_zoomSlider) { |
106 if( m_zoomSlider->IsVisible()) |
|
107 m_zoomSlider->CloseVolumePopup(); |
|
108 delete m_zoomSlider; |
106 delete m_zoomSlider; |
109 m_zoomSlider = NULL; |
107 m_zoomSlider = NULL; |
110 } |
108 } |
111 m_zoomSlider = CAknVolumePopup::NewL( NULL, ETrue); |
109 m_zoomSlider = CAknVolumePopup::NewL( NULL, ETrue); |
112 m_zoomSlider->SetValueType( EAknSliderValuePercentage ); |
110 m_zoomSlider->SetValueType( EAknSliderValuePercentage ); |