webengine/osswebengine/WebKit/s60/webview/SettingsContainer.cpp
changeset 65 5bfc169077b2
parent 38 6297cdf66332
child 68 92a765b5b3e7
equal deleted inserted replaced
42:d39add9822e2 65:5bfc169077b2
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 * Description:   DocumentLoader in webkit side
    14 * Description:   DocumentLoader in webkit side
    15 *
    15 *
    16 */
    16 */
       
    17 
    17 
    18 
    18 #include <../bidi.h>
    19 #include <../bidi.h>
    19 #include "SettingsContainer.h"
    20 #include "SettingsContainer.h"
    20 #include "WebView.h"
    21 #include "WebView.h"
    21 #include "BrCtl.h"
    22 #include "BrCtl.h"
    28 #include "Settings.h"
    29 #include "Settings.h"
    29 #include "HttpSessionManager.h"
    30 #include "HttpSessionManager.h"
    30 #include "StaticObjectsContainer.h"
    31 #include "StaticObjectsContainer.h"
    31 #include "ResourceLoaderDelegate.h"
    32 #include "ResourceLoaderDelegate.h"
    32 #include "HistoryInterface.h"
    33 #include "HistoryInterface.h"
    33 #include <brctldefs.h>
    34 #include "brctldefs.h"
    34 #include "WebDocumentLoader.h"
    35 #include "WebDocumentLoader.h"
    35 #include "Frame.h"
    36 #include "Frame.h"
    36 #include "FrameLoader.h"
    37 #include "FrameLoader.h"
    37 #include "WebCharsetData.h"
    38 #include "WebCharsetData.h"
    38 
    39 
   140         case TBrCtlDefs::ESettingsECMAScriptEnabled:
   141         case TBrCtlDefs::ESettingsECMAScriptEnabled:
   141             m_webView->page()->settings()->setJavaScriptEnabled(brctlSettings[setting]);
   142             m_webView->page()->settings()->setJavaScriptEnabled(brctlSettings[setting]);
   142             break;
   143             break;
   143         case TBrCtlDefs::ESettingsCurrentZoomLevelIndex:
   144         case TBrCtlDefs::ESettingsCurrentZoomLevelIndex:
   144             m_webView->setZoomLevel(brctlSettings[setting]);
   145             m_webView->setZoomLevel(brctlSettings[setting]);
   145             break;            
   146             break;
   146         case TBrCtlDefs::ESettingsAutoRefresh:
       
   147             brctlSetting(TBrCtlDefs::ESettingsAutoRefresh);
       
   148             break;        
       
   149     }
   147     }
   150 }
   148 }
   151 
   149 
   152 void SettingsContainer::updateHttpSetting(TBrCtlDefs::TBrCtlSettings setting)
   150 void SettingsContainer::updateHttpSetting(TBrCtlDefs::TBrCtlSettings setting)
   153 {
   151 {