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

Unified Diff: chrome/browser/ui/cocoa/profile_menu_button_unittest.mm

Issue 6735062: In ProfileMenuButtonTest, ProfileMenuDelegate must adopt the NSMenuDelegate protocol (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/profile_menu_button_unittest.mm
===================================================================
--- chrome/browser/ui/cocoa/profile_menu_button_unittest.mm (revision 80463)
+++ chrome/browser/ui/cocoa/profile_menu_button_unittest.mm (working copy)
@@ -4,6 +4,7 @@
#import <Cocoa/Cocoa.h>
+#import "base/mac/cocoa_protocols.h"
#import "chrome/browser/ui/cocoa/cocoa_test_helper.h"
#import "chrome/browser/ui/cocoa/profile_menu_button.h"
#import "chrome/browser/ui/cocoa/test_event_utils.h"
@@ -47,13 +48,13 @@
// A menu delegate that will count the number open/close calls it recieves.
// The delegate will also automatically close the menu after it opens.
-@interface ProfileMenuDelegate : NSObject {
+@interface ProfileMenuDelegate : NSObject<NSMenuDelegate> {
int menuOpenCount_;
int menuCloseCount_;
}
-@property(assign,nonatomic) int menuOpenCount;
-@property(assign,nonatomic) int menuCloseCount;
+@property(assign, nonatomic) int menuOpenCount;
+@property(assign, nonatomic) int menuCloseCount;
@end
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698