// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_VIEWS_CONTROLS_MENU_MENU_RUNNER_IMPL_INTERFACE_H_ #define UI_VIEWS_CONTROLS_MENU_MENU_RUNNER_IMPL_INTERFACE_H_ #include <stdint.h> #include <string> #include "base/functional/callback_forward.h" #include "ui/views/controls/menu/menu_runner.h" namespace gfx { class RoundedCornersF; } // namespace gfx namespace views { class MenuButtonController; namespace internal { // An abstract interface for menu runner implementations. // Invoke Release() to destroy. Release() deletes immediately if the menu isn't // showing. If the menu is showing Release() cancels the menu and when the // nested RunMenuAt() call returns deletes itself and the menu. class MenuRunnerImplInterface { … }; } // namespace internal } // namespace views #endif // UI_VIEWS_CONTROLS_MENU_MENU_RUNNER_IMPL_INTERFACE_H_