Commit Graph

179 Commits

Author SHA1 Message Date
David Zbarsky
d51a76f94b Bug 1125040: Use LayoutDeviceIntPoint for synthesizing native events on widgets r=botond 2015-02-15 13:52:28 -05:00
Chris Peterson
52d498dc7b Bug 1130828 - Fix clang -Widiomatic-parentheses and -Wsemicolon-before-method-body warnings. r=smichaud 2015-02-06 00:09:39 -08:00
Markus Stange
0b25bc3fc6 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
7464c67b7f Bug 1129774. Part 5: Remove aContext parameter from nsIWidget::Create. r=jmathies 2015-02-05 20:35:25 +13:00
Robert O'Callahan
07e47be213 Bug 1129774. Part 3: Remove aContext parameter from BaseCreate and make it nonvirtual. r=jmathies 2015-02-05 18:18:30 +13:00
Markus Stange
9371e90aeb 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
792f700e75 Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-04 15:21:03 -05:00
Paul Rouget
df21c24cb2 Bug 1118134 - expose a method to set chromemargin. r=mstange r=bz 2015-02-02 13:14:00 +01:00
Paul Rouget
bbb096c941 Bug 1120917 - Make it possible to hide the window controls (osx). r=mstange 2015-01-28 22:44:00 +01:00
Masayuki Nakano
37159d5e10 Bug 917322 part.7 TextEventDispatcher should manage if it has composition r=smaug 2015-01-28 15:27:31 +09:00
David Parks
08f2b252cf 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
da10a7f30c Bug 1051842 - Backout 90ca7355bbcc (bug 1051842) due to bug 1122208 2015-01-20 14:02:52 -08:00
David Parks
ce62d93570 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
777e8b7d16 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
15ef066292 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
7a528c00ee 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
89257d6797 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
66bf14e4ef Bug 1097354 - Silence "adding an unknown subview" warning by calling _addKnownSubview. r=smichaud 2014-11-18 11:36:07 -05:00
Markus Stange
13446ed1b9 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
b1e5037be9 Bug 1018845 - Make the fullscreen button easier to see on dark backgrounds. r=roc 2014-11-03 22:14:10 -05:00
Gijs Kruitbosch
60466f94a7 Bug 1075653 - Make tooltips use vibrancy on Yosemite. r=smichaud 2014-09-12 14:10:09 +01:00
Markus Stange
3d394b06a4 Bug 1081160 - Update window shadows for Yosemite. r=smichaud 2014-10-14 11:14:05 +02:00
Steven Michaud
45aa59aa22 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
f078b24bd6 Bug 1078033 - Remove remaining Camino code. r=ted 2014-10-10 17:00:29 +02:00
Markus Stange
a1a1d9e9ce Bug 944836 - Implement nsChildView::UpdateWindowDraggingRegion. r=roc, r=smichaud 2014-09-18 10:52:30 +02:00
Markus Stange
b85c7d8e51 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
79a504dc25 Bug 1045000, deminiaturize before making the window key to fix flickering window, r=smichaud 2014-08-19 20:01:32 -04:00
Jonathan Watt
64cb817cfa 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
3323f8fed2 Bug 870238 - Stop using the deprecated API -[NSWindow userSpaceScaleFactor]. r=jfkthame 2014-05-28 15:22:16 +02:00
Ed Morley
9feb32e204 Backed out changeset 4b2db2286258 (bug 870238) 2014-05-14 15:54:39 +01:00
Markus Stange
3431627d55 Bug 870238 - Stop using the deprecated API -[NSWindow userSpaceScaleFactor]. r=jfkthame 2014-05-14 14:33:52 +02:00
Steven Michaud
688c3d4b21 Bug 996848 - Rewrite Mac nsAppShell native event handling. r=spohl 2014-05-10 11:58:07 -05:00
Ed Morley
2825fdbf09 Backed out changeset 4341602f99b0 (bug 996848) for reftest failures on OS X 2014-05-07 18:44:01 +01:00
Steven Michaud
e10c706955 Bug 996848 - Rewrite Mac nsAppShell native event handling. r=spohl 2014-05-07 11:13:27 -05:00
Steven Michaud
96ef7ff235 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
504b581650 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
5bca1a23ba 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
Masayuki Nakano
89bf99db20 Bug 977959 part.5 Make NativeKeyBindings classes non-refcountable r=neil 2014-03-14 22:13:32 +09:00
Masayuki Nakano
436710861e Bug 977959 part.4 Remove nsINativeKeyBindings r=roc+karlt
--HG--
rename : widget/gtk/nsNativeKeyBindings.cpp => widget/gtk/NativeKeyBindings.cpp
rename : widget/gtk/nsNativeKeyBindings.h => widget/gtk/NativeKeyBindings.h
2014-03-14 22:13:32 +09:00
Masayuki Nakano
7179f50754 Bug 977959 part.3 Hide nsINativeKeyBindings with nsIWidget::ExecuteNativeKeyBinding() r=roc+karlt+smichaud 2014-03-14 22:13:31 +09:00
Markus Stange
12b56b3e1c Bug 968838 - Refuse reentrant calls to nsCocoaWindow::DoResize. r=smichaud 2014-03-13 13:21:56 +01:00
Makoto Kato
2c28941ccb Bug 968647 - Part 2. Listen window position change for IME. r=roc 2014-02-28 16:45:08 +09:00
Makoto Kato
943de92ef1 Backed out changeset fad708985071 (bug 968647) 2014-03-03 11:53:36 +09:00
Makoto Kato
ca435072ea Bug 968647 - Part 2. Listen window position change for IME. r=roc 2014-02-28 16:45:08 +09:00
Carsten "Tomcat" Book
99ae76e71d Backed out changeset 743fb3c48ed7 (bug 968647) 2014-02-28 09:30:01 +01:00
Makoto Kato
32baf5f742 Bug 968647 - Part 2. Listen window position change for IME. r=roc 2014-02-28 16:45:08 +09:00
Masayuki Nakano
f241d9bab3 Bug 965685 Use IMENotification struct for nsIWidget::NotifyIME() and merge NotifyIMEOfTextChange() with it r=smaug, sr=roc 2014-02-18 09:00:15 +09:00
Markus Stange
3172f177eb Bug 958674 - Return true from nsCocoaWindow::IsVisible while nsCocoaWindow::Show(true) is running. r=smichaud
--HG--
extra : rebase_source : 566f89c38316440243b178eb46d5048bcf416a32
2014-02-03 17:55:26 +01:00
Markus Stange
4c49a45a0b Bug 958674 - Paint popup synchronously when showing the window, like we do for normal windows. r=smichaud
--HG--
extra : rebase_source : f0c62a48c4410ad293f8a9ed0b4a1b30abe349e9
2014-02-03 17:54:55 +01:00
Neil Deakin
ee782b7b75 Bug 943759, [Australis], support mousethrough on panels to allow mouse events to pass through to the content behind, implemented on Windows, Mac and Linux, use this for the UI tour highlight, r=neil,jmathies,karlt 2014-01-31 08:27:43 -05:00