Chromium Code Reviews

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

Issue 2973004: [Mac]Implement ViewID support. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Turns out that, it's not a good solution. Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « chrome/browser/cocoa/location_bar/autocomplete_text_field.mm ('k') | chrome/browser/cocoa/reload_button.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/menu_button.h
diff --git a/chrome/browser/cocoa/menu_button.h b/chrome/browser/cocoa/menu_button.h
index c03caa2966cfa317061569ced1ac6a64deeceb52..10ad2d9d738a35712283fce0a5d1cedc6ae0e754 100644
--- a/chrome/browser/cocoa/menu_button.h
+++ b/chrome/browser/cocoa/menu_button.h
@@ -8,11 +8,12 @@
#import <Cocoa/Cocoa.h>
#include "base/scoped_nsobject.h"
+#import "chrome/browser/cocoa/button_with_viewid.h"
// This a button which displays a user-provided menu "attached" below it upon
// being clicked or dragged (or clicked and held). It expects a
// |ClickHoldButtonCell| as cell.
-@interface MenuButton : NSButton {
+@interface MenuButton : ButtonWithViewID {
@private
IBOutlet NSMenu* attachedMenu_;
scoped_nsobject<NSPopUpButtonCell> popUpCell_;
« no previous file with comments | « chrome/browser/cocoa/location_bar/autocomplete_text_field.mm ('k') | chrome/browser/cocoa/reload_button.h » ('j') | no next file with comments »

Powered by Google App Engine