*** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@35036 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2467,9 +2467,13 @@ void nsPluginInstanceOwner::Paint(const nsRect& aDirtyRect)
|
||||
|
||||
//~~~
|
||||
#ifdef XP_WIN
|
||||
nsPluginEvent pluginEvent;
|
||||
PRBool eventHandled = PR_FALSE;
|
||||
mInstance->HandleEvent(&pluginEvent, &eventHandled);
|
||||
nsPluginEvent pluginEvent;
|
||||
nsPluginPort* pluginPort = GetPluginPort();
|
||||
pluginEvent.event = 0x000F; //!!! This is bad, but is it better to include <windows.h> for WM_PAINT only?
|
||||
pluginEvent.wParam = (uint32)pluginPort;
|
||||
pluginEvent.lParam = nsnull;
|
||||
PRBool eventHandled = PR_FALSE;
|
||||
mInstance->HandleEvent(&pluginEvent, &eventHandled);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
@@ -2467,9 +2467,13 @@ void nsPluginInstanceOwner::Paint(const nsRect& aDirtyRect)
|
||||
|
||||
//~~~
|
||||
#ifdef XP_WIN
|
||||
nsPluginEvent pluginEvent;
|
||||
PRBool eventHandled = PR_FALSE;
|
||||
mInstance->HandleEvent(&pluginEvent, &eventHandled);
|
||||
nsPluginEvent pluginEvent;
|
||||
nsPluginPort* pluginPort = GetPluginPort();
|
||||
pluginEvent.event = 0x000F; //!!! This is bad, but is it better to include <windows.h> for WM_PAINT only?
|
||||
pluginEvent.wParam = (uint32)pluginPort;
|
||||
pluginEvent.lParam = nsnull;
|
||||
PRBool eventHandled = PR_FALSE;
|
||||
mInstance->HandleEvent(&pluginEvent, &eventHandled);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user