webengine/osswebengine/WebKit/s60/plugins/PluginSkin.cpp
branchRCL_3
changeset 38 4917f9bf7995
parent 37 ac77f89b1d9e
child 40 8bfb9186a8b8
equal deleted inserted replaced
37:ac77f89b1d9e 38:4917f9bf7995
  1093     TBool isFrameVisible = m_frame->frameView()->isVisible() && 
  1093     TBool isFrameVisible = m_frame->frameView()->isVisible() && 
  1094                            frameRectInViewCoord.Intersects(viewRect);
  1094                            frameRectInViewCoord.Intersects(viewRect);
  1095       
  1095       
  1096     if (m_pluginwin) {
  1096     if (m_pluginwin) {
  1097         TBool visibility = isFrameVisible && !isPageViewMode && isPluginVisible;
  1097         TBool visibility = isFrameVisible && !isPageViewMode && isPluginVisible;
  1098         m_pluginwin->makeVisible(visibility);
  1098         if(fullRect.Size() != TSize(0,0)) {
       
  1099             m_pluginwin->makeVisible(visibility);
       
  1100         }
  1099         if (!m_pluginwin->isPluginInFullscreen() && visibility) {
  1101         if (!m_pluginwin->isPluginInFullscreen() && visibility) {
  1100             clipRect.Intersection(fullRect);
  1102             clipRect.Intersection(fullRect);
  1101             m_pluginwin->SetRect(clipRect);
  1103             m_pluginwin->SetRect(clipRect);
  1102         }
  1104         }
  1103     }
  1105     }