#ifndef CHROME_BROWSER_UI_COCOA_TOOLBAR_BACK_FORWARD_MENU_CONTROLLER_H_
#define CHROME_BROWSER_UI_COCOA_TOOLBAR_BACK_FORWARD_MENU_CONTROLLER_H_
#import <Cocoa/Cocoa.h>
#include "base/mac/scoped_nsobject.h"
#include "base/memory/scoped_ptr.h"
#include "chrome/browser/ui/toolbar/back_forward_menu_model.h"
@class MenuButton;
typedef BackForwardMenuModel::ModelType BackForwardMenuType;
const BackForwardMenuType BACK_FORWARD_MENU_TYPE_BACK =
BackForwardMenuModel::BACKWARD_MENU;
const BackForwardMenuType BACK_FORWARD_MENU_TYPE_FORWARD =
BackForwardMenuModel::FORWARD_MENU;
@interface BackForwardMenuController : NSObject<NSMenuDelegate> {
@private
BackForwardMenuType type_;
MenuButton* button_;
scoped_ptr<BackForwardMenuModel> model_;
base::scoped_nsobject<NSMenu> backForwardMenu_;
}
@property(readonly, nonatomic) BackForwardMenuType type;
- (id)initWithBrowser:(Browser*)browser
modelType:(BackForwardMenuType)type
button:(MenuButton*)button;
@end
#endif