browserplugins/browseraudiovideoplugin/src/BavpController.cpp
branchRCL_3
changeset 55 08ffbd51e3fd
parent 31 868cceedabd3
child 62 5a044f6358c2
--- a/browserplugins/browseraudiovideoplugin/src/BavpController.cpp	Tue Apr 27 16:41:18 2010 +0300
+++ b/browserplugins/browseraudiovideoplugin/src/BavpController.cpp	Tue May 11 16:16:13 2010 +0300
@@ -447,6 +447,12 @@
     TRect clipRect ( aRect );
     Log( EFalse, _L("GetClipRect") );
 
+#ifndef __PLATFORM_VERSION_32__
+    //For non touch device the Child rect is relative to view port, 
+    //where as for Touch device the child rect is relative to the application view rect (excluding the 
+    //status Pane
+    return aRect; 
+#else 
     AknLayoutUtils::LayoutMetricsRect( AknLayoutUtils::EMainPane, iNormalScreenRect );
 
   // Calculate not to cover the bottom or the top of the rect.
@@ -471,6 +477,7 @@
     }
 
     return clipRect;
+#endif 
     }
 
 // -----------------------------------------------------------------------------