Commit Graph

156 Commits

Author SHA1 Message Date
Xidorn Quan
d466352a8c Bug 1196163 part 1 - Use nsSizeMode instead of int32_t for nsIWidget::{SizeMode,SetSizeMode}. r=roc 2015-08-29 11:12:41 +10:00
Benoit Girard
da67426a6c Bug 1186662 - Part 3: Suppress the Displayport during active resize on Windows. r=kats,jimm 2015-08-17 14:24:59 -07:00
Masayuki Nakano
08c1409ff7 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
d392cd6dca 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).
2015-08-11 13:38:18 +09:00
David Anderson
966456c514 Move compositor backend decisions into gfxPlatform. (bug 1179051 part 3, r=mattwoodrow) 2015-07-16 15:18:05 -07:00
Xidorn Quan
16a6a7578a Bug 1160014 part 4 - Implement fullscreen transition on Windows. r=jimm 2015-07-13 20:44:36 +10:00
Nigel Babu
85c18dc42b 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
48b75ae6e3 Bug 1160014 part 4 - Implement fullscreen transition on Windows. r=jimm 2015-07-11 10:08:59 +10:00
Xidorn Quan
7bd93b93f4 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.
2015-07-10 10:15:48 +10:00
Xidorn Quan
88790951fa Bug 1181395 - Avoid runtime conversion or copy of names of window classes on Windows. r=jimm 2015-07-09 08:00:33 +10:00
Nathan Froyd
8780083336 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
5b9fc140ef 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
9439948487 Bug 1165303 - avoid hiding and reshowing the window in response to our own settext messages because it makes Windows 10 unhappy, r=jimm 2015-06-09 20:18:36 +01:00
David Anderson
b49b86d935 Add an API for snapshotting widgets as they are presented by the operating system. (bug 1167477, r=mattwoodrow, dom r=khuey) 2015-06-04 14:19:06 -07:00
Jeff Muizelaar
99385c4734 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
fa7e573320 Bug 1163113 - Implement -moz-window-dragging on Windows for Graphene. r=jimm 2015-05-12 09:22:33 -04:00
Andrea Marchesini
e95d49e405 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
08d7d3e8b9 Bug 1150376: Do not try to use D3D11 for popup windows. r=jrmuizel 2015-04-08 15:08:34 +02:00
Kartikaya Gupta
8a87c2918e Bug 1146349 - Make the native event synthesization functions in DOMWindowUtils async. r=smaug 2015-04-14 11:36:36 -04:00
Olli Pettay
d43621ec7d Backout Bug 930793 because of talos regressions,r=backout 2015-04-13 19:02:27 +03:00
Olli Pettay
ad8d83447e Bug 930793 - Remove favor performance mode, r=avih,roc 2015-04-12 23:08:55 +03:00
Mats Palmgren
7257df08ea 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
5cccea6f0f 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
af299ba137 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
e58e9f2356 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
3667e4c1ab Use stricter types in nsWindowBase event dispatch functions. (bug 1143567 part 3, r=jmathies) 2015-03-16 16:29:57 -07:00
Bas Schouten
3b799ecd25 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
e4f703c3e4 Bug 1133818 - Fixed GCC warnings in widget/windows. r=jmathies 2015-02-23 12:15:53 +01:00
Jim Mathies
39fe92ff44 Bug 1095761 - Child plugin window focus handling for e10s. r=aklotz 2015-02-17 13:16:09 -06:00
David Zbarsky
d51a76f94b Bug 1125040: Use LayoutDeviceIntPoint for synthesizing native events on widgets r=botond 2015-02-15 13:52:28 -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
David Zbarsky
792f700e75 Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-04 15:21:03 -05: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 Major
e452e768c3 No bug - delete dead class member that nobody reads or writes. rs=heycam 2015-01-23 14:44:47 +13:00
Bas Schouten
95c30875ab Bug 1097699 - Part 1: Remove usage of LayerManagerD3D9. r=jrmuizel 2015-01-23 03:41:20 +00:00
David Anderson
f1639d0bdf Move APZC initialization into nsBaseWidget. (bug 1110540 part 1, r=kats) 2014-12-15 01:47:15 -08:00
David Anderson
89f6dbe30f 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
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
David Anderson
6dcfff466f 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
2216111e8c 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
b33faf5a3c 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
e962ee1725 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
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
Brian Birtles
ad0cae671e Bug 77992 part 1.1 - Convert Windows native event times to timestamps; r=masayuki 2014-06-06 14:29:49 +09:00
Masatoshi Kimura
d9c50bc879 Bug 1005619 - Part 3: Implement GetRestoredBounds on Windows. r=jimm 2014-05-20 16:32:18 +09:00
Makoto Kato
ad584ba1ae Bug 996493 - Implement MaxTouchPoints for Windows widget. r=jimm 2014-05-14 19:05:34 +09: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
Matt Woodrow
9d8f118d8d Bug 982812 - Use UpdateThemeGeometry for windows region clearing. r=mstange 2014-03-17 16:42:48 +08: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
Bill McCloskey
414cc1efff Bug 963952 - [e10s] Don't use basic compositor when using D3D11 compositor (r=mattwoodrow) 2014-02-13 08:53:50 -08:00