// Copyright 2021 The Chromium Authors // 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_GLOBAL_MEDIA_CONTROLS_MEDIA_TOOLBAR_BUTTON_CONTEXTUAL_MENU_H_ #define CHROME_BROWSER_UI_VIEWS_GLOBAL_MEDIA_CONTROLS_MEDIA_TOOLBAR_BUTTON_CONTEXTUAL_MENU_H_ #include "base/memory/raw_ptr.h" #include "build/branding_buildflags.h" #include "ui/base/models/simple_menu_model.h" class Browser; namespace global_media_controls { class MediaItemManager; } // The contextual menu of the media toolbar button has two items, both of which // are related to Cast. So this class should be instantiated only when // GlobalMediaControlsCastStartStop is enabled. class MediaToolbarButtonContextualMenu : public ui::SimpleMenuModel::Delegate { … }; #endif // CHROME_BROWSER_UI_VIEWS_GLOBAL_MEDIA_CONTROLS_MEDIA_TOOLBAR_BUTTON_CONTEXTUAL_MENU_H_