(informal protocol)
| Framework | /System/Library/Frameworks/WebKit.framework |
| Availability | Available in Mac OS X v10.3.9 and later.
|
| Declared in | WebPluginContainer.h |
| Companion guides |
WebPlugInContainer is an informal protocol that enables a plug-in to send messages to the application.
Returns the WebFrame that contains the plug-in.
- (WebFrame *)webFrame
Only implemented by containers that are based on the Web Kit’s plug-in architecture.
WebPluginContainer.hLoads a URL into a web frame.
- (void)webPlugInContainerLoadRequest:(NSURLRequest *)request inFrame:(NSString *)target
Tells the plug-in’s enclosing application to load a URL specified by request in the frame specified by inFrame. If the frame specified by inFrame is not found, a new window is opened, loaded with the URL request, and named with the specified frame name. If inFrame is nil, the frame enclosing the plug-in is loaded with the URL request.
WebPluginContainer.hReturns the plug-in selection color.
- (NSColor *)webPlugInContainerSelectionColor
The color should be used for any special drawing when the plug-in is selected.
WebPluginContainer.hTells the container to show a status message.
- (void)webPlugInContainerShowStatus:(NSString *)message
The argument message specifies the status message to be displayed.
WebPluginContainer.h
Last updated: 2006-05-23