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

Unified Diff: ui/events/keycodes/keyboard_code_conversion_xkb.cc

Issue 1835493003: Convert XKB_KEY_XF86AudioPlay to MEDIA_PLAY_PAUSE (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/keycodes/keyboard_code_conversion_xkb.cc
diff --git a/ui/events/keycodes/keyboard_code_conversion_xkb.cc b/ui/events/keycodes/keyboard_code_conversion_xkb.cc
index e6817e18a400f90c21390395fd73bfef2428a159..a556af99916fd5c9ddca72394ee469a6c03a1499 100644
--- a/ui/events/keycodes/keyboard_code_conversion_xkb.cc
+++ b/ui/events/keycodes/keyboard_code_conversion_xkb.cc
@@ -239,7 +239,7 @@ DomKey NonPrintableXKeySymToDomKey(xkb_keysym_t keysym) {
case XKB_KEY_XF86AudioRaiseVolume:
return DomKey::AUDIO_VOLUME_UP;
case XKB_KEY_XF86AudioPlay:
- return DomKey::MEDIA_PLAY;
+ return DomKey::MEDIA_PLAY_PAUSE;
case XKB_KEY_XF86AudioStop:
return DomKey::MEDIA_STOP;
case XKB_KEY_XF86AudioPrev:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698