Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(750)

Unified Diff: third_party/WebKit/Source/modules/media_controls/elements/MediaControlDownloadButtonElement.h

Issue 2898543002: media_controls: Add UI for showing a promo bubble on a control button. (Closed)
Patch Set: make animation work Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/media_controls/elements/MediaControlDownloadButtonElement.h
diff --git a/third_party/WebKit/Source/modules/media_controls/elements/MediaControlDownloadButtonElement.h b/third_party/WebKit/Source/modules/media_controls/elements/MediaControlDownloadButtonElement.h
index da1f7e08f9f7f6a3100155d5584ace7ce67f5ca9..548b4f3526aa29e41709fc70b085eca0f8a1c0d4 100644
--- a/third_party/WebKit/Source/modules/media_controls/elements/MediaControlDownloadButtonElement.h
+++ b/third_party/WebKit/Source/modules/media_controls/elements/MediaControlDownloadButtonElement.h
@@ -6,12 +6,21 @@
#define MediaControlDownloadButtonElement_h
#include "core/html/shadow/MediaControlElementTypes.h"
+#include "modules/media_controls/MediaControlsImpl.h"
+#include "modules/media_controls/elements/MediaControlElementsHelper.h"
namespace blink {
class Event;
class MediaControlsImpl;
+class MediaControlDownloadButtonContainer final
+ : public MediaControlDivElement {
+ public:
+ explicit MediaControlDownloadButtonContainer(MediaControlsImpl&);
+ bool KeepEventInNode(Event*) override;
+};
+
class MediaControlDownloadButtonElement final
: public MediaControlInputElement {
public:

Powered by Google App Engine
This is Rietveld 408576698