blob: cb35a6fd2ef5433e0b7f8f6d9e702da2095dc968 [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MediaControlOverlayPlayButtonElement_h
#define MediaControlOverlayPlayButtonElement_h
#include "modules/media_controls/elements/MediaControlInputElement.h"
namespace blink {
class Event;
class MediaControlsImpl;
class MediaControlOverlayPlayButtonElement final
: public MediaControlInputElement {
public:
explicit MediaControlOverlayPlayButtonElement(MediaControlsImpl&);
// MediaControlInputElement overrides.
void UpdateDisplayType() override;
protected:
const char* GetNameForHistograms() const override;
private:
void DefaultEventHandler(Event*) override;
bool KeepEventInNode(Event*) override;
};
} // namespace blink
#endif // MediaControlOverlayPlayButtonElement_h