| Index: chrome/browser/cocoa/extensions/extension_infobar_controller.h
|
| ===================================================================
|
| --- chrome/browser/cocoa/extensions/extension_infobar_controller.h (revision 52101)
|
| +++ chrome/browser/cocoa/extensions/extension_infobar_controller.h (working copy)
|
| @@ -9,12 +9,30 @@
|
|
|
| #import <Cocoa/Cocoa.h>
|
|
|
| +#import "base/scoped_nsobject.h"
|
| +#include "base/scoped_ptr.h"
|
| +
|
| +@class ExtensionActionContextMenu;
|
| +class ExtensionInfoBarDelegate;
|
| +class InfobarBridge;
|
| +@class MenuButton;
|
| +
|
| @interface ExtensionInfoBarController : InfoBarController {
|
| // The native extension view retrieved from the extension host. Weak.
|
| NSView* extensionView_;
|
|
|
| // The window containing this InfoBar. Weak.
|
| NSWindow* window_;
|
| +
|
| + // The InfoBar's button with the Extension's icon that launches the context
|
| + // menu.
|
| + scoped_nsobject<MenuButton> dropdownButton_;
|
| +
|
| + // The context menu that pops up when the left button is clicked.
|
| + scoped_nsobject<ExtensionActionContextMenu> contextMenu_;
|
| +
|
| + // Helper class to bridge C++ and ObjC functionality together for the infobar.
|
| + scoped_ptr<InfobarBridge> bridge_;
|
| }
|
|
|
| @end
|
|
|