Xidorn Quan
4d7e632089
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.
2015-07-13 20:44:36 +10:00
Xidorn Quan
e81d16531c
Bug 1160014 part 0 - Avoid explicitly mentioning DOM Fullscreen concept in widget part. r=roc
2015-07-13 20:44:36 +10:00
Nigel Babu
fd84e932c3
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
7705aa3262
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.
2015-07-11 10:08:59 +10:00
Xidorn Quan
914a15eea0
Bug 1105939 part 7 - Use tranditional fullscreen on Mac for DOM fullscreen. r=smichaud
2015-06-04 13:49:34 +12:00
Kartikaya Gupta
f8465229d0
Bug 1146349 - Make the native event synthesization functions in DOMWindowUtils async. r=smaug
2015-04-14 11:36:36 -04:00
Mats Palmgren
fbe5abdf30
Bug 1149785 - Make nsIWidget::ClientToWindowSize use LayoutDeviceIntSize instead of the unit-less nsIntSize. r=roc
2015-03-31 22:09:03 +00:00
Ehsan Akhgari
ea41d8de48
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Markus Stange
bc000a108a
Bug 976722 - Make -moz-appearance:toolbox influence the sheet attachment edge. r=roc
2015-03-06 14:43:46 -05:00
David Zbarsky
fde118220b
Bug 1125040: Use LayoutDeviceIntPoint for synthesizing native events on widgets r=botond
2015-02-15 13:52:28 -05:00
Robert O'Callahan
0021805640
Bug 1129774. Part 5: Remove aContext parameter from nsIWidget::Create. r=jmathies
2015-02-05 20:35:25 +13:00
Markus Stange
f8b74b9951
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
520ac2cad8
Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond
2015-02-04 15:21:03 -05:00
Masayuki Nakano
2e8a3ae110
Bug 917322 part.7 TextEventDispatcher should manage if it has composition r=smaug
2015-01-28 15:27:31 +09:00
Ehsan Akhgari
23cde4928f
Bug 1117044 - Mark virtual overridden functions as MOZ_OVERRIDE in widget; r=roc
2015-01-02 09:02:51 -05:00
Vladimir Vukicevic
da8215574c
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
0df6e63bd5
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
97c148ee31
Bug 1018845 - Make the fullscreen button easier to see on dark backgrounds. r=roc
2014-11-03 22:14:10 -05:00
Gijs Kruitbosch
0cad6b93f4
Bug 1075653 - Make tooltips use vibrancy on Yosemite. r=smichaud
2014-09-12 14:10:09 +01:00
Markus Stange
bc58486ffe
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
62558f1bc0
Bug 1035394 - Fix dangerous public destructors in widget - r=roc
2014-07-08 17:23:18 -04:00
Jonathan Watt
e709e0f081
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
b49d48a55d
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
0679105987
Bug 977959 part.3 Hide nsINativeKeyBindings with nsIWidget::ExecuteNativeKeyBinding() r=roc+karlt+smichaud
2014-03-14 22:13:31 +09:00
Markus Stange
1ecfc06b39
Bug 968838 - Refuse reentrant calls to nsCocoaWindow::DoResize. r=smichaud
2014-03-13 13:21:56 +01:00
Masayuki Nakano
fa8d4547e8
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
5374684859
Bug 958674 - Paint popup synchronously when showing the window, like we do for normal windows. r=smichaud
2014-02-03 17:54:55 +01:00
Benoit Jacob
49238a878d
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
76c4b8b15c
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
a12a1a14d7
Bug 932656 - Use CGSSetWindowBackgroundBlurRadius for blurring the background behind context menus. r=smichaud
2014-01-03 16:53:41 +01:00
Markus Stange
e54b1975ba
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
94782da95e
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
48f7a13377
Merge mozilla-central and ux
2013-11-12 09:27:50 +01:00
Birunthan Mohanathas
fb5799ee50
Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan
2013-11-11 14:17:14 -05:00
Markus Stange
966c41951b
Bug 914437 - Don't composite windows that are not open. r=mattwoodrow
2013-10-09 10:39:22 -04:00
Markus Stange
f96f73ed53
Bug 851652 - Change position of the standardWindowButtons for Australis [r=smichaud r=mnoorenberghe+bmo r=jaws r=roc]
2013-06-12 23:42:00 +02:00
Gijs Kruitbosch
843f6b486c
Merge mozilla-central and ux
2013-10-23 00:37:14 +02:00
Gijs Kruitbosch
a414e683ac
Merge mozilla-central and ux
2013-10-02 20:41:14 +02:00
Masayuki Nakano
8c4ece5434
Bug 920377 part.30 Get rid of nsGUIEvent r=roc
2013-10-02 12:46:03 +09:00
Matthew Noorenberghe
19e3fc16cd
Merge mozilla-central to UX
2013-07-30 19:16:50 -07:00
Gijs Kruitbosch
335928bae2
Merge mozilla-central and ux
2013-07-10 23:53:05 +02:00
Timothy Nikkel
b05190e233
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
fab3d84ccc
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
53dd4440a8
Backed out changeset a6b9f94bf21b (bug 891424) for assertions.
2013-07-09 17:15:41 -04:00
Timothy Nikkel
8683212f7a
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
c065800439
Automated merge with https://hg.mozilla.org/mozilla-central
2013-05-27 11:19:45 -04:00
Markus Stange
2cf2b6b8de
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
e39b9ba1f4
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
11979b4114
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
92e55fd597
Bug 871590 - Make unified titlebar / toolbar handling more robust. r=roc
2013-05-22 11:50:57 +02:00