#include "third_party/blink/renderer/modules/media_controls/elements/media_control_popup_menu_element.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_focus_options.h"
#include "third_party/blink/renderer/core/css/css_property_value_set.h"
#include "third_party/blink/renderer/core/css/css_style_declaration.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/dom/events/event.h"
#include "third_party/blink/renderer/core/dom/events/native_event_listener.h"
#include "third_party/blink/renderer/core/dom/focus_params.h"
#include "third_party/blink/renderer/core/event_type_names.h"
#include "third_party/blink/renderer/core/events/keyboard_event.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/geometry/dom_rect.h"
#include "third_party/blink/renderer/core/html/html_element.h"
#include "third_party/blink/renderer/core/html/media/html_media_element.h"
#include "third_party/blink/renderer/core/html_names.h"
#include "third_party/blink/renderer/core/keywords.h"
#include "third_party/blink/renderer/modules/media_controls/elements/media_control_elements_helper.h"
#include "third_party/blink/renderer/modules/media_controls/elements/media_control_overflow_menu_button_element.h"
#include "third_party/blink/renderer/modules/media_controls/media_controls_impl.h"
#include "third_party/blink/renderer/platform/keyboard_codes.h"
#include "third_party/blink/renderer/platform/wtf/functional.h"
namespace blink {
class MediaControlPopupMenuElement::EventListener final
: public NativeEventListener { … };
MediaControlPopupMenuElement::~MediaControlPopupMenuElement() = default;
void MediaControlPopupMenuElement::SetIsWanted(bool wanted) { … }
void MediaControlPopupMenuElement::OnItemSelected() { … }
void MediaControlPopupMenuElement::DefaultEventHandler(Event& event) { … }
bool MediaControlPopupMenuElement::KeepEventInNode(const Event& event) const { … }
void MediaControlPopupMenuElement::RemovedFrom(ContainerNode& container) { … }
void MediaControlPopupMenuElement::Trace(Visitor* visitor) const { … }
MediaControlPopupMenuElement::MediaControlPopupMenuElement(
MediaControlsImpl& media_controls)
: … { … }
void MediaControlPopupMenuElement::SetPosition() { … }
Element* MediaControlPopupMenuElement::PopupAnchor() const { … }
void MediaControlPopupMenuElement::HideIfNotFocused() { … }
bool MediaControlPopupMenuElement::FocusListItemIfDisplayed(Node* node) { … }
void MediaControlPopupMenuElement::SelectFirstItem() { … }
void MediaControlPopupMenuElement::SelectNextItem() { … }
void MediaControlPopupMenuElement::SelectPreviousItem() { … }
void MediaControlPopupMenuElement::CloseFromKeyboard() { … }
void MediaControlPopupMenuElement::FocusPopupAnchorIfOverflowClosed() { … }
}