gecko-dev/widget/cocoa
Brad Werth 49b7d27c66 Bug 1821213: Make CocoaWindow check its maximized state against the screen maximum size. r=mstange
For some reason, the frame passed to windowWillUseStandardFrame:defaultFrame:
is not reliably a frame representing the maximum frame for the window's
screen. This is possibly a bug in Cocoa. To compensate, we return the
frame of the window's screen and rely upon the Cocoa caller to shrink it
enough to fit between the menubar and the dock (which does seem to work).

Differential Revision: https://phabricator.services.mozilla.com/D172167
2023-03-10 16:32:10 +00:00
..
crashtests
cursors
docs Bug 1522986 - Allow to auto-bootstrap the macos SDK. r=firefox-build-system-reviewers,ahochheiden 2023-02-01 09:45:11 +00:00
resources/MainMenu.nib
AppearanceOverride.h
AppearanceOverride.mm
CFTypeRefPtr.h
components.conf Bug 1773770: Part 9 - Migrate widget component content proxies to static registration. r=mccr8 2022-06-30 09:12:18 +00:00
CustomCocoaEvents.h
DesktopBackgroundImage.h
DesktopBackgroundImage.mm
GfxInfo.h Bug 1812698 - Expose desktopEnvironment via nsIXULRuntime rather than nsIGfxInfo. r=stransky 2023-02-01 13:14:50 +00:00
GfxInfo.mm Bug 1807403 - Blocklist WebGPU on all macOS. r=gfx-reviewers,aosmond 2023-02-23 19:07:50 +00:00
MacThemeGeometryType.h Bug 1771792 - Remove some dead vibrancy code. r=mstange 2022-05-31 10:43:29 +00:00
MediaHardwareKeysEventSourceMac.h
MediaHardwareKeysEventSourceMac.mm
MediaHardwareKeysEventSourceMacMediaCenter.h
MediaHardwareKeysEventSourceMacMediaCenter.mm Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium 2023-02-13 15:02:07 +00:00
MediaKeysEventSourceFactory.cpp
moz.build Bug 1759504 - Implement text recognition component in macOS. r=emilio,nordzilla 2022-06-03 16:01:32 +00:00
MOZIconHelper.h Bug 1817071 - Remove unused image-region support from cocoa code. r=mstange,mac-reviewers 2023-02-18 01:16:28 +00:00
MOZIconHelper.mm Bug 1817071 - Remove unused image-region support from cocoa code. r=mstange,mac-reviewers 2023-02-18 01:16:28 +00:00
MOZMenuOpeningCoordinator.h Bug 1748815 - Remove runAfterMenuClosed because it is now unused. r=bradwerth 2022-06-23 15:05:39 +00:00
MOZMenuOpeningCoordinator.mm Bug 1748815 - Remove runAfterMenuClosed because it is now unused. r=bradwerth 2022-06-23 15:05:39 +00:00
mozView.h
NativeKeyBindings.h
NativeKeyBindings.mm
NativeMenuMac.h Bug 1763990: Don't order popups in front of native context menus on macOS. r=mstange 2023-02-02 22:13:54 +00:00
NativeMenuMac.mm Bug 1763990: Don't order popups in front of native context menus on macOS. r=mstange 2023-02-02 22:13:54 +00:00
NativeMenuSupport.mm
nsAppShell.h
nsAppShell.mm Bug 639707 - Add resume session support on macOS. Based on a patch by :MattN. r=mstange 2023-02-03 03:28:06 +00:00
nsBidiKeyboard.h
nsBidiKeyboard.mm
nsChangeObserver.h
nsChildView.h Bug 1811834 - Clean up nsWidgetInitData. r=cmartin,geckoview-reviewers,calu 2023-01-23 23:58:41 +00:00
nsChildView.mm Bug 1815404 - Replace most uses of gfxContext::CreateOrNull with stack-allocated contexts. r=gfx-reviewers,lsalzman 2023-02-21 07:28:25 +00:00
nsClipboard.h Bug 1796548 - Introduce a generic method to check clipboard capabilities in nsIClipboard; r=geckoview-reviewers,nika,m_kato 2023-01-16 19:50:17 +00:00
nsClipboard.mm Bug 1776879, replace text/unicode for clipboard and drag and drop and use text/plain directly, r=edgar,mak,stransky,geckoview-reviewers,extension-reviewers,zombie,m_kato 2023-02-01 23:30:55 +00:00
nsCocoaFeatures.h Bug 1776210 - [macOS 13] Stack underflow crashes on Wifi Monitor thread on macOS 13 (Ventura) beta r=mac-reviewers,necko-reviewers,mstange,dragana 2022-07-25 14:09:09 +00:00
nsCocoaFeatures.mm Bug 1776210 - [macOS 13] Stack underflow crashes on Wifi Monitor thread on macOS 13 (Ventura) beta r=mac-reviewers,necko-reviewers,mstange,dragana 2022-07-25 14:09:09 +00:00
nsCocoaUtils.h Bug 639707: Add telemetry to detect how often we are getting restored by macOS vs. users manually launching the application. r=mstange 2023-02-03 03:28:06 +00:00
nsCocoaUtils.mm Bug 1815404 - Replace most uses of gfxContext::CreateOrNull with stack-allocated contexts. r=gfx-reviewers,lsalzman 2023-02-21 07:28:25 +00:00
nsCocoaWindow.h Bug 1631735 Part 1: Make nsCocoaWindow animated transitions asynchronous and atomic. r=mstange 2023-03-06 19:38:10 +00:00
nsCocoaWindow.mm Bug 1821213: Make CocoaWindow check its maximized state against the screen maximum size. r=mstange 2023-03-10 16:32:10 +00:00
nsColorPicker.h Bug 960984 - Implement the list attribute for <input type=color>. r=emilio,geckoview-reviewers,m_kato 2022-12-14 18:17:59 +00:00
nsColorPicker.mm Bug 960984 - Implement the list attribute for <input type=color>. r=emilio,geckoview-reviewers,m_kato 2022-12-14 18:17:59 +00:00
nsCursorManager.h
nsCursorManager.mm
nsDeviceContextSpecX.h Bug 1785046 - Part 3: Let nsIDeviceContextSpec::EndDocument & nsDeviceContext::EndDocument return MozPromise. r=nika,emilio,geckoview-reviewers,m_kato 2022-12-19 15:42:48 +00:00
nsDeviceContextSpecX.mm Bug 1785046 - Part 3: Let nsIDeviceContextSpec::EndDocument & nsDeviceContext::EndDocument return MozPromise. r=nika,emilio,geckoview-reviewers,m_kato 2022-12-19 15:42:48 +00:00
nsDragService.h Bug 1762392 - Part 2: Put utility functions for NSPasteboardItem to nsCocoaUtils; r=spohl 2023-01-09 18:27:37 +00:00
nsDragService.mm Bug 1776879, replace text/unicode for clipboard and drag and drop and use text/plain directly, r=edgar,mak,stransky,geckoview-reviewers,extension-reviewers,zombie,m_kato 2023-02-01 23:30:55 +00:00
nsFilePicker.h Bug 1816740 [3/6] - convert nsIFilePicker::result* into a proper enum r=ipc-reviewers,karlt,mstange,handyman,nika 2023-02-22 21:05:23 +00:00
nsFilePicker.mm Bug 1816740 [3/6] - convert nsIFilePicker::result* into a proper enum r=ipc-reviewers,karlt,mstange,handyman,nika 2023-02-22 21:05:23 +00:00
nsLookAndFeel.h Bug 1794626: Create invert_colors telemetry probe and maintain its value via LookAndFeel r=mstange 2022-11-07 23:49:20 +00:00
nsLookAndFeel.mm Bug 1802799 - [refactor] Migrate NS_STYLE_TEXT_DECORATION_STYLE_* defines r=emilio,geckoview-reviewers,ohall 2022-12-19 22:47:24 +00:00
nsMacCursor.h
nsMacCursor.mm
nsMacDockSupport.h
nsMacDockSupport.mm
nsMacFinderProgress.h
nsMacFinderProgress.mm
nsMacSharingService.h
nsMacSharingService.mm Bug 1769290 - Part 26: Emit errors from JSHandleRootedTypedefChecker r=andi,geckoview-reviewers,owlish 2022-08-09 14:13:30 +00:00
nsMacUserActivityUpdater.h
nsMacUserActivityUpdater.mm
nsMacWebAppUtils.h
nsMacWebAppUtils.mm
nsMenuBarX.h Bug 1642138: Improve integration with the macOS-level Window menu handling to unlock built-in OS functionality such as tiling of windows. r=mstange 2022-11-07 19:04:40 +00:00
nsMenuBarX.mm Backed out changeset 46538d8cbaf1 (bug 1642138) as per dev's request. CLOSED TREE 2022-11-05 03:02:28 +02:00
nsMenuGroupOwnerX.h Bug 1777925: Replaced MutationObserver array container type with linked list. r=smaug 2022-09-21 11:31:44 +00:00
nsMenuGroupOwnerX.mm Bug 1665151 - Part 2: Expose custom element default accessibility attributes. r=edgar,Jamie,credential-management-reviewers,sgalich 2022-11-02 14:50:56 +00:00
nsMenuItemIconX.h Bug 1817071 - Remove unused image-region support from cocoa code. r=mstange,mac-reviewers 2023-02-18 01:16:28 +00:00
nsMenuItemIconX.mm Bug 1817071 - Remove unused image-region support from cocoa code. r=mstange,mac-reviewers 2023-02-18 01:16:28 +00:00
nsMenuItemX.h Bug 1748815 - Always run command events outside the context menu event loop. r=bradwerth 2022-06-23 15:05:39 +00:00
nsMenuItemX.mm Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium 2023-02-13 15:02:07 +00:00
nsMenuParentX.h
nsMenuUtilsX.h Bug 1748815 - Add a workaround for test_standalone_native_menu.xhtml and test_native_menus.xhtml, which expect menu items to be activated synchronously. r=bradwerth 2022-06-23 15:05:39 +00:00
nsMenuUtilsX.mm Bug 1748815 - Add a workaround for test_standalone_native_menu.xhtml and test_native_menus.xhtml, which expect menu items to be activated synchronously. r=bradwerth 2022-06-23 15:05:39 +00:00
nsMenuX.h Bug 1642138: Improve integration with the macOS-level Window menu handling to unlock built-in OS functionality such as tiling of windows. r=mstange 2022-11-07 19:04:40 +00:00
nsMenuX.mm Bug 1811487 - Clean-up popup hide / rollup APIs. r=cmartin,stransky 2023-01-24 15:43:49 +00:00
nsNativeThemeCocoa.h Bug 1817451 - Make auto-style outline always non-native. r=cmartin,stransky,mac-reviewers,bradwerth 2023-02-20 11:58:38 +00:00
nsNativeThemeCocoa.mm Bug 1817451 - Make auto-style outline always non-native. r=cmartin,stransky,mac-reviewers,bradwerth 2023-02-20 11:58:38 +00:00
nsNativeThemeColors.h Bug 1773752: Remove more workarounds for old macOS SDKs. r=mstange,media-playback-reviewers,padenot 2022-07-18 17:08:59 +00:00
nsPIWidgetCocoa.idl
nsPrintDialogX.h Bug 1769129. Remove nsIPrintSettings.isPrintSelectionRBEnabled. r=emilio 2022-05-13 15:26:07 +00:00
nsPrintDialogX.mm Bug 1805716 - Stop overwriting the print settings passed to nsIPrintDialogService::showPrintDialog with saved prefs. r=dholbert 2022-12-14 21:58:17 +00:00
nsPrintSettingsServiceX.h
nsPrintSettingsServiceX.mm Bug 1763989. Remove the PPrinting and nsPrintingProxy code. r=bobowen 2022-04-26 14:30:29 +00:00
nsPrintSettingsX.h
nsPrintSettingsX.mm Bug 1766651 - Remove nsIPrintSettings.isCancelled and nsIPrintSettings.saveOnCancel. r=bobowen 2022-04-27 17:55:24 +00:00
nsSandboxViolationSink.h
nsSandboxViolationSink.mm
nsSound.h
nsSound.mm
nsStandaloneNativeMenu.h
nsStandaloneNativeMenu.mm
nsSystemStatusBarCocoa.h
nsSystemStatusBarCocoa.mm
nsToolkit.h
nsToolkit.mm Bug 1811487 - Clean-up popup hide / rollup APIs. r=cmartin,stransky 2023-01-24 15:43:49 +00:00
nsTouchBar.h Backed out 2 changesets (bug 1773752, bug 1696513) for causing build bustages. CLOSED TREE 2022-06-11 02:35:43 +03:00
nsTouchBar.mm
nsTouchBarInput.h Backed out 2 changesets (bug 1773752, bug 1696513) for causing build bustages. CLOSED TREE 2022-06-11 02:35:43 +03:00
nsTouchBarInput.mm
nsTouchBarInputIcon.h Bug 1817071 - Remove unused image-region support from cocoa code. r=mstange,mac-reviewers 2023-02-18 01:16:28 +00:00
nsTouchBarInputIcon.mm Bug 1817071 - Remove unused image-region support from cocoa code. r=mstange,mac-reviewers 2023-02-18 01:16:28 +00:00
nsTouchBarNativeAPIDefines.h Backed out 2 changesets (bug 1773752, bug 1696513) for causing build bustages. CLOSED TREE 2022-06-11 02:35:43 +03:00
nsTouchBarUpdater.h
nsTouchBarUpdater.mm Backed out 2 changesets (bug 1773752, bug 1696513) for causing build bustages. CLOSED TREE 2022-06-11 02:35:43 +03:00
nsUserIdleServiceX.h Bug 1768920 - Avoid polling every 5 seconds in nsUserIdleService, r=dthayer,geckoview-reviewers,owlish. 2023-01-16 19:53:33 +00:00
nsUserIdleServiceX.mm Bug 1768920 - Avoid polling every 5 seconds in nsUserIdleService, r=dthayer,geckoview-reviewers,owlish. 2023-01-16 19:53:33 +00:00
nsWidgetFactory.h Bug 1773770: Part 8 - Migrate Cocoa widget module to static component registration. r=mstange 2022-06-30 09:12:18 +00:00
nsWidgetFactory.mm Bug 1773770: Part 8 - Migrate Cocoa widget module to static component registration. r=mstange 2022-06-30 09:12:18 +00:00
nsWindowMap.h Bug 1519636 - Reformat recent changes to the Google coding style r=andi,media-playback-reviewers,necko-reviewers,padenot,dragana 2022-06-07 12:32:55 +00:00
nsWindowMap.mm
OSXNotificationCenter.h
OSXNotificationCenter.mm Bug 1073717 - [Web Notifications] Add support for "silent" notifications on macOS. r=mstange 2023-01-07 01:03:52 +00:00
ScreenHelperCocoa.h
ScreenHelperCocoa.mm Bug 1767172 - Remove custom screen info handling from GfxInfo, use ScreenManager for that. r=jrmuizel,handyman,stransky 2022-05-06 23:37:25 +00:00
SDKDeclarations.h Backed out 2 changesets (bug 1773752, bug 1696513) for causing build bustages. CLOSED TREE 2022-06-11 02:35:43 +03:00
TextInputHandler.h
TextInputHandler.mm
TextRecognition.mm Bug 1782579 - Pass languages to the text recognition api; r=nordzilla,emilio 2022-08-10 19:38:46 +00:00
VibrancyManager.h Bug 1771792 - Remove some dead vibrancy code. r=mstange 2022-05-31 10:43:29 +00:00
VibrancyManager.mm Bug 1771792 - Remove some dead vibrancy code. r=mstange 2022-05-31 10:43:29 +00:00
ViewRegion.h
ViewRegion.mm
WidgetTraceEvent.mm