#ifndef CHROME_BROWSER_UI_COCOA_LOCATION_BAR_SEARCH_BUTTON_DECORATION_H_
#define CHROME_BROWSER_UI_COCOA_LOCATION_BAR_SEARCH_BUTTON_DECORATION_H_
#import <Cocoa/Cocoa.h>
#include "chrome/browser/ui/cocoa/location_bar/button_decoration.h"
class LocationBarViewMac;
class SearchButtonDecoration : public ButtonDecoration {
public:
explicit SearchButtonDecoration(LocationBarViewMac* owner);
virtual ~SearchButtonDecoration();
virtual CGFloat GetWidthForSpace(CGFloat width) OVERRIDE;
virtual void DrawInFrame(NSRect frame, NSView* control_view) OVERRIDE;
virtual bool OnMousePressed(NSRect frame) OVERRIDE;
private:
LocationBarViewMac* owner_;
DISALLOW_COPY_AND_ASSIGN(SearchButtonDecoration);
};
#endif