Commit Graph

85 Commits

Author SHA1 Message Date
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
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
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
Benoit Jacob
8637f5e8fb Bug 1035394 - Fix dangerous public destructors in widget - r=roc 2014-07-08 17:23:18 -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
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
Masayuki Nakano
0ae5a1bafc Bug 977959 part.3 Hide nsINativeKeyBindings with nsIWidget::ExecuteNativeKeyBinding() r=roc+karlt+smichaud 2014-03-14 22:13:31 +09:00
Markus Stange
09adfbd660 Bug 968838 - Refuse reentrant calls to nsCocoaWindow::DoResize. r=smichaud 2014-03-13 13:21:56 +01:00
Masayuki Nakano
e173e98fbd 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
f2de24d7ff 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
Benoit Jacob
61df69f208 Bug 959448 - Convert most of LayersTypes.h to typed enums - r=nrc
find content/media dom/ipc widget/ gfx/tests gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYERS_\(NONE\|BASIC\|OPENGL\|D3D9\|D3D10\|D3D11\|CLIENT\|LAST\)\($\|[^A-Za-z0-9_]\)/\1LayersBackend::LAYERS_\2\3/g'

find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::BUFFER_\2\3/g'

find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(BUFFERED\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(DRAW\|DRAW_SNAPPED\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::CLIP_\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SURFACE_\(NONE\|OPAQUE\|SINGLE_CHANNEL_ALPHA\|COMPONENT_ALPHA\)\($\|[^A-Za-z0-9_]\)/\1SurfaceMode::SURFACE_\2\3/g'

find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(STRETCH\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::\2\3/g'

find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::SCALE_\2\3/g'
2014-01-23 13:26:41 -05:00
Markus Stange
731751c24b Bug 957192 - Ignore unnecessary invalidations from NSView / NSWindow. Improves scrolling performance with plugins. r=smichaud 2014-01-08 10:37:59 +01:00
Markus Stange
07f9dfa286 Bug 932656 - Use CGSSetWindowBackgroundBlurRadius for blurring the background behind context menus. r=smichaud 2014-01-03 16:53:41 +01:00
Markus Stange
3b7de5fbc9 Bug 888615 - [Australis] Add a drawtitle attribute for XUL root elements. When drawtitle="true" is set, even drawintitlebar windows will have a window title. r=roc, r=smichaud 2013-12-17 17:11:13 +01:00
Markus Stange
46699eb451 Bug 942913 - Make sheets return YES from isVisibleOrBeingShown while the sheet opening animation runs so that we don't refuse to composite them during the animation. r=smichaud 2013-11-25 19:00:55 +01:00
Gijs Kruitbosch
af6f8f6fef Merge mozilla-central and ux 2013-11-12 09:27:50 +01:00
Birunthan Mohanathas
02a1314689 Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan 2013-11-11 14:17:14 -05:00
Markus Stange
14e8e85cab Bug 914437 - Don't composite windows that are not open. r=mattwoodrow 2013-10-09 10:39:22 -04:00
Markus Stange
454295facd Bug 851652 - Change position of the standardWindowButtons for Australis [r=smichaud r=mnoorenberghe+bmo r=jaws r=roc]
--HG--
extra : rebase_source : 4936bfc62a4712871caa5d767b1dd2e496e0826c
2013-06-12 23:42:00 +02:00
Gijs Kruitbosch
cf532beaaa Merge mozilla-central and ux 2013-10-23 00:37:14 +02:00
Gijs Kruitbosch
581cdb7e45 Merge mozilla-central and ux 2013-10-02 20:41:14 +02:00
Masayuki Nakano
a4221a463f Bug 920377 part.30 Get rid of nsGUIEvent r=roc 2013-10-02 12:46:03 +09:00
Matthew Noorenberghe
116c1b7c2a Merge mozilla-central to UX 2013-07-30 19:16:50 -07:00
Gijs Kruitbosch
6cd359a5e6 Merge mozilla-central and ux 2013-07-10 23:53:05 +02:00
Timothy Nikkel
7d3be384bc Bug 892994. On retina screens cocoa rounds widget coordinates to even pixel values, so account for that when placing widgets so we don't get confused. r=mstange 2013-07-30 11:22:41 -05:00
Timothy Nikkel
b100c90df8 Bug 891424. Directly remove nsCocoaWindow's from their parent in Destroy(). This allows us to stop implementing GetParent because the mac widget code has some assumptions about that always returning null. r=smichaud
This reverts implementing GetParent on nsCocoaWindow's (ie back out bug 869151) because the mac widget code has some assumptions about that. Instead we just remove nsCocoaWindow's from their mParent in Destroy() which will still keep bug 869151 fixed.
2013-07-09 22:52:19 -05:00
Ryan VanderMeulen
e98ab3e52f Backed out changeset a6b9f94bf21b (bug 891424) for assertions. 2013-07-09 17:15:41 -04:00
Timothy Nikkel
336cfcaf31 Bug 891424. Directly remove nsCocoaWindow's from their parent in Destroy(). This allows us to stop implementing GetParent because the mac widget code has some assumptions about that always returning null. r=smichaud
This reverts implementing GetParent on nsCocoaWindow's (ie back out bug 869151) because the mac widget code has some assumptions about that. Instead we just remove nsCocoaWindow's from their mParent in Destroy() which will still keep bug 869151 fixed.
2013-07-09 15:14:01 -05:00
Mike Conley
f41456b05e Automated merge with https://hg.mozilla.org/mozilla-central 2013-05-27 11:19:45 -04:00
Markus Stange
0193e2af91 Bug 676241 part 6/9/11: Correct titlebar drawing. r=bgirard, r=smichaud, r=mattwoodrow 2013-05-23 16:49:17 +02:00
Markus Stange
5c8a7ce3f9 Bug 676241 part 4: Make the window's contentView cover the whole window in drawsContentsIntoWindowFrame mode. r=smichaud 2013-05-23 16:49:17 +02:00
Markus Stange
28619d13b1 Bug 676241 - Back out _drawTitleBar swizzling from UX (originally landed in bug 865374 and bug 868211) because it's no longer necessary. 2013-05-23 19:53:03 +02:00
Markus Stange
cf696e0d39 Bug 871590 - Make unified titlebar / toolbar handling more robust. r=roc 2013-05-22 11:50:57 +02:00
Masayuki Nakano
f43eab8fd4 Bug 807893 part.2 Cocoa widget should manage secure input mode with input context at changing the context and changing focus r=smichaud 2013-05-25 01:27:52 +09:00
Masayuki Nakano
98454102d1 Bug 807893 part.1 Remove nsIWidget::BeginSecureInput() and nsIWidget::EndSecureInput() r=roc, sr=roc 2013-05-25 01:27:52 +09:00
Markus Stange
eb38858a89 Bug 676241 part 6/9/11: Correct titlebar drawing. r=bgirard, r=smichaud, r=mattwoodrow 2013-05-23 16:49:17 +02:00
Markus Stange
023d5dea92 Bug 676241 part 4: Make the window's contentView cover the whole window in drawsContentsIntoWindowFrame mode. r=smichaud 2013-05-23 16:49:17 +02:00
Markus Stange
df0daeb0fd Bug 871590 - Make unified titlebar / toolbar handling more robust. r=roc 2013-05-22 11:50:57 +02:00
Mike Conley
cfbf815906 Mostly automated merge with https://hg.mozilla.org/mozilla-central 2013-05-13 13:04:32 -04:00
Markus Stange
3bbae4a42e Bug 868211 - Simplify Mac implementation of -moz-window-button-box. r=smichaud 2013-05-03 19:31:01 +02:00
Mike Conley
40ddc57727 Bug 865374 - Position tabs in the OSX titlebar. Cocoa Widget work by Steven Michaud. r=dao,bgirard. 2013-05-02 14:15:29 -04:00
Mike Conley
df89bb355e Mostly automated merge with https://hg.mozilla.org/mozilla-central 2013-05-02 12:41:21 -04:00
Mike Conley
aeaa0c7ef7 Automated merge with https://hg.mozilla.org/mozilla-central 2013-04-25 17:55:05 -04:00
Nicolas Silva
a1ee3bf807 Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-24 14:42:40 -04:00
Markus Stange
78a27ca962 Backed out 2 changesets (bug 871590) CLOSED TREE 2013-05-22 14:10:46 +02:00
Markus Stange
ac855585e9 Bug 871590 - Make unified titlebar / toolbar handling more robust. r=roc
--HG--
extra : rebase_source : dc4c5dff4f0a392e096976b355bcf2140f7b2879
2013-05-22 11:50:57 +02:00
Mike Conley
58712ea44c Bug 625989 - Always draw in the titlebar on OSX. r=josh,dao f=mstange 2013-03-01 13:48:18 -05:00
Timothy Nikkel
a589fe78da Bug 869151. Implement GetParent for nsCocoaWindow so that nsBaseWidget::Destroy can find the parent and remove from the child list when destroying. r=smichaud 2013-05-09 18:57:20 -05:00