Граф коммитов

156 Коммитов

Автор SHA1 Сообщение Дата
Xidorn Quan f46a93871a Bug 1196163 part 1 - Use nsSizeMode instead of int32_t for nsIWidget::{SizeMode,SetSizeMode}. r=roc
--HG--
extra : source : cf438b9cb26ae512f792f075e4e22537ad6a38a7
2015-08-29 11:12:41 +10:00
Benoit Girard f50d3758bc Bug 1186662 - Part 3: Suppress the Displayport during active resize on Windows. r=kats,jimm
--HG--
extra : commitid : FI8OCMTZVoP
extra : rebase_source : f09763a2f182039f7cddc7eda32ec4a7cc6b76ff
2015-08-17 14:24:59 -07:00
Masayuki Nakano 0d22745cda Bug 895274 part.3 Make the enum of event messages a named enum IGNORE IDL r=smaug 2015-08-26 21:56:59 +09:00
Brian Birtles d2de6ae5b9 Bug 1026803 part 1 - Factor out a common utility class for converting wrapping native times to TimeStamps; r=karlt
This just moves the code from widget/windows/nsWindow.cpp to a template class in
widget/xpwidgets/WrappingTimeConverter.h so that we can reuse this code for
other platforms (GTK at least).

--HG--
extra : rebase_source : efa9582fd8cf5b26d1a59219f427aa20a460f7cd
2015-08-11 13:38:18 +09:00
David Anderson 65475c97d0 Move compositor backend decisions into gfxPlatform. (bug 1179051 part 3, r=mattwoodrow)
--HG--
extra : rebase_source : 43cdb0e1b5d464f8d6a0cc7a0b2e36d1b34e8595
2015-07-16 15:18:05 -07:00
Xidorn Quan 2bd387e6a3 Bug 1160014 part 4 - Implement fullscreen transition on Windows. r=jimm
--HG--
extra : source : 8f2cb5a9c1370d9335464c61227c56b685ce057c
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 d381dcaca6 Bug 1160014 part 4 - Implement fullscreen transition on Windows. r=jimm
--HG--
extra : source : ac50a37a67b04f715f9faee1720e6bf8158bd83e
2015-07-11 10:08:59 +10:00
Xidorn Quan d0b0e66312 Bug 1181912 - Remove the usage of nsString for window class names. r=jimm
This patch causes change to pref ui.window_class_override not take
effect until next boot of the application.

--HG--
extra : source : 0621c55ca921ceae77f3d0130362796a085b7646
2015-07-10 10:15:48 +10:00
Xidorn Quan d54d12611a Bug 1181395 - Avoid runtime conversion or copy of names of window classes on Windows. r=jimm
--HG--
extra : source : 9ba468db37a17a3f39191b8802283e88589e4135
2015-07-09 08:00:33 +10:00
Nathan Froyd 974d8120f2 Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
This conversion was done with the script:

  find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
    egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
    xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
                 -e 's/TemporaryRef</already_AddRefed</g'

Manual fixups were performed in the following instances:

- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
  into already_AddRefed.

- The following files had explicit Move() calls added to make up for the lack
  of a copy constructor on already_AddRefed:

  dom/base/ImageEncoder.cpp
  dom/media/MediaTaskQueue.{h,cpp}
  dom/media/webaudio/PannerNode.cpp

- A redundant overload for MediaTaskQueue::Dispatch was deleted.

- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.

- Comments, using declarations, and forward declarations relating to
  TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
  already_AddRefed.
