mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
5cd8830a74
I ran the following command: ``` rg -l 'NSAlphaShiftKeyMask' . | xargs sed -i '' -e 's/NSAlphaShiftKeyMask/NSEventModifierFlagCapsLock/g' rg -l 'NSAlternateKeyMask' . | xargs sed -i '' -e 's/NSAlternateKeyMask/NSEventModifierFlagOption/g' rg -l 'NSAnyEventMask' . | xargs sed -i '' -e 's/NSAnyEventMask/NSEventMaskAny/g' rg -l 'NSApplicationDefined' . | xargs sed -i '' -e 's/NSApplicationDefined/NSEventTypeApplicationDefined/g' rg -l 'NSBorderlessWindowMask' . | xargs sed -i '' -e 's/NSBorderlessWindowMask/NSWindowStyleMaskBorderless/g' rg -l 'NSCenterTextAlignment' . | xargs sed -i '' -e 's/NSCenterTextAlignment/NSTextAlignmentCenter/g' rg -l 'NSClosableWindowMask' . | xargs sed -i '' -e 's/NSClosableWindowMask/NSWindowStyleMaskClosable/g' rg -l 'NSCommandKeyMask' . | xargs sed -i '' -e 's/NSCommandKeyMask/NSEventModifierFlagCommand/g' rg -l 'NSCompositeCopy' . | xargs sed -i '' -e 's/NSCompositeCopy/NSCompositingOperationCopy/g' rg -l 'NSControlKeyMask' . | xargs sed -i '' -e 's/NSControlKeyMask/NSEventModifierFlagControl/g' rg -l 'NSDeviceIndependentModifierFlagsMask' . | xargs sed -i '' -e 's/NSDeviceIndependentModifierFlagsMask/NSEventModifierFlagDeviceIndependentFlagsMask/g' rg -l 'NSFlagsChanged' . | xargs sed -i '' -e 's/NSFlagsChanged/NSEventTypeFlagsChanged/g' rg -l 'NSFullScreenWindowMask' . | xargs sed -i '' -e 's/NSFullScreenWindowMask/NSWindowStyleMaskFullScreen/g' rg -l 'NSFullSizeContentViewWindowMask' . | xargs sed -i '' -e 's/NSFullSizeContentViewWindowMask/NSWindowStyleMaskFullSizeContentView/g' rg -l 'NSFunctionKeyMask' . | xargs sed -i '' -e 's/NSFunctionKeyMask/NSEventModifierFlagFunction/g' rg -l 'NSHelpKeyMask' . | xargs sed -i '' -e 's/NSHelpKeyMask/NSEventModifierFlagHelp/g' rg -l 'NSKeyDown' . | xargs sed -i '' -e 's/NSKeyDown/NSEventTypeKeyDown/g' rg -l 'NSKeyUp' . | xargs sed -i '' -e 's/NSKeyUp/NSEventTypeKeyUp/g' rg -l 'NSLeftMouseDownMask' . | xargs sed -i '' -e 's/NSLeftMouseDownMask/NSEventMaskLeftMouseDown/g' rg -l 'NSLeftMouseDown' . | xargs sed -i '' -e 's/NSLeftMouseDown/NSEventTypeLeftMouseDown/g' rg -l 'NSLeftMouseDragged' . | xargs sed -i '' -e 's/NSLeftMouseDragged/NSEventTypeLeftMouseDragged/g' rg -l 'NSLeftMouseUp' . | xargs sed -i '' -e 's/NSLeftMouseUp/NSEventTypeLeftMouseUp/g' rg -l 'NSMiniaturizableWindowMask' . | xargs sed -i '' -e 's/NSMiniaturizableWindowMask/NSWindowStyleMaskMiniaturizable/g' rg -l 'NSMiniControlSize' . | xargs sed -i '' -e 's/NSMiniControlSize/NSControlSizeMini/g' rg -l 'NSMouseEntered' . | xargs sed -i '' -e 's/NSMouseEntered/NSEventTypeMouseEntered/g' rg -l 'NSMouseExited' . | xargs sed -i '' -e 's/NSMouseExited/NSEventTypeMouseExited/g' rg -l 'NSMouseMoved' . | xargs sed -i '' -e 's/NSMouseMoved/NSEventTypeMouseMoved/g' rg -l 'NSNumericPadKeyMask' . | xargs sed -i '' -e 's/NSNumericPadKeyMask/NSEventModifierFlagNumericPad/g' rg -l 'NSOtherMouseDownMask' . | xargs sed -i '' -e 's/NSOtherMouseDownMask/NSEventMaskOtherMouseDown/g' rg -l 'NSOtherMouseDown' . | xargs sed -i '' -e 's/NSOtherMouseDown/NSEventTypeOtherMouseDown/g' rg -l 'NSOtherMouseDragged' . | xargs sed -i '' -e 's/NSOtherMouseDragged/NSEventTypeOtherMouseDragged/g' rg -l 'NSOtherMouseUp' . | xargs sed -i '' -e 's/NSOtherMouseUp/NSEventTypeOtherMouseUp/g' rg -l 'NSRegularControlSize' . | xargs sed -i '' -e 's/NSRegularControlSize/NSControlSizeRegular/g' rg -l 'NSResizableWindowMask' . | xargs sed -i '' -e 's/NSResizableWindowMask/NSWindowStyleMaskResizable/g' rg -l 'NSRightMouseDown' . | xargs sed -i '' -e 's/NSRightMouseDown/NSEventTypeRightMouseDown/g' rg -l 'NSRightMouseDragged' . | xargs sed -i '' -e 's/NSRightMouseDragged/NSEventTypeRightMouseDragged/g' rg -l 'NSRightMouseUp' . | xargs sed -i '' -e 's/NSRightMouseUp/NSEventTypeRightMouseUp/g' rg -l 'NSRightTextAlignment' . | xargs sed -i '' -e 's/NSRightTextAlignment/NSTextAlignmentRight/g' rg -l 'NSScrollWheelMask' . | xargs sed -i '' -e 's/NSScrollWheelMask/NSEventMaskScrollWheel/g' rg -l 'NSScrollWheel' . | xargs sed -i '' -e 's/NSScrollWheel/NSEventTypeScrollWheel/g' rg -l 'NSShiftKeyMask' . | xargs sed -i '' -e 's/NSShiftKeyMask/NSEventModifierFlagShift/g' rg -l 'NSSmallControlSize' . | xargs sed -i '' -e 's/NSSmallControlSize/NSControlSizeSmall/g' rg -l 'NSTabletPointEventSubtype' . | xargs sed -i '' -e 's/NSTabletPointEventSubtype/NSEventSubtypeTabletPoint/g' rg -l 'NSTitledWindowMask' . | xargs sed -i '' -e 's/NSTitledWindowMask/NSWindowStyleMaskTitled/g' ``` Then I removed changes to third-party webrtc code, removed a comment in accessible/mac/mozAccessible.mm, and performed some manual replacements in native_mouse_mac_window.xhtml. Differential Revision: https://phabricator.services.mozilla.com/D100260 |
||
---|---|---|
.. | ||
browser | ||
gtest | ||
unit | ||
.eslintrc.js | ||
bug586713_window.xhtml | ||
chrome.ini | ||
empty_window.xhtml | ||
file_bug596600.html | ||
file_input_events_on_deactive_window.html | ||
file_secure_input.html | ||
mochitest.ini | ||
moz.build | ||
native_menus_window.xhtml | ||
native_mouse_mac_window.xhtml | ||
standalone_native_menu_window.xhtml | ||
system_font_changes.xhtml | ||
taskbar_previews.xhtml | ||
test_actionhint.html | ||
test_AltGr_key_events_in_web_content_on_windows.html | ||
test_alwaysontop_focus.xhtml | ||
test_assign_event_data.html | ||
test_autocapitalize.html | ||
test_bug343416.xhtml | ||
test_bug413277.html | ||
test_bug428405.xhtml | ||
test_bug429954.xhtml | ||
test_bug444800.xhtml | ||
test_bug466599.xhtml | ||
test_bug478536.xhtml | ||
test_bug485118.xhtml | ||
test_bug517396.xhtml | ||
test_bug522217.xhtml | ||
test_bug538242.xhtml | ||
test_bug565392.html | ||
test_bug586713.xhtml | ||
test_bug593307.xhtml | ||
test_bug596600.xhtml | ||
test_bug673301.xhtml | ||
test_bug760802.xhtml | ||
test_bug1123480.xhtml | ||
test_clipboard.xhtml | ||
test_composition_text_querycontent.xhtml | ||
test_imestate.html | ||
test_input_events_on_deactive_window.xhtml | ||
test_key_event_counts.xhtml | ||
test_keycodes.xhtml | ||
test_keypress_event_with_alt_on_mac.html | ||
test_mouse_event_with_control_on_mac.html | ||
test_mouse_scroll.xhtml | ||
test_native_key_bindings_mac.html | ||
test_native_menus.xhtml | ||
test_native_mouse_mac.xhtml | ||
test_panel_mouse_coords.xhtml | ||
test_picker_no_crash.html | ||
test_platform_colors.xhtml | ||
test_plugin_scroll_consistency.html | ||
test_position_on_resize.xhtml | ||
test_scrollbar_colors.html | ||
test_secure_input.html | ||
test_sizemode_events.xhtml | ||
test_standalone_native_menu.xhtml | ||
test_system_font_changes.xhtml | ||
test_system_status_bar.xhtml | ||
test_taskbar_progress.xhtml | ||
test_transferable_overflow.xhtml | ||
test_wheeltransaction.xhtml | ||
TestChromeMargin.cpp | ||
utils.js | ||
window_bug429954.xhtml | ||
window_bug478536.xhtml | ||
window_bug522217.xhtml | ||
window_bug538242.xhtml | ||
window_bug593307_centerscreen.xhtml | ||
window_bug593307_offscreen.xhtml | ||
window_composition_text_querycontent.xhtml | ||
window_imestate_iframes.html | ||
window_mouse_scroll_win_2.html | ||
window_mouse_scroll_win.html | ||
window_picker_no_crash_child.html | ||
window_state_windows.xhtml | ||
window_wheeltransaction.xhtml |