1// Copyright (c) 2012 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef UI_VIEWS_CONTROLS_BUTTON_MENU_BUTTON_LISTENER_H_
6#define UI_VIEWS_CONTROLS_BUTTON_MENU_BUTTON_LISTENER_H_
7
8#include "ui/views/views_export.h"
9
10namespace gfx {
11class Point;
12}
13
14namespace views {
15
16class View;
17
18// An interface implemented by an object to let it know that a menu button was
19// clicked.
20class VIEWS_EXPORT MenuButtonListener {
21 public:
22  virtual void OnMenuButtonClicked(View* source, const gfx::Point& point) = 0;
23
24 protected:
25  virtual ~MenuButtonListener() {}
26};
27
28}  // namespace views
29
30#endif  // UI_VIEWS_CONTROLS_BUTTON_MENU_BUTTON_LISTENER_H_
31