(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.
– webPlugInContainerLoadRequest:inFrame: required method
– webPlugInContainerShowStatus: required method
– webFrame required method
– webPlugInContainerSelectionColor required method
Returns the WebFrame that contains the plug-in. (required)
- (WebFrame *)webFrame
The WebFrame that contains the plug-in.
Only implemented by containers that are based on the WebKit’s plug-in architecture.
WebPluginContainer.hLoads a URL into a web frame. (required)
- (void)webPlugInContainerLoadRequest:(NSURLRequest *)request inFrame:(NSString *)target
The request that specifies the URL.
The frame into which the URL is loaded.
If the frame specified by target is not found, a new window is opened, loaded with the URL request, and given the specified frame name. If target is nil, the frame enclosing the plug-in is loaded with the URL request.
WebPluginContainer.hReturns the plug-in selection color. (required)
- (NSColor *)webPlugInContainerSelectionColor
The plug-in selection color.
The color should be used for any special drawing when the plug-in is selected.
WebPluginContainer.hTells the container to show a status message. (required)
- (void)webPlugInContainerShowStatus:(NSString *)message
The status message to be displayed.
WebPluginContainer.hLast updated: 2009-04-08