Commit Graph

192 Commits

Author SHA1 Message Date
Xidorn Quan
7699870266 Bug 1161802 part 1 - Add FullscreenChanged callback in WidgetListener. r=roc
--HG--
extra : source : dcfb961149d8c8e56ff787fa812dc781a491ee53
2015-06-10 23:13:12 +12:00
Xidorn Quan
67ff323331 Bug 1105939 part 7 - Use tranditional fullscreen on Mac for DOM fullscreen. r=smichaud
--HG--
extra : source : 5e5b3e8eb96f07b24e2c10522ba92fe13c3f9c05
2015-06-04 13:49:34 +12:00
Xidorn Quan
de413a07a8 Bug 1105939 part 4 - Treat cocoa window without titlebar as fullscreen to avoid drawing rounded corners on it. r=mstange
--HG--
extra : source : d78709d5377839af0ae698ee75474558dea15053
2015-06-04 13:49:34 +12:00
Xidorn Quan
f01f25d5ae Bug 1105939 part 3 - Save and restore window collection behavior when showing/hiding window chrome. r=mstange
--HG--
extra : source : d27f4451457a57a25bdc5e25b8ede4f9d81d6e9c
2015-06-04 13:49:34 +12:00
Xidorn Quan
59695c3ccb Bug 1105939 part 2 - Suppress windows animation when hiding chrome on OS X. r=smichaud
--HG--
extra : source : 5037dc2e6f68745ac37293fba7bcf2b68c2cbe68
2015-06-04 13:49:34 +12:00
Xidorn Quan
5e157a787e Bug 1105939 part 1 - Backout workaround from bug 740923. r=smichaud
--HG--
extra : source : f2b0c20d69e22c14dd20c39d462302a4f715abc4
2015-06-04 13:49:34 +12:00
Markus Stange
587a8d7b4b Bug 1164625 - Don't redraw the titlebar for unified toolbar height changes when the titlebar is under Gecko's control. r=smichaud 2015-05-21 17:49:56 -04:00
Brian Grinstead
b3c9169963 Bug 1162649 - Don't call setOpaque:NO or setHasShadow:NO for non-popup windows;r=mstange 2015-05-08 14:49:29 -07:00
Markus Stange
97573e94f6 Bug 947753 - Make sure nsChildView::ComputeShouldAccelerate returns true even if it's called before layout lets the window know about whether it's transparent. r=smichaud 2015-04-22 17:13:45 -04:00
Kartikaya Gupta
5cf2d407fd Bug 1146349 - Make the native event synthesization functions in DOMWindowUtils async. r=smaug 2015-04-14 11:36:36 -04:00
Mats Palmgren
2fa6fbc270 Bug 1149785 - Make nsIWidget::ClientToWindowSize use LayoutDeviceIntSize instead of the unit-less nsIntSize. r=roc 2015-03-31 22:09:03 +00:00
David Parks
be65e7c4e3 Bug 1138678 - Ignore NOTIFY_IME_OF_BLUR when establishing secure input mode. r=masayuki
SetInputContext keeps proper tabs on the secure input setting.  This
code could result in improper IME configuration.

