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

Unified Diff: chrome/browser/cocoa/blocked_popup_container_controller.h

Issue 149145: Add remaining functionality for popup blocker: popup menu to unblock individu... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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/blocked_popup_container_controller.h
===================================================================
--- chrome/browser/cocoa/blocked_popup_container_controller.h (revision 19942)
+++ chrome/browser/cocoa/blocked_popup_container_controller.h (working copy)
@@ -26,7 +26,7 @@
scoped_ptr<BlockedPopupContainerView> bridge_;
BlockedPopupContainer* container_; // Weak. "owns" me.
scoped_nsobject<NSView> view_;
- IBOutlet NSTextField* label_;
+ IBOutlet NSPopUpButton* popupButton_;
}
// Initialize with the given popup container. Creates the C++ bridge object
@@ -45,8 +45,10 @@
@interface BlockedPopupContainerController(ForTesting)
- (NSView*)view;
-- (NSView*)label;
+- (NSPopUpButton*)popupButton;
- (IBAction)closePopup:(id)sender;
+- (NSMenu*)buildMenu;
+- (void)setContainer:(BlockedPopupContainer*)container;
@end
#endif // CHROME_BROWSER_VIEWS_BLOCKED_POPUP_CONTAINER_CONTROLLER_H_
« no previous file with comments | « chrome/browser/blocked_popup_container.cc ('k') | chrome/browser/cocoa/blocked_popup_container_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698