2015-06-17 10:00:52 -04:00
Bob Owen dce35c582d Bug 1165903: For Windows NPAPI do window re-parenting in the chrome process to allow for sandboxing. r=jimm 2015-06-15 16:08:51 +01:00
Gijs Kruitbosch 6edca573d9 Bug 1165303 - avoid hiding and reshowing the window in response to our own settext messages because it makes Windows 10 unhappy, r=jimm
--HG--
extra : rebase_source : 8099bd5d3d59d6014f0e5f4fff9da040c66a7d06
extra : histedit_source : 94cc3d18dd5976310066392fcbc076c4256c4205
2015-06-09 20:18:36 +01:00
David Anderson 46807997bc Add an API for snapshotting widgets as they are presented by the operating system. (bug 1167477, r=mattwoodrow, dom r=khuey)
--HG--
extra : rebase_source : f750028018bc04eddf31a1e3810e013b1d8f1631
2015-06-04 14:19:06 -07:00
Jeff Muizelaar 3c21e92d55 Bug 1157784. Avoid compositing at the same time as WM_SETTEXT. f=jimm
The innards of Windows don't always recheck that the window is
visible and it will forget to redraw if we Present at the same
time that the window is invisible.
2015-05-13 16:05:35 -04:00
Brian R. Bondy e5cb8ed23e Bug 1163113 - Implement -moz-window-dragging on Windows for Graphene. r=jimm 2015-05-12 09:22:33 -04:00
Andrea Marchesini ade2831035 Bug 1156632 - Remove unused forward class declarations - patch 6 - the rest of the tree, r=ehsan 2015-04-22 08:29:24 +02:00
Bas Schouten b1178313ff Bug 1150376: Do not try to use D3D11 for popup windows. r=jrmuizel 2015-04-08 15:08:34 +02: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
Olli Pettay c3dca4be1e Backout Bug 930793 because of talos regressions,r=backout
--HG--
extra : rebase_source : bf5d4de1b80e114d3e2172a205bf850f68019d38
2015-04-13 19:02:27 +03:00
Olli Pettay eb314fb48f Bug 930793 - Remove favor performance mode, r=avih,roc
--HG--
extra : rebase_source : a112b660baa240afd5f0022cd869c96b59418789
2015-04-12 23:08:55 +03: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
Ehsan Akhgari 883849ee32 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
Kartikaya Gupta fdaed2c4d6 Bug 1144324 - Remove the codepaths that conditionally enable touch events based on touch the presence of touch listeners. r=smaug,jimm 2015-03-19 06:37:39 -04:00
Kartikaya Gupta 086f65f8b7 Bug 1144324 - Try to register for, and handle, touch events when APZ is enabled. r=dvander,jimm 2015-03-19 06:37:38 -04:00
David Anderson dd3a123b7b Use stricter types in nsWindowBase event dispatch functions. (bug 1143567 part 3, r=jmathies)
--HG--
extra : rebase_source : 33071b2417589de95ad086008f49562af86c89e6
2015-03-16 16:29:57 -07:00
Bas Schouten c7306e4a06 Bug 1136487: Destroy the compositors for all windows when any window detects a device reset. r=jrmuizel 2015-02-25 18:04:18 +00:00
Jacek Caban 804fea549c Bug 1133818 - Fixed GCC warnings in widget/windows. r=jmathies 2015-02-23 12:15:53 +01:00
Jim Mathies d6954d90ce Bug 1095761 - Child plugin window focus handling for e10s. r=aklotz 2015-02-17 13:16:09 -06:00
David Zbarsky e63a6defd2 Bug 1125040: Use LayoutDeviceIntPoint for synthesizing native events on widgets r=botond 2015-02-15 13:52:28 -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
David Zbarsky c73ec42d2d Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-04 15:21:03 -05: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 Major 1af61499ce No bug - delete dead class member that nobody reads or writes. rs=heycam
--HG--
extra : rebase_source : 6cd3ace54664e0ef006e01eeac7647463e77ae97
2015-01-23 14:44:47 +13:00
Bas Schouten 0de983be82 Bug 1097699 - Part 1: Remove usage of LayerManagerD3D9. r=jrmuizel 2015-01-23 03:41:20 +00:00
David Anderson aa0028e4da Move APZC initialization into nsBaseWidget. (bug 1110540 part 1, r=kats) 2014-12-15 01:47:15 -08:00
David Anderson 2d2f1f58bd Move APZ handling of wheel events from nsWindow to RenderFrameParent. (bug 1013432 part 7, r=kats)
--HG--
extra : rebase_source : 6ee0db41a21d333deb511a6403f8178b7fe01bb9
2014-12-09 02:42:49 -08: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
David Anderson e05810e552 Forward Windows scroll events to APZ when async scrolling is enabled. (bug 1086162 part 2, r=jmathies) 2014-11-17 20:59:17 -08:00
Jim Mathies a323270a8b Bug 669200 - Various widget changes to support two new types of plugin widget. r=roc 2014-11-12 14:59:19 -06:00
Gijs Kruitbosch 3b89f05199 Bug 1063121 - dropping out of fullscreen mode without titlebar breaks titlebar/tabs layout, r=jimm 2014-10-29 14:19:25 +00:00
Ehsan Akhgari 9f8a55b140 Bug 1038200 - Fix the rest of the public refcounted destructors in widget/windows; r=bjacob 2014-07-15 16:37:58 -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
Brian Birtles 9d427ee327 Bug 77992 part 1.1 - Convert Windows native event times to timestamps; r=masayuki 2014-06-06 14:29:49 +09:00
Masatoshi Kimura be107dd03e Bug 1005619 - Part 3: Implement GetRestoredBounds on Windows. r=jimm 2014-05-20 16:32:18 +09:00
Makoto Kato c804272f00 Bug 996493 - Implement MaxTouchPoints for Windows widget. r=jimm 2014-05-14 19:05:34 +09: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
Matt Woodrow 0cb3a2793a Bug 982812 - Use UpdateThemeGeometry for windows region clearing. r=mstange 2014-03-17 16:42:48 +08: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
Bill McCloskey ac6dae6f29 Bug 963952 - [e10s] Don't use basic compositor when using D3D11 compositor (r=mattwoodrow) 2014-02-13 08:53:50 -08:00