--HG--
extra : rebase_source : 431cb629ca2321776fcc4c73635739f037729605
2015-03-18 19:08:22 -07:00
Markus Stange
b04d177f0b Bug 976722 - Make -moz-appearance:toolbox influence the sheet attachment edge. r=roc 2015-03-06 14:43:46 -05:00
David Zbarsky
e63a6defd2 Bug 1125040: Use LayoutDeviceIntPoint for synthesizing native events on widgets r=botond 2015-02-15 13:52:28 -05:00
Chris Peterson
d5537ab3e0 Bug 1130828 - Fix clang -Widiomatic-parentheses and -Wsemicolon-before-method-body warnings. r=smichaud 2015-02-06 00:09:39 -08:00
Markus Stange
bce83391f5 Bug 1130746 - Always position window buttons at their default position in fullscreen mode. r=smichaud 2015-02-09 00:50:44 -05:00
Robert O'Callahan
7a165b59ca Bug 1129774. Part 5: Remove aContext parameter from nsIWidget::Create. r=jmathies
--HG--
extra : rebase_source : 517ff800c0307e69465a37da7e52605d2fcda0d1
2015-02-05 20:35:25 +13:00
Robert O'Callahan
282e59cd87 Bug 1129774. Part 3: Remove aContext parameter from BaseCreate and make it nonvirtual. r=jmathies
--HG--
extra : rebase_source : 9fd0a3e071b7d3ad273667f144889938bc5d9dc4
2015-02-05 18:18:30 +13:00
Markus Stange
61101209ee Bug 1045213 - Get smooth rounded corners for vibrant context menus by using _cornerMask. r=smichaud 2015-02-04 17:25:19 -05:00
David Zbarsky
c73ec42d2d Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-04 15:21:03 -05:00
Paul Rouget
14d9d356fb Bug 1118134 - expose a method to set chromemargin. r=mstange r=bz 2015-02-02 13:14:00 +01:00
Paul Rouget
0f11aa32ba Bug 1120917 - Make it possible to hide the window controls (osx). r=mstange
--HG--
extra : rebase_source : 8bd335520055cbbc566a0a54e7862d7d8a83009d
2015-01-28 22:44:00 +01:00
Masayuki Nakano
dd277f3277 Bug 917322 part.7 TextEventDispatcher should manage if it has composition r=smaug 2015-01-28 15:27:31 +09:00
David Parks
7caef754ab Bug 1051842 - Part 3 - crash in -[ChildView keyDown:]. r=masayuki
Normalize secure input requests.  We have been counting the number of
requests for secure input with the intent of requiring the equal amount
of disable requests, but this behavior would not gain anything and the
implementation actually never disabled requests - it always zeros out
the count.  This patch makes the zeroing-out behavior more consistent.
DisableSecureEventInput should probably be removed.
2014-08-20 23:09:44 -07:00
Bill McCloskey
39a211f1f8 Bug 1051842 - Backout 90ca7355bbcc (bug 1051842) due to bug 1122208 2015-01-20 14:02:52 -08:00
David Parks
f2ca386499 Bug 1051842 - Part 3 - crash in -[ChildView keyDown:]. r=masayuki
Normalize secure input requests.  We have been counting the number of
requests for secure input with the intent of requiring the equal amount
of disable requests, but this behavior would not gain anything and the
implementation actually never disabled requests - it always zeros out
the count.  This patch makes the zeroing-out behavior more consistent.
DisableSecureEventInput should probably be removed.
2014-08-20 23:09:44 -07:00
Neil Deakin
a744e9625f Bug 1102039, Ensure that the popup's widget visibility is updated after rollup, allows popups to disappear at the start of the minimize animation rather than after, r=tn 2015-01-07 20:52:20 -05:00
Josh Aas
f9e3926e19 Bug 1092630: Get rid of native widgets for OS X NPAPI plugins, make things work much better under e10s. Patch by Josh Aas, Markus Stange, Steven Michaud, David Parks. r=smichaud/jst/josh (more reviews pending) 2014-12-11 08:44:07 -06:00
Vladimir Vukicevic
54548bfc2b Bug 1036597 - extend widget's MakeFullScreen method to take an optional nsIScreen indicating the target; r=karlt 2014-07-09 12:29:28 -07:00
Markus Stange
21ed419cc4 Bug 1102304 - Fix crash in 32 bit mode on 10.10 by correcting the _addKnownSubview signature. r=smichaud
This just copies the definition for the documented -[NSView addSubview:positioned:relativeTo:] method, which is the exact counterpart of this (undocumented) method. Using "long long" for the positioned: argument was wrong - the real type is NSWindowOrderingMode, which is typedefed to NSInteger, which is pointer-sized and thus doesn't match long long on 32 bit.
2014-11-20 13:23:41 -05:00
Markus Stange
199abc8ce2 Bug 1097354 - Silence "adding an unknown subview" warning by calling _addKnownSubview. r=smichaud 2014-11-18 11:36:07 -05:00
Markus Stange
17e4391566 Bug 1095210 - Record native invalidations in -[BaseWindow _setNeedsDisplayInRect:] so that invalidations occurring during -[ChildView viewWillDraw] are not lost. r=smichaud 2014-11-07 13:11:48 -05:00
Markus Stange
1c0e700dea Bug 1018845 - Make the fullscreen button easier to see on dark backgrounds. r=roc 2014-11-03 22:14:10 -05:00
Gijs Kruitbosch
a64f8dab5f Bug 1075653 - Make tooltips use vibrancy on Yosemite. r=smichaud 2014-09-12 14:10:09 +01:00
Markus Stange
df1a517459 Bug 1081160 - Update window shadows for Yosemite. r=smichaud 2014-10-14 11:14:05 +02:00
Steven Michaud
3820df645b Bug 1069658 - The slide-down titlebar in fullscreen mode is transparent on Yosemite. r=mstange 2014-10-13 17:05:59 -05:00
Sebastian Hengst
1e915ce56f Bug 1078033 - Remove remaining Camino code. r=ted 2014-10-10 17:00:29 +02:00
Markus Stange
5b1c77960e Bug 944836 - Implement nsChildView::UpdateWindowDraggingRegion. r=roc, r=smichaud 2014-09-18 10:52:30 +02:00
Markus Stange
318cce364d Bug 1055018 - Draw CoreUI widgets through -[NSAppearance _drawInRect:context:options:] on 10.10 in order to pick up the 10.10 look. r=smichaud 2014-08-28 02:15:27 +02:00
Neil Deakin
708b9a6541 Bug 1045000, deminiaturize before making the window key to fix flickering window, r=smichaud 2014-08-19 20:01:32 -04:00
Jonathan Watt
1ac56ed5ef Bug 991640 - Get rid of nsIWidget::GetThebesSurface and a bunch of Thebes backed gfxContexts. r=mattwoodrow 2014-06-10 07:02:21 +01:00
Markus Stange
8e904d450a Bug 870238 - Stop using the deprecated API -[NSWindow userSpaceScaleFactor]. r=jfkthame 2014-05-28 15:22:16 +02:00
Ed Morley
d61cfb0350 Backed out changeset 4b2db2286258 (bug 870238) 2014-05-14 15:54:39 +01:00
Markus Stange
33f538a660 Bug 870238 - Stop using the deprecated API -[NSWindow userSpaceScaleFactor]. r=jfkthame 2014-05-14 14:33:52 +02:00
Steven Michaud
3836ce17c9 Bug 996848 - Rewrite Mac nsAppShell native event handling. r=spohl 2014-05-10 11:58:07 -05:00
Ed Morley
567c128d78 Backed out changeset 4341602f99b0 (bug 996848) for reftest failures on OS X 2014-05-07 18:44:01 +01:00
Steven Michaud
ffd68891ee Bug 996848 - Rewrite Mac nsAppShell native event handling. r=spohl 2014-05-07 11:13:27 -05:00
Steven Michaud
b8044236fc Bug 995603 - Ensure mouse-enter/exit events are sent to plugins as appropriate. r=mstange,masayuki 2014-04-30 11:55:40 -05:00
Birunthan Mohanathas
5f1fde8824 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Neil Deakin
382114ad8c Bug 982734, make nsIWidget::GetWindowType and nsIWidget::GetZIndex return their values, remove some unused colour-related widget methods, r=tn 2014-03-19 12:48:08 -04:00