#include "ui/views/controls/button/menu_button.h"
#include <memory>
#include <utility>
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/events/event.h"
#include "ui/views/controls/button/button_controller_delegate.h"
#include "ui/views/controls/button/menu_button_controller.h"
#include "ui/views/view_class_properties.h"
namespace views {
MenuButton::MenuButton(PressedCallback callback,
const std::u16string& text,
int button_context)
: … { … }
MenuButton::~MenuButton() = default;
bool MenuButton::Activate(const ui::Event* event) { … }
void MenuButton::SetCallback(PressedCallback callback) { … }
void MenuButton::NotifyClick(const ui::Event& event) { … }
BEGIN_METADATA(…)
}