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

Unified Diff: third_party/WebKit/Source/core/html/media/MediaControls.h

Issue 2700663002: Adds keyboard functionality for videos. (Closed)
Patch Set: Addresses mlamouri's #20 comments. Created 3 years, 8 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/core/html/media/MediaControls.h
diff --git a/third_party/WebKit/Source/core/html/media/MediaControls.h b/third_party/WebKit/Source/core/html/media/MediaControls.h
index 415a00bace2257f4180c3e94ba2bb4b0483a2328..bf1e040e0b9c7698e60c3876cd661f710e22a934 100644
--- a/third_party/WebKit/Source/core/html/media/MediaControls.h
+++ b/third_party/WebKit/Source/core/html/media/MediaControls.h
@@ -12,6 +12,7 @@
namespace blink {
class Document;
+class Event;
class HTMLMediaElement;
class LayoutObject;
class MediaControlCastButtonElement;
@@ -104,6 +105,7 @@ class CORE_EXPORT MediaControls : public GarbageCollectedMixin {
virtual void toggleOverflowMenu() = 0;
virtual bool overflowMenuVisible() = 0;
virtual void onMediaControlsEnabledChange() = 0;
+ virtual void onMediaKeyboardEvent(Event*) = 0;
DECLARE_VIRTUAL_TRACE();

Powered by Google App Engine
This is Rietveld 408576698