Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

Next Page > Hide TOC

WebPlugInContainer Protocol Reference

(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

Overview

WebPlugInContainer is an informal protocol that enables a plug-in to send messages to the application.

Tasks

Performing Actions on the Enclosing Container

Obtaining Information About the Container

Instance Methods

webFrame

Returns the WebFrame that contains the plug-in.

- (WebFrame *)webFrame

Discussion

Only implemented by containers that are based on the Web Kit’s plug-in architecture.

Availability
Declared In
WebPluginContainer.h

webPlugInContainerLoadRequest:inFrame:

Loads a URL into a web frame.

- (void)webPlugInContainerLoadRequest:(NSURLRequest *)request inFrame:(NSString *)target

Discussion

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.

Availability
Declared In
WebPluginContainer.h

webPlugInContainerSelectionColor

Returns the plug-in selection color.

- (NSColor *)webPlugInContainerSelectionColor

Discussion

The color should be used for any special drawing when the plug-in is selected.

Availability
Declared In
WebPluginContainer.h

webPlugInContainerShowStatus:

Tells the container to show a status message.

- (void)webPlugInContainerShowStatus:(NSString *)message

Discussion

The argument message specifies the status message to be displayed.

Availability
Declared In
WebPluginContainer.h

Next Page > Hide TOC


Last updated: 2006-05-23




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice