blob: 34c08e965b46d5631d11988ac962957d838d5dea [file] [log] [blame]
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_VIEWS_APP_MENU_BUTTON_WIN_H_
#define CHROME_BROWSER_UI_VIEWS_APP_MENU_BUTTON_WIN_H_
#include "chrome/browser/ui/views/wrench_toolbar_button.h"
// Button used for showing the app menu. Special cases space to show the system
// menu.
class AppMenuButtonWin : public WrenchToolbarButton {
public:
explicit AppMenuButtonWin(views::MenuButtonListener* menu_button_listener);
// MenuButton:
virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(AppMenuButtonWin);
};
#endif // CHROME_BROWSER_UI_VIEWS_APP_MENU_BUTTON_WIN_H_