webengine/osswebengine/WebKit/s60/plugins/PluginPlayer.cpp
changeset 13 10e98eab6f85
parent 0 dd21522fd290
equal deleted inserted replaced
8:7c90e6132015 13:10e98eab6f85
   128     m_plugin->makeVisible( ETrue );
   128     m_plugin->makeVisible( ETrue );
   129 
   129 
   130     DrawNow();
   130     DrawNow();
   131     // not sure why we need this for bavp
   131     // not sure why we need this for bavp
   132     m_plugin->SetRect( TRect( TPoint(x,y), m_orgrect.Size() ) );
   132     m_plugin->SetRect( TRect( TPoint(x,y), m_orgrect.Size() ) );
   133     m_plugin->setPluginFocusL(ETrue);
   133     TRAP_IGNORE( m_plugin->setPluginFocusL(ETrue) );
   134     
       
   135     }
   134     }
   136 
   135 
   137 void PluginPlayer::stop()
   136 void PluginPlayer::stop()
   138     {
   137     {
   139     m_plugin->setPluginFocusL(EFalse);
   138     TRAP_IGNORE( m_plugin->setPluginFocusL(EFalse) );
   140     m_plugin->SetParent( m_orgparent );
   139     m_plugin->SetParent( m_orgparent );
   141     m_plugin->SetRect( TRect( m_orgrect.iTl, m_orgrect.Size() ) );
   140     m_plugin->SetRect( TRect( m_orgrect.iTl, m_orgrect.Size() ) );
   142     m_plugin->makeVisible( EFalse );
   141     m_plugin->makeVisible( EFalse );
   143     }
   142     }
   144 
   143