<!--
{
  "documentType" : "article",
  "framework" : "ObjectiveC",
  "identifier" : "/documentation/ObjectiveC/webplugincontainer",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "WebPlugInContainer"
}
-->

# WebPlugInContainer

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

## Topics

### Performing actions on the enclosing container

[`func webPlugInContainerLoad(URLRequest!, inFrame: String!)`](/documentation/ObjectiveC/NSObject-swift.class/webPlugInContainerLoad(_:inFrame:))

Loads a URL into a web frame.

[`func webPlugInContainerShowStatus(String!)`](/documentation/ObjectiveC/NSObject-swift.class/webPlugInContainerShowStatus(_:))

Tells the container to show a status message.

### Obtaining information about the container

[`var webFrame: WebFrame!`](/documentation/ObjectiveC/NSObject-swift.class/webFrame)

Returns the `WebFrame` that contains the plug-in.

[`var webPlugInContainerSelectionColor: NSColor!`](/documentation/ObjectiveC/NSObject-swift.class/webPlugInContainerSelectionColor)

Returns the plug-in selection color.

## See Also

  [WebKit Objective-C Programming Guide](https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/DisplayWebContent/DisplayWebContent.html#//apple_ref/doc/uid/10000164i)



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)