#include "base/memory/raw_ptr.h"
#include "chrome/browser/ui/views/media_router/app_menu_test_api.h"
#include "build/build_config.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "chrome/browser/ui/views/toolbar/app_menu.h"
#include "chrome/browser/ui/views/toolbar/browser_app_menu_button.h"
#include "chrome/browser/ui/views/toolbar/toolbar_view.h"
namespace {
class AppMenuTestApiViews : public test::AppMenuTestApi { … };
AppMenuTestApiViews::AppMenuTestApiViews(Browser* browser)
: … { … }
AppMenuTestApiViews::~AppMenuTestApiViews() { … }
bool AppMenuTestApiViews::IsMenuShowing() { … }
void AppMenuTestApiViews::ShowMenu() { … }
void AppMenuTestApiViews::ExecuteCommand(int command) { … }
BrowserAppMenuButton* AppMenuTestApiViews::GetAppMenuButton() { … }
AppMenu* AppMenuTestApiViews::GetAppMenu() { … }
}
namespace test {
std::unique_ptr<AppMenuTestApi> AppMenuTestApi::Create(Browser* browser) { … }
}