accessible/mac/moz.build
author Masayuki Nakano <masayuki@d-toybox.com>
Thu, 31 May 2018 18:36:33 +0900
changeset 478700 44cb540ef2fc4589c2941ab13dc6ea6b6da59474
parent 351735 6204f84101b2c141b9e7c6faa15575e9d70f2e9e
permissions -rw-r--r--
Bug 900750 - part 5: Make NativeKey set KeyboardEvent.key value of AltRight key to "AltGraph" when active keyboard layout has AltGr key r=m_kato,smaug When AltGr key is pressed, following messages come: 1. WM_KEYDOWN for ControlLeft 2. WM_KEYDOWN for AltLeft 3. WM_SYSKEYUP for ControlLeft 4. WM_KEYUP for AltLeft In these key sequence, KeyboardEvent.key value of keydown event at #2 and keyup event at #4 should be "AltGraph". This patch fixes the key value and adding new test into test_keycodes.xul to check the behavior with SynthesizeNativeKey(). MozReview-Commit-ID: JZ6WednB8la

# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

EXPORTS += [
    'mozAccessibleProtocol.h',
]

EXPORTS.mozilla.a11y += [
    'AccessibleWrap.h',
    'HyperTextAccessibleWrap.h',
]

UNIFIED_SOURCES += [
    'AccessibleWrap.mm',
    'DocAccessibleWrap.mm',
    'MacUtils.mm',
    'mozAccessible.mm',
    'mozActionElements.mm',
    'mozDocAccessible.mm',
    'mozHTMLAccessible.mm',
    'mozTableAccessible.mm',
    'mozTextAccessible.mm',
    'Platform.mm',
    'RootAccessibleWrap.mm',
]

LOCAL_INCLUDES += [
    '/accessible/base',
    '/accessible/generic',
    '/accessible/html',
    '/accessible/ipc',
    '/accessible/ipc/other',
    '/accessible/xul',
    '/layout/generic',
    '/layout/xul',
    '/widget',
    '/widget/cocoa',
]

FINAL_LIBRARY = 'xul'

include('/ipc/chromium/chromium-config.mozbuild')