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

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

Issue 2700663002: Adds keyboard functionality for videos. (Closed)
Patch Set: Clean up. Created 3 years, 9 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/shadow/MediaControls.h
diff --git a/third_party/WebKit/Source/core/html/shadow/MediaControls.h b/third_party/WebKit/Source/core/html/shadow/MediaControls.h
index 590db6ed0005814993ba95c843bdc2d4848023c6..67a1a0e1748a6aed6dd4e6281f3b97e987e30a14 100644
--- a/third_party/WebKit/Source/core/html/shadow/MediaControls.h
+++ b/third_party/WebKit/Source/core/html/shadow/MediaControls.h
@@ -119,6 +119,8 @@ class CORE_EXPORT MediaControls final : public HTMLDivElement {
refreshCastButtonVisibilityWithoutUpdate();
}
+ void onMediaKeyboardEvent(Event* event) { defaultEventHandler(event); }
mlamouri (slow - plz ping) 2017/03/27 13:02:12 Can you move this in the block that starts with th
CJ 2017/04/08 00:31:27 Done.
+
DECLARE_VIRTUAL_TRACE();
private:

Powered by Google App Engine
This is Rietveld 408576698