#include "third_party/blink/renderer/modules/media_controls/elements/media_control_download_button_element.h"
#include "third_party/blink/public/mojom/fetch/fetch_api_request.mojom-blink.h"
#include "third_party/blink/public/platform/platform.h"
#include "third_party/blink/public/platform/user_metrics_action.h"
#include "third_party/blink/public/strings/grit/blink_strings.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/execution_context/execution_context.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/frame/local_frame_client.h"
#include "third_party/blink/renderer/core/frame/settings.h"
#include "third_party/blink/renderer/core/html/media/html_media_element.h"
#include "third_party/blink/renderer/core/html/media/html_media_element_controls_list.h"
#include "third_party/blink/renderer/core/input_type_names.h"
#include "third_party/blink/renderer/core/page/page.h"
#include "third_party/blink/renderer/modules/media_controls/media_controls_impl.h"
#include "third_party/blink/renderer/platform/text/platform_locale.h"
#include "ui/strings/grit/ax_strings.h"
namespace blink {
MediaControlDownloadButtonElement::MediaControlDownloadButtonElement(
MediaControlsImpl& media_controls)
: … { … }
bool MediaControlDownloadButtonElement::ShouldDisplayDownloadButton() const { … }
int MediaControlDownloadButtonElement::GetOverflowStringId() const { … }
bool MediaControlDownloadButtonElement::HasOverflowButton() const { … }
bool MediaControlDownloadButtonElement::IsControlPanelButton() const { … }
void MediaControlDownloadButtonElement::Trace(Visitor* visitor) const { … }
const char* MediaControlDownloadButtonElement::GetNameForHistograms() const { … }
void MediaControlDownloadButtonElement::DefaultEventHandler(Event& event) { … }
}