Xidorn Quan
76b36e0a05
Bug 1160014 part 5 - Implement fullscreen transition on Mac. r=smichaud
...
--HG--
extra : source : 3ff3e6db3475b98f9b873d01f70f6b12bce1d44d
2015-07-24 09:45:00 +10:00
Wes Kocher
bfc64f1ef6
Backed out changeset 039f3d0c6e62 (bug 1160014) (Mac part) for build failures CLOSED TREE
2015-07-21 16:23:56 -07:00
Xidorn Quan
97157de841
Bug 1160014 part 5 - Implement fullscreen transition on Mac. r=smichaud
...
--HG--
extra : source : 3f1a0e753e1c84c11012c78e11d0f323992f2621
2015-07-22 09:07:46 +10:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Xidorn Quan
10e83b5fc9
Bug 1160014 part 0 - Avoid explicitly mentioning DOM Fullscreen concept in widget part. r=roc
...
--HG--
extra : source : 6651318bdcd66daa7f3fff2dc53373ecae4761f1
2015-07-13 20:44:36 +10:00
Nigel Babu
64f3815bd7
Backed out 4 changesets (bug 1160014) for M2 bustages CLOSED TREE
...
Backed out changeset 87b00a9dac95 (bug 1160014)
Backed out changeset d4fa5c794e08 (bug 1160014)
Backed out changeset fca26897d534 (bug 1160014)
Backed out changeset b0b7f4f09ed2 (bug 1160014)
2015-07-11 10:49:25 +05:30
Xidorn Quan
09d4d46e81
Bug 1160014 part 1 - Implement common part of fullscreen transition. r=roc,smaug,dao
...
This patch implements the code which is shared by all platforms for
fullscreen transition.
It adds two prefs for the duration of fullscreen transition. They can
also be used to completely suppress the transition.
In addition, this patch uses the newly added prefs to suppress the
transition in all tests which use the DOM fullscreen.
--HG--
extra : source : a64f71ea9ceb37acbbfc4e4023880fb244daa738
2015-07-11 10:08:59 +10:00
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