webengine/osswebengine/WebKit/s60/plugins/PluginWin.cpp
branchRCL_3
changeset 46 30342f40acbf
parent 44 800203832575
child 47 e1bea15f9a39
equal deleted inserted replaced
44:800203832575 46:30342f40acbf
   496 // -----------------------------------------------------------------------------
   496 // -----------------------------------------------------------------------------
   497 //
   497 //
   498 void PluginWin::HandleGainingForeground()
   498 void PluginWin::HandleGainingForeground()
   499 {
   499 {
   500     if (m_notifier) {
   500     if (m_notifier) {
       
   501         if(m_pluginHasBitmap)
       
   502             { 
       
   503             ClearPluginBitmap(); 
       
   504             m_pluginskin->activateVisiblePlugins(); 
       
   505             }
   501         TRAP_IGNORE(m_notifier->NotifyL(MPluginNotifier::EApplicationFocusChanged, (void*)1));
   506         TRAP_IGNORE(m_notifier->NotifyL(MPluginNotifier::EApplicationFocusChanged, (void*)1));
   502     }
   507     }
   503 }
   508 }
   504 
   509 
   505 // -----------------------------------------------------------------------------
   510 // -----------------------------------------------------------------------------
   609             TInt zoomlevel = view->zoomLevel();
   614             TInt zoomlevel = view->zoomLevel();
   610 		    TPoint oldPos(mf->frameView()->contentPos());
   615 		    TPoint oldPos(mf->frameView()->contentPos());
   611 		    TPoint newPos ((aOffset.iX  * 100)/zoomlevel, (aOffset.iY  * 100)/zoomlevel);
   616 		    TPoint newPos ((aOffset.iX  * 100)/zoomlevel, (aOffset.iY  * 100)/zoomlevel);
   612 	        c->offsetCursor( aOffset );
   617 	        c->offsetCursor( aOffset );
   613             mf->frameView()->scrollTo(oldPos + newPos);
   618             mf->frameView()->scrollTo(oldPos + newPos);
       
   619             view->scrollStatus(false); 
   614             c->cursorUpdate(EFalse);        
   620             c->cursorUpdate(EFalse);        
   615         }
   621         }
   616 
   622 
   617     }
   623     }
   618 
   624