Closed Bug 128127 Opened 23 years ago Closed 19 years ago

Widget should be able to determine if a window is a plugin

Categories

(Core Graveyard :: Plug-ins, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mkaply, Assigned: mkaply)

Details

Attachments

(2 files)

Right now, plugin windows are created as normal Mozilla child windows.

There are cases where it is necessary for the platform specific code to know 
that the window is a plugin.

There are two possibilities:

1. Create a new window type, eWindowType_plugin. Add support where necessary.

2. Add a flag that the window is a plugin to widget init data.

Looking for suggestions.
Here is an example that also knows if the plugin is Java.

We need this for OS/2 so that we can prevent some messages from going from the
Java plugin to the browser.
Keywords: patch
Comment on attachment 87569 [details] [diff] [review]
An example of this

r=peterl
Attachment #87569 - Flags: review+
Comment on attachment 87569 [details] [diff] [review]
An example of this

sr=beard
Attachment #87569 - Flags: superreview+
For this to work, we need to modify all front end code to handle the new window
types.
Looks like you are on it, Michael. Reassigning.
Assignee: av → mkaply
The code exists for widget layer to know this info.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: