Граф коммитов

53 Коммитов

Автор SHA1 Сообщение Дата
Eric Rahm fe18bf0131 Bug 1386825 - Part 4: Remove remaining instances of MOZ_B2G. r=froydnj
MozReview-Commit-ID: 8r4eMwiZ4Vg
2017-08-08 14:41:09 -07:00
Masayuki Nakano 6395b563e8 Bug 1339509 Map ISO_Left_Tab to DOM Tab key r=karlt
Shift + Tab key combination causes ISO_Left_Tab keysym instead of Tab.  It should be mapped to DOM Tab key.

MozReview-Commit-ID: IgQj7tkQdoJ

--HG--
extra : rebase_source : 2f88c1181795d568ac4ec785f416d986d8d6625e
2017-02-17 16:47:35 +09:00
Masayuki Nakano 07f4ac2764 Bug 1274503 part.4 Remove some odd whitespaces in NativeKeyToDOMKeyName.h r=smaug
MozReview-Commit-ID: GxcVOPMNqOx

--HG--
extra : rebase_source : 3270985bba0d78c87df77d3e94d2a4942a9c46c6
2016-11-21 22:14:36 +09:00
Masayuki Nakano 173ce3fe7c Bug 1274503 part.3 Remap AKEYCODE_BACK, AKEYCODE_DPAD_CENTER and AKEYCODE_CAPTIONS to same KeyboardEvent.key value as Chromium r=smaug
AKEYCODE_BACK should be remapped from "BrowserBack" to "GoBack".
AKEYCODE_DPAD_CENTER should be remapped from "Accept" to "Enter".
AKEYCODE_CAPTIONS should be remapped from "Subtitle" to "ClosedCaptionToggle".

The new values are same as Chromium and they are also declared in the spec.

FYI: Gaia doesn't use above key values, so, it's safe to use KEY_MAP_ANDROID for them.

MozReview-Commit-ID: AJwhB59cKzq

--HG--
extra : rebase_source : 8fc923647ee92b39a3317c36fa306f555ddfe2c8
2016-11-21 22:15:07 +09:00
Masayuki Nakano ab577a1cb6 Bug 1274503 part.2 Add KeyboardEvent.key value mapping on Android which are not mapped by Gecko but mapped on Chromium r=smaug
First, we should get rid of "Unidentified" keys which are mapped to specific value on Chromium and we can agree without any discussion.

MozReview-Commit-ID: C4TZzndahNM

--HG--
extra : rebase_source : 5e9d7527c4109049a44391fca45f2ffbd0f81960
2016-12-01 21:38:54 +09:00
Masayuki Nakano db5a4ed912 Bug 1274503 part.1 AKEYCODE_ASSIST shouldn't be mapped to "Help" r=smaug
I mapped AKEYCODE_ASSIST to "Help".  However, Chromium doesn't map the keycode to anything. Additionally, Android has a new keycode AKEYCODE_HELP and Chromium maps it to "Help". So, we should use Chromium's mapping for it.

MozReview-Commit-ID: 19zTP0xclYI

--HG--
extra : rebase_source : c6e5d9f7572b496e4766159aa281088571b11d91
2016-11-04 21:08:04 +09:00
Masayuki Nakano bd5c351eec Bug 1274503 part.0 Move "MediaFastForward" to "Media Keys" section for keeping same order with the spec r=smaug
MozReview-Commit-ID: 4eGNIDmbPds

--HG--
extra : rebase_source : 9702ff391f4d4f7ddabdc9aefdfafdd381d5d69f
2016-11-03 22:01:10 +09:00
Sebastian Hengst 3c1524e5e0 Bug 1306137 - remove b2g camera code: Remove dom/camera/ and code which depends on it. r=aosmond,bkelly
MozReview-Commit-ID: 7gvZrDtmcZP

--HG--
extra : rebase_source : 31f06357fdc36566465668f55bf3fcc5402fe9e0
2016-10-04 20:16:28 +02:00
Nicholas Nethercote a913f99107 Bug 1285554 - Remove remnants of widget/qt. r=dougt,mshal.
Because bug 1282866 removed Qt support but missed a bunch of things.
* * *
Bug 1285554 - more

--HG--
extra : rebase_source : c48d2485f1fdf1c961e08d91651bbca41e3a1a53
2016-07-12 09:16:45 +10:00
Gregor Wagner ea1566d538 Bug 1277234 - Rename key name VolumeUp to AudioVolumeUp. r=masayuki 2016-06-02 15:55:53 +02:00
Masayuki Nakano 38e54402b2 Bug 1272599 part.2 Rename KeyboardEvent.key values, "MozHomeScreen" and "MozCameraFocusAdjust" to "GoHome" and "CameraFocus" except on B2G r=smaug
KEYCODE_HOME was temporarily named as "MozHomeScreen" and KEYCODE_FOCUS was temprarily named as "MozCameraFocusAdjust" since they were not defined by the spec. However, in the latest spec, they are defined as "GoHome" and "CameraFocus". So, it is the time to rename them.

However, these temporary key names are still used by Gaia. Until it's fixed, we should keep using the temporary names only on B2G.

MozReview-Commit-ID: 9ILtZdf6EUQ

--HG--
extra : rebase_source : f673ca6e128705af3071dafbd7ab1eb8e310297d
2016-05-20 21:29:10 +09:00
Masayuki Nakano 18d7f8212d Bug 1272599 part.1 Rename KeyboardEvent.key value, "MozPhoneCall" to "Call" r=smaug
Android's KEYCODE_CALL was temporarily named as "MozPhoneCall" since proper key name was not defined in the spec. However, now, it's defined as "Call" in the latest spec. Therefore, we should rename this key name.

Note that this isn't available on Android because the key event is never fired on applications. However, this key may be useful on B2G. Although, the key is not used by current Gaia.

MozReview-Commit-ID: GF4STYrGMig

--HG--
extra : rebase_source : 7d94c0a3c47d9ba1fadc4de475d71967d6281545
2016-05-20 21:00:20 +09:00
Masayuki Nakano 4205d9edae Bug 1272578 part.3 Rename key name VolumeMute to AudioVolumeMute except on B2G r=smaug
VolumeMute was renamed to AudioVolumeMute in the latest draft and Chromium uses the new name. Therefore, we need to update this but Gaia uses the old name. So, we shouldn't rename on B2G until Gaia is fixed.

Note that this patch changes tests but they are not used by B2G. Therefore, just replacing with new name is enough.

Only forms.js is necessary #ifdef because the main purpose of forms.js is for B2G's IME framework. However, it's available on the other platforms if chrome needs to use it.

MozReview-Commit-ID: KSkcPbIovin

--HG--
extra : rebase_source : 4ff5d92b000599806367b002fd08aa5ae858ee4d
2016-05-21 00:57:18 +09:00
Masayuki Nakano 65d3998d32 Bug 1272578 part.2 Rename key name VolumeUp to AudioVolumeUp except on B2G r=smaug
VolumeUp was renamed to AudioVolumeUp in the latest draft and Chromium uses the new name. Therefore, we need to update this but Gaia uses the old name. So, we shouldn't rename on B2G until Gaia is fixed.

Note that this patch changes tests but they are not used by B2G. Therefore, just replacing with new name is enough.

Only forms.js is necessary #ifdef because the main purpose of forms.js is for B2G's IME framework. However, it's available on the other platforms if chrome needs to use it.

MozReview-Commit-ID: KzLVL5Y2dIN

--HG--
extra : rebase_source : d7a70f556684cdc99989e408e0e87a04e2da43d9
2016-05-21 00:55:48 +09:00
Masayuki Nakano 97f043ea9e Bug 1272578 part.1 Rename key name VolumeDown to AudioVolumeDown except on B2G r=smaug
VolumeDown was renamed to AudioVolumeDown in the latest draft and Chromium uses the new name. Therefore, we need to update this but Gaia uses the old name. So, we shouldn't rename on B2G until Gaia is fixed.

Note that this patch changes tests but they are not used by B2G. Therefore, just replacing with new name is enough.

Only forms.js is necessary #ifdef because the main purpose of forms.js is for B2G's IME framework. However, it's available on the other platforms if chrome needs to use it.

MozReview-Commit-ID: cq98qJnS8M

--HG--
extra : rebase_source : 98653e5427d9d4720d19011673cbb0f9cdf36f1a
2016-05-21 00:52:03 +09:00
Masayuki Nakano 02cb827ee5 Bug 1272592 Merge "MediaSelect" key value into "LaunchMediaPlayer" r=smaug
"MediaSelect" is merged into "LanuchMediaPlayer" in the spec since there is no difference between them and "LaunchMediaPlayer" explains the meaning clearer.

This patch removes "MediaSelect" key value and maps all keys which are mapped to "MediaSelect" to "LaunchMediaPlayer".

MozReview-Commit-ID: IEZhV4p6Qag
2016-05-19 20:47:32 +09:00
Masayuki Nakano 838c23f20a Bug 1232919 part.2 Reorganize NativeKeyToDOMKeyName.h for using same definition order of the latest UI Events KeyboardEvent key values r=smaug
MozReview-Commit-ID: ANBe57BbVgb

--HG--
extra : rebase_source : 694c3cb66449f51a75a311f8fc07b5b1c40ae1d6
2016-05-13 18:49:46 +09:00
Wes Kocher 7c13cd34da Backed out changeset 3c46096adeaf (bug 1272592) for landing before some requisite commits CLOSED TREE 2016-05-20 17:59:41 -07:00
Masayuki Nakano 90aa97cb1c Bug 1272592 Merge "MediaSelect" key value into "LaunchMediaPlayer" r=smaug
"MediaSelect" is merged into "LanuchMediaPlayer" in the spec since there is no difference between them and "LaunchMediaPlayer" explains the meaning clearer.

This patch removes "MediaSelect" key value and maps all keys which are mapped to "MediaSelect" to "LaunchMediaPlayer".

MozReview-Commit-ID: IEZhV4p6Qag

--HG--
extra : rebase_source : deeeb5bd6b0aa7fa4c7beb9b6e4cd5671520c232
2016-05-19 20:47:32 +09:00
Hansu Kim 634317f368 Bug 1112712 - DOM key mapping for soft1 soft2 and call keys r=schien
--HG--
extra : amend_source : 12897e7dc7681ea285088153a258983e6b90e5a1
2015-10-16 11:04:11 -07:00
Nigel Babu 6075cf3e03 Backed out changeset 02a7211c3ac8 (bug 1112712) for build bustage 2015-10-05 14:29:44 +05:30
hansu9866@gmail.com 238476d73a Bug 1112712 - DOM key and code mapping for simple phone hardware keys. r=masayuki
commit eb0f93fdeaba83493ad231b62e8d27793e1a67ca
Author: Hansu Kim <hansu9866@gmail.com>
    Bug 1112712 DOM key and code mapping for simple phone hardware keys

    Change-Id: I8b37b82e374ce287af334061eaaa49f1b9f350b8

