wmdrm/camese/wmdrmdlaapp/src/wmdrmdlabrowsercontainer.cpp
changeset 23 493788a4a8a4
parent 0 95b198f216e5
child 24 8cdda00a45da
--- a/wmdrm/camese/wmdrmdlaapp/src/wmdrmdlabrowsercontainer.cpp	Tue Feb 02 00:21:44 2010 +0200
+++ b/wmdrm/camese/wmdrmdlaapp/src/wmdrmdlabrowsercontainer.cpp	Fri Apr 16 15:14:55 2010 +0300
@@ -17,7 +17,7 @@
 
 
 // INCLUDE FILES
-#include <akndef.h>
+#include <AknDef.h>
 #include <aknview.h>
 #include <brctlinterface.h>
 #include "wmdrmdlabrowserview.h"
@@ -35,7 +35,7 @@
     CreateWindowL();
     SetRect( iView->ClientRect() );
     ActivateL();
-    
+
     iBrCtlInterface = CreateBrowserControlL(
             this,                                      // parent control
             iView->ClientRect(),                       // client rect
@@ -53,11 +53,11 @@
             NULL                                       // Download observer
             );
 
-    iBrCtlInterface->SetBrowserSettingL( TBrCtlDefs::ESettingsAutoLoadImages, 
-                                         ETrue );    
-    iBrCtlInterface->SetBrowserSettingL( TBrCtlDefs::ESettingsCookiesEnabled, 
+    iBrCtlInterface->SetBrowserSettingL( TBrCtlDefs::ESettingsAutoLoadImages,
                                          ETrue );
-    iBrCtlInterface->SetBrowserSettingL( TBrCtlDefs::ESettingsEmbedded, 
+    iBrCtlInterface->SetBrowserSettingL( TBrCtlDefs::ESettingsCookiesEnabled,
+                                         ETrue );
+    iBrCtlInterface->SetBrowserSettingL( TBrCtlDefs::ESettingsEmbedded,
                                          ETrue );
     }
 
@@ -78,7 +78,7 @@
     CAknView* aView,
     MBrCtlSpecialLoadObserver* aObserver )
     {
-    CWmDrmDlaBrowserContainer* self 
+    CWmDrmDlaBrowserContainer* self
         = CWmDrmDlaBrowserContainer::NewLC( aView, aObserver );
     CleanupStack::Pop( self );
     return self;
@@ -89,11 +89,11 @@
 // CWmDrmDlaBrowserContainer::NewLC
 // ---------------------------------------------------------------------------
 //
-CWmDrmDlaBrowserContainer* CWmDrmDlaBrowserContainer::NewLC( 
+CWmDrmDlaBrowserContainer* CWmDrmDlaBrowserContainer::NewLC(
     CAknView* aView,
     MBrCtlSpecialLoadObserver* aObserver )
     {
-    CWmDrmDlaBrowserContainer* self 
+    CWmDrmDlaBrowserContainer* self
         = new( ELeave ) CWmDrmDlaBrowserContainer( aView );
     CleanupStack::PushL( self );
     self->ConstructL( aObserver );
@@ -139,7 +139,7 @@
 void CWmDrmDlaBrowserContainer::SizeChanged()
     {
     if ( iBrCtlInterface )
-        {            
+        {
         iBrCtlInterface->SetRect( Rect() );
         }
     }
@@ -152,20 +152,20 @@
     TInt aIndex ) const
     {
     switch ( aIndex )
-        {            
+        {
         case 0:
             return iBrCtlInterface;
-        
+
         default:
             return NULL;
         }
     }
-    
+
 // ---------------------------------------------------------------------------
 // CWmDrmDlaBrowserContainer::OfferKeyEventL
 // ---------------------------------------------------------------------------
 //
-TKeyResponse CWmDrmDlaBrowserContainer::OfferKeyEventL( 
+TKeyResponse CWmDrmDlaBrowserContainer::OfferKeyEventL(
     const TKeyEvent& aKeyEvent,
     TEventCode aType )
     {
@@ -180,7 +180,7 @@
 // CWmDrmDlaBrowserContainer::FocusChanged
 // ---------------------------------------------------------------------------
 //
-void CWmDrmDlaBrowserContainer::FocusChanged( 
+void CWmDrmDlaBrowserContainer::FocusChanged(
     TDrawNow aDrawNow )
     {
     iBrCtlInterface->SetFocus( IsFocused() );