#ifndef CHROME_BROWSER_UI_GTK_DOWNLOAD_DOWNLOAD_SHELF_CONTEXT_MENU_GTK_H_
#define CHROME_BROWSER_UI_GTK_DOWNLOAD_DOWNLOAD_SHELF_CONTEXT_MENU_GTK_H_
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
#include "chrome/browser/download/download_shelf_context_menu.h"
#include "chrome/browser/ui/gtk/menu_gtk.h"
class DownloadItemGtk;
class DownloadShelfContextMenuGtk : public DownloadShelfContextMenu,
public MenuGtk::Delegate {
public:
DownloadShelfContextMenuGtk(DownloadItemGtk* download_item,
content::PageNavigator* navigator);
virtual ~DownloadShelfContextMenuGtk();
void Popup(GtkWidget* widget, GdkEventButton* event);
private:
virtual void StoppedShowing() OVERRIDE;
virtual GtkWidget* GetImageForCommandId(int command_id) const OVERRIDE;
scoped_ptr<MenuGtk> menu_;
DownloadItemGtk* download_item_gtk_;
DISALLOW_COPY_AND_ASSIGN(DownloadShelfContextMenuGtk);
};
#endif