--HG--
extra : amend_source : 3331d014f4206e0a6351a5607a83af21c0ca883f
2015-10-01 16:13:00 +02:00
Kartikaya Gupta cd5b55f8d6 Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Alexandre Lissy d5f7076117 Bug 1133741 - Add camera focus hardware button. r=masayuki 2015-02-20 00:06:00 -05:00
Masayuki Nakano 5dcd3154ee Bug 1121878 Map Copy, Cut, ChannelDown, ChannelUp and MediaFastForward to proper WM_APPCOMMAND message r=smaug+jimm 2015-01-16 21:15:06 +09:00
Sean Lin 8e19b30dd6 Bug 1116762 - Add MozHomeScreen key name for home button. r=masayuki 2015-01-08 11:29:54 +08:00
Masayuki Nakano ce2aef65dd Bug 1031156 Map GDK_AudioForward to "MediaFastForwar" r=karlt 2014-12-30 10:47:56 +09:00
Masayuki Nakano 7fd8ddebc2 Bug 865561 Dispatch key events when WM_APPCOMMAND is fired for a keypress r=jimm+smaug 2014-12-30 10:47:56 +09:00
Masayuki Nakano f840763cec Bug 1027477 Don't map "Exit" key value to HOME button of smartphones r=mwu+nchen+smaug 2014-12-30 10:47:56 +09:00
Masayuki Nakano f9f5b47d2c Bug 1027474 Support "VideoModeNext" key value on GTK r=smaug+karlt 2014-12-30 10:47:56 +09:00
Masayuki Nakano 4cefbaca68 Bug 1027472 Support Symbol key value on Android and Gonk r=mwu+nchen+smaug 2014-12-30 10:47:55 +09:00
Masayuki Nakano 478c8eafdf Bug 1027007 Support multimedia keyboard's special key values "Close", "MailForward", "MailReply", "MailSend", "New", "Open", "Print" and "SpellCheck" on GTK and Qt r=smaug+karlt+romaxa 2014-12-30 10:47:55 +09:00
Masayuki Nakano 4cfc2a5d68 Bug 1026939 Support "LaunchFoo" key values which launches specific application on GTK, Qt, Android and Gonk r=nchen+karlt+mwu+smaug+romaxa 2014-12-30 10:47:55 +09:00
Masayuki Nakano 20c6bd2f32 Bug 1023062 Support "TV", "TVInput", "TVPower", "AVInput", "AVPower", "STBInput" and "STBPower" key values on Androind and Gonk r=nchen+mwu+smaug 2014-12-30 10:47:55 +09:00
Masayuki Nakano 3801317282 Bug 936322 Support "GroupFirst", "GroupLast", "GroupNext" and "GroupPrevious" key values on GTK, Android and Gonk r=nchen+karlt+mwu+smaug 2014-12-30 10:47:55 +09:00
Masayuki Nakano 569bacdbd2 Bug 896348 Support "Eisu" key value on Mac, Android and Gonk r=smichaud+nchen+mwu+smaug 2014-12-30 10:47:55 +09:00
Masayuki Nakano b76d23b4bc Bug 900400 Support "HiraganaKatakana" and "ZenkakuHankaku" on GTK, Qt, Android and Gonk r=nchen+karlt+mwu+smaug+romaxa 2014-12-30 10:47:55 +09:00
Masayuki Nakano bc55189154 Bug 900392 Support "SingleCandidate" key value on GTK and Qt r=romaxa+karlt+smaug 2014-12-30 10:47:55 +09:00
Masayuki Nakano d5da3d58da Bug 900384 Support "Redo" key value on GTK r=karlt+smaug 2014-12-30 10:47:54 +09:00
Masayuki Nakano f55d83102d Bug 900382 Support "LogOff", "PowerOff", "Hibernate", "Standby" and "WakeUp" key values on Windows, GTK and Qt r=jimm+karlt+smaug+jimm 2014-12-30 10:47:54 +09:00
Masayuki Nakano 6e2fea9d4e Bug 900378 Support "ZoomIn" and "ZoomOut" key values on GTK, Qt, Android and Gonk r=romaxa+nchen+karlt+mwu+smaug 2014-12-30 10:47:54 +09:00
Masayuki Nakano 6bed28ea07 BUg 1020877 Drop 'Live' key name since no platforms use it and rename remaining unused old key names to the latest D3E draft's names r=smaug 2014-12-30 10:47:54 +09:00
Masayuki Nakano f83e02a827 Bug 938987 Use 'Dead' key value for all dead keys r=smaug 2014-12-30 10:47:54 +09:00
Masayuki Nakano 557870be28 Bug 936315 Rename 'Nonconvert', 'HalfWidth', 'RomanCharacters' and 'FullWidth' to 'NonConvert', 'Hankaku', 'Romaji' and 'Zenkaku' r=smaug 2014-12-30 10:47:54 +09:00
Masayuki Nakano d8ce689fbc Bug 912869 Rename 'Apps' and 'FastFwd' to 'MediaApps' and 'MediaFastForward' (and drop 'MediaApps' support) r=smaug 2014-12-30 10:47:54 +09:00
Masayuki Nakano 897a3b7ca7 Bug 912866 Rename key values of color buttons to the latest D3E draft's names (like 'ColorF0Red') r=smaug 2014-12-30 10:47:54 +09:00
Masayuki Nakano 0fa15c7ffb Bug 912864 Rename 'SelectMedia', 'MediaNextTrack' and 'MediaPreviousTrack' to 'MediaSelect', 'MediaTrackNext' and 'MediaTrackPrevious' r=smaug 2014-12-30 10:47:53 +09:00
Masayuki Nakano c71773be27 Bug 912860 Rename 'Zoom' key value to 'ZoomToggle' r=smaug 2014-12-30 10:47:53 +09:00
Masayuki Nakano 0c18e15f5d Bug 912859 Rename 'Del' and 'Esc' key values to 'Delete' and 'Escape' r=smaug 2014-12-30 10:47:53 +09:00
Masayuki Nakano 507b30c237 Bug 900390 Rename 'Down', 'Left', 'Right' and 'Up' key values to 'ArrowDown', 'ArrowLeft', 'ArrowRight' and 'ArrowUp' r=smaug 2014-12-30 10:47:53 +09:00