gecko-dev/widget/cocoa
Markus Stange 1b083a52dd Bug 1370131 - Allow shadows on accelerated popups. r=kmag
It looks like the work in bug 1291457 was all that was necessary to get working
window shadows for accelerated popups. It seems that macOS is able to compute
the correct shadow style consistently for whatever is drawn in the
NSOpenGLContext during the first paint of the window (inside the drawRect call
during the orderFront call that opens the window).

We only ran into problems when we animated the contents of the window in a way
that affects the shadow style; we're no longer doing that after bug 1291457.

MozReview-Commit-ID: 62mfWuAsrg2

--HG--
extra : rebase_source : bf8121451474629f0194ccbb422147d5f05ff5b3
extra : source : 57b4a3dff2a5799c5c994a5b577b76c98ebc8226
2017-06-04 22:47:58 -04:00
..
crashtests
cursors Bug 1234008 - Recompress some png images with zopflipng r=Dolske,Grisha,jryans 2018-01-27 15:57:42 +08:00
resources/MainMenu.nib
ComplexTextInputPanel.h
ComplexTextInputPanel.mm
CustomCocoaEvents.h
GfxInfo.h Bug 1441270 - Remove unused WebGL parameter getters. r=jgilbert 2018-02-26 20:35:12 +01:00
GfxInfo.mm Bug 1402519 - Remove MOZ_CRASHREPORTER directives from widget; r=froydnj 2017-11-23 10:59:04 +01:00
moz.build Bug 144114 part 1 - Rename the files for nsPrintOptions and its subclasses. r=bobowen 2017-12-19 10:06:39 +00:00
mozView.h
NativeKeyBindings.h
NativeKeyBindings.mm
nsAppShell.h Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj 2017-11-05 19:37:28 -08:00
nsAppShell.mm
nsBidiKeyboard.h
nsBidiKeyboard.mm
nsChangeObserver.h Bug 651120 - Remove index argument from content removed/appended/inserted notifications. r=peterv 2017-10-03 11:09:08 +01:00
nsChildView.h Bug 1436263 - Part 1: Replace final override virtual function specifiers with just final. r=froydnj 2018-02-05 22:46:57 -08:00
nsChildView.mm Bug 1436508 part 16. Remove nsIDOMSimpleGestureEvent. r=masayuki 2018-02-09 11:17:10 -05:00
nsClipboard.h
nsClipboard.mm
nsCocoaDebugUtils.h
nsCocoaDebugUtils.mm
nsCocoaFeatures.h Bug 1403945: Add utility functions to recognize OS X 10.13. r=mstange 2017-09-28 10:21:10 -04:00
nsCocoaFeatures.mm Bug 1403945: Add utility functions to recognize OS X 10.13. r=mstange 2017-09-28 10:21:10 -04:00
nsCocoaUtils.h Bug 1423559: Use BaseRect access methods instead of member variables in widget/ r=mstange 2018-01-10 11:14:16 -05:00
nsCocoaUtils.mm Bug 1436508 part 11. Remove the use of the nsIDOMKeyEvent::DOM_VK* constants in C++. r=masayuki 2018-02-09 11:17:09 -05:00
nsCocoaWindow.h Bug 1436263 - Part 3: Remove virtual from final virtual function declarations. r=froydnj 2018-02-08 21:22:43 -08:00
nsCocoaWindow.mm Bug 1370131 - Allow shadows on accelerated popups. r=kmag 2017-06-04 22:47:58 -04:00
nsColorPicker.h
nsColorPicker.mm
nsCursorManager.h
nsCursorManager.mm Bug 1423275: Ensure that the proper mouse cursor is shown on macOS when switching between custom and default system cursors. r=mstange 2017-12-15 16:49:23 -06:00
nsDeviceContextSpecX.h Bug 1436263 - Part 3: Remove virtual from final virtual function declarations. r=froydnj 2018-02-08 21:22:43 -08:00
nsDeviceContextSpecX.mm Bug 1185236 - Shorten print job name on Cocoa. r=mstange 2017-10-13 15:48:40 +09:00
nsDragService.h Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj 2017-11-05 19:37:28 -08:00
nsDragService.mm
nsFilePicker.h
nsFilePicker.mm
nsIdleServiceX.h Bug 1436902 part 3. Replace usage of NS_IMPL_ISUPPORTS_INHERITED0 with NS_INLINE_DECL_REFCOUNTING_INHERITED when possible. r=mccr8 2018-02-12 15:44:40 -05:00
nsIdleServiceX.mm Bug 1436902 part 3. Replace usage of NS_IMPL_ISUPPORTS_INHERITED0 with NS_INLINE_DECL_REFCOUNTING_INHERITED when possible. r=mccr8 2018-02-12 15:44:40 -05:00
nsLookAndFeel.h Bug 1436263 - Part 3: Remove virtual from final virtual function declarations. r=froydnj 2018-02-08 21:22:43 -08:00
nsLookAndFeel.mm Bug 1417709 - Add system colors called "-moz-mac-vibrant-titlebar-light/dark" for use with -moz-font-smoothing-background-color. r=emilio 2017-11-16 11:50:09 -05:00
nsMacCursor.h
nsMacCursor.mm
nsMacDockSupport.h
nsMacDockSupport.mm Bug 1404198: Part 2d - Switch to NS_NewTimer* in widget. r=njn 2017-10-15 23:12:54 -07:00
nsMacWebAppUtils.h
nsMacWebAppUtils.mm
nsMenuBarX.h Bug 1434318 part 8. Remove nsIDOMDocument::GetElementById. r=mystor 2018-01-31 15:18:10 -05:00
nsMenuBarX.mm Bug 1434318 part 8. Remove nsIDOMDocument::GetElementById. r=mystor 2018-01-31 15:18:10 -05:00
nsMenuBaseX.h
nsMenuGroupOwnerX.h Bug 1423167: Move most attribute-related methods from nsIContent to Element. r=bz 2017-12-06 16:05:59 +01:00
nsMenuGroupOwnerX.mm Bug 1442207: Remove unneeded arguments to nsIMutationObserver. r=smaug 2018-03-01 22:45:17 +01:00
nsMenuItemIconX.h Bug 1407498 - Don't query loadingprincipal in common case. r=baku 2017-10-24 10:13:31 +08:00
nsMenuItemIconX.mm Bug 1432490: followup: Fix mac-only bustage on a CLOSED TREE. r=me 2018-02-25 02:44:18 +01:00
nsMenuItemX.h Bug 1423167: Move most attribute-related methods from nsIContent to Element. r=bz 2017-12-06 16:05:59 +01:00
nsMenuItemX.mm Bug 1434318 part 13. Remove nsIDOMDocument::CreateEvent. r=mystor 2018-01-31 15:18:11 -05:00
nsMenuUtilsX.h
nsMenuUtilsX.mm Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz 2017-12-25 17:50:10 +01:00
nsMenuX.h
nsMenuX.mm Bug 1425440 - Get rid of GetChildAt_Deprecated in nsMenuX, r=catalinb 2018-01-09 11:44:54 +01:00
nsNativeThemeCocoa.h Bug 1442695 - Remove unused GetScrollbarPressStates method;r=spohl 2018-03-02 09:42:55 -08:00
nsNativeThemeCocoa.mm Bug 1442695 - Remove unused GetScrollbarPressStates method;r=spohl 2018-03-02 09:42:55 -08:00
nsNativeThemeColors.h
nsPIWidgetCocoa.idl
nsPrintDialogX.h
nsPrintDialogX.mm Bug 1185236 - Shorten print job name on Cocoa. r=mstange 2017-10-13 15:48:40 +09:00
nsPrintSettingsServiceX.h Bug 144114 part 3 - Clean up the headers of the nsPrintSettingsService subclasses. r=bobowen 2017-12-19 11:05:37 +00:00
nsPrintSettingsServiceX.mm Bug 144114 part 2 - Rename nsPrintOptions and its subclasses to nsPrintSettingsService*. r=bobowen 2017-12-19 10:42:15 +00:00
nsPrintSettingsX.h Bug 1407103 - Convert wstring attributes to AString in widget/nsIPrint*.idl. r=bobowen. 2017-10-09 10:08:09 +11:00
nsPrintSettingsX.mm Bug 1412645 - Initialize some uninitialized fields in widget/cocoa/. r=mstange 2017-10-31 11:25:04 +01:00
nsSandboxViolationSink.h
nsSandboxViolationSink.mm
nsSound.h
nsSound.mm
nsStandaloneNativeMenu.h
nsStandaloneNativeMenu.mm Bug 1423167: Move most attribute-related methods from nsIContent to Element. r=bz 2017-12-06 16:05:59 +01:00
nsSystemStatusBarCocoa.h
nsSystemStatusBarCocoa.mm
nsToolkit.h
nsToolkit.mm Bug 1415741. Switch to a different env var, not MOZ_DEBUG, for disabling mouse event taps on Mac. r=mstange 2017-11-15 12:23:58 -05:00
nsWidgetFactory.mm Bug 144114 part 2 - Rename nsPrintOptions and its subclasses to nsPrintSettingsService*. r=bobowen 2017-12-19 10:42:15 +00:00
nsWindowMap.h
nsWindowMap.mm
OSXNotificationCenter.h Bug 952453 - Remove mozNotification API; r=mattn r=baku 2018-01-08 14:56:22 -08:00
OSXNotificationCenter.mm Backing out 8fd1d4a79a48 (Bug 952453) due to notification bustage on MacOS 2018-01-04 14:50:21 -08:00
RectTextureImage.h
RectTextureImage.mm
ScreenHelperCocoa.h
ScreenHelperCocoa.mm
SwipeTracker.h
SwipeTracker.mm Bug 1436508 part 16. Remove nsIDOMSimpleGestureEvent. r=masayuki 2018-02-09 11:17:10 -05:00
TextInputHandler.h Bug 1403759 - part 2: Handle edit/selection commands like insertNewline: in TextInputHandler::HandleCommand() r=m_kato 2017-12-02 14:53:10 +09:00
TextInputHandler.mm Bug 1036008 - Use alternative ASCII capable keyboard layout information to decide keyCode even if the key produces an ASCII punctuation character r=smaug 2018-02-16 15:54:07 +09:00
VibrancyManager.h Bug 1370040 - Use the public API -[NSVisualEffectView setMaskImage:] instead of the private API -[NSWindow _cornerMask]. r=spohl 2017-11-19 18:38:35 -05:00
VibrancyManager.mm Bug 1370040 - Use the public API -[NSVisualEffectView setMaskImage:] instead of the private API -[NSWindow _cornerMask]. r=spohl 2017-11-19 18:38:35 -05:00
ViewRegion.h
ViewRegion.mm
WidgetTraceEvent.mm