Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(303)

Unified Diff: chrome/browser/cocoa/extensions/extension_infobar_controller.h

Issue 2973003: [Mac] Finish up extension infobar UI implementation. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698