Commit Graph

276 Commits

Author SHA1 Message Date
Markus Stange
ab3961a765 Bug 1016035 - Move swipe tracking code into DispatchAPZWheelInputEvent. r=kats 2015-08-28 17:30:16 -04:00
Markus Stange
dd03fe2124 Bug 1016035 - Implement the swipe animation ourselves instead of calling the NSEvent trackSwipe API. r=kats 2015-08-27 16:07:59 -04:00
Markus Stange
5314c11c6d Bug 1016035 - More swipe refactoring. r=kats 2015-07-23 15:17:28 -04:00
Markus Stange
000bcd82ec Bug 1016035 - Remove the ability to swipe vertically. r=kats
This was intended for a snapshot-based overscroll animation which we're not going to use because APZ solves the same problem in a much better way.
2015-07-23 13:09:13 -04:00
Benoit Girard
c3c37e5572 Bug 1186662 - Part 2: Suppress the Displayport during active resize on mac. r=mstange 2015-08-26 12:59:17 -04:00
Markus Stange
5875b6fc60 Bug 1193062 - Make nsChildView send PanGestureInput events into APZ. r=kats, r=smichaud 2015-08-23 19:50:29 -04:00
Masayuki Nakano
d36f87a852 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
David Anderson
89e4d169c6 Move compositor backend decisions into gfxPlatform. (bug 1179051 part 3, r=mattwoodrow) 2015-07-16 15:18:05 -07:00
Birunthan Mohanathas
a29151dc87 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Nicolas Silva
00587681b3 Bug 1180688 - Detect whether the widget will be able to present frames with BasicCompositor on Mac. r=mstange 2015-07-13 16:46:48 +02:00
Nathan Froyd
92a8124fef 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
David Anderson
939778f3ee Enable APZ for all Desktop windows if E10s is enabled. (bug 1163115, r=kats) 2015-05-12 01:26:01 -04:00
Kartikaya Gupta
752067cb92 Bug 1161206 - Implement native mousewheel event synthesization on OS X. r=mstange 2015-05-05 14:45:11 -04:00
David Parks
bc8bc93628 Bug 1152585 - Implement GetClientOffset in nsChildView to fix child offset calculation when drawInTitlebar=false r=mstange 2015-04-29 08:41:19 -07:00
Kartikaya Gupta
bc2bf92d19 Bug 1154739 - On desktop platforms, only enable APZ in e10s windows. r=dvander,mstange 2015-04-27 16:13:29 -04:00
Andrea Marchesini
b8630baa2d Bug 1156632 - Remove unused forward class declarations - patch 6 - the rest of the tree, r=ehsan 2015-04-22 08:29:24 +02: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
Kartikaya Gupta
214e93ce0c Bug 1151890 - Explicitly set a null MessageLoop for the APZ controller thread on OS X. r=mstange 2015-04-07 16:53:41 -04:00
Ehsan Akhgari
24ddee53ab Bug 1110888 follow-up: Mark SetPluginFocused as override 2015-04-08 10:27:42 -04:00
Wes Kocher
fa2fc280c5 Backed out changeset ba41917b2182 (bug 1151890) for android reftest failures 2015-04-07 17:42:41 -07:00
Kartikaya Gupta
120d6b584d Bug 1151890 - Explicitly set a null MessageLoop for the APZ controller thread on OS X. r=mstange 2015-04-07 16:53:41 -04: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
Steven Michaud
39604719c4 Bug 1110888 - Always do plugin IME in main process, even with e10s. r=masayuki,smaug 2015-02-20 10:37:02 -06: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
0f1b28336d Bug 1045213 - Add nsITheme::ThemeGeometryTypeForWidget. r=roc 2015-02-04 17:25:18 -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
David Anderson
0b029d9d9d Create a common chrome-process GeckoContentController. (bug 1110540 part 2, r=kats) 2014-12-15 01:49:48 -08:00
David Anderson
1e5bebc8b8 Move APZC initialization into nsBaseWidget. (bug 1110540 part 1, r=kats) 2014-12-15 01:47:15 -08:00
Josh Aas
974e19a35e 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
Jonathan Kew
94ef7b5df1 Bug 1077515 - part 5 - Remap arrow keys for vertical writing-mode in the Cocoa key-bindings code. r=roc 2014-11-22 14:39:03 +00: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
959477f542 Bug 1055634 - Expose the fontSmoothingBackgroundColor from the vibrant NSVisualEffectView via nsITheme. r=smichaud 2014-10-24 18:32:23 +02:00
Steven Michaud
49133a0df1 Bug 1069658 - The slide-down titlebar in fullscreen mode is transparent on Yosemite. r=mstange 2014-10-13 17:05:59 -05:00
Markus Stange
e7e68a9efc Bug 1062801 - Fill vibrant window regions with the correct vibrancy fill color. r=smichaud 2014-10-07 16:18:01 +02:00
Markus Stange
8c41f62ff5 Bug 944836 - Implement nsChildView::UpdateWindowDraggingRegion. r=roc, r=smichaud 2014-09-18 10:52:30 +02:00
Markus Stange
13019b19c3 Bug 1051522 - Create NSVisualEffectViews for vibrant window regions. r=smichaud 2014-08-28 02:15:33 +02:00
Markus Stange
e61c0ccba5 Bug 1051522 - Mark nsChildView coordinate conversion functions const. r=smichaud 2014-08-28 02:15:29 +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
Markus Stange
fab98265c5 Bug 944938 - Add a 10.6 compatibility wrapper for hasPreciseScrollingDeltas and scrollingDeltaX/Y. r=smichaud 2014-06-07 00:49:59 +02:00
Markus Stange
2296735f10 Bug 944938 - Add a 10.6 compatibility wrapper for event phases. r=smichaud 2014-06-07 00:49:59 +02:00
Markus Stange
6a945c2bd5 Bug 944938 - Create an APZCTM controller for the compositor parent on Mac with APZ enabled. r=smichaud 2014-06-04 14:44:27 +02:00
Markus Stange
c2625fc749 Bug 944938 - Add EventThreadRunner class that can listen to scroll events without main thread involvement. r=smichaud 2014-06-04 14:44:27 +02:00
Bill McCloskey
69e22343a8 Bug 993714 - [e10s] Cache native key bindings in tests (r=masayuki,sr=roc) 2014-04-21 13:40:09 -07: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
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
Olli Pettay
01fa7e9f98 Backout Bug 930793 - Remove favor performance mode (we have still racy b2g tests), a=backout 2014-01-30 21:35:44 -08:00