Added mPluginPort, which is either the assigned port, or an empty one shared among all plugin instances. This should inhibit drawing when an applet leaves the current page.

This commit is contained in:
beard%netscape.com 1998-12-17 18:20:42 +00:00
Родитель 499259c8a6
Коммит 5a297e3119
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -82,6 +82,7 @@ public:
void showFrames();
void hideFrames();
void releaseFrames();
const char* getCodeBase();
@ -108,6 +109,8 @@ private:
// Finds a suitable MRJPage object for this document URL, or creates one.
MRJPage* findPage(const MRJPageAttributes& attributes);
static CGrafPtr getEmptyPort();
private:
MRJPluginInstance* mPluginInstance;
MRJSession* mSession;
@ -121,6 +124,7 @@ private:
nsPluginWindow mCache;
nsPluginWindow* mPluginWindow;
RgnHandle mPluginClipping;
CGrafPtr mPluginPort;
char* mCodeBase;
MRJPage* mPage;
};