Commit Graph

46 Commits

Author SHA1 Message Date
Kartikaya Gupta
e15294782b Bug 840721 - Add a PostDelayedTask method to the GeckoContentController interface. r=cjones 2013-02-25 15:50:49 -05:00
Mounir Lamouri
9f6e4099c4 Bug 833009 - Remove "nsContentUtils.h" inclusions from headers in gfx/. r=Ms2ger 2013-01-24 14:05:18 +00:00
Chris Jones
7fe289fbe6 Bug 834470: Release AsyncPanZoomController and friends. r=roc 2013-01-24 19:59:10 -08:00
Nicholas Cameron
47a1d545ea Bug 827715; Skip some checking for touch events from the gesture listener. r=cjones 2013-01-10 17:10:23 +01:00
Oleg Romashin
4374698ca6 Bug 826489 - Add preference based settings to AsyncZoomPanController. r=drs 2013-01-09 22:11:25 -08:00
Chris Peterson ext:(%2C%20Shih-Chiang%20Chien%20%3Cschien%40mozilla.com%3E%20and%20Chris%20Jones%20%3Cjones.chris.g%40gmail.com%3E)
4189d101cf Gecko work for bug 823619: Dispatch spec-compliant mouse events when touch events are available. r=cjones,jlebar,schien,vingtetun a=blocking-basecamp
This is a rollowup of the following patches
Bug 823619, part 1: Make TabChild dispatch spec-compliant compat mouse events. r=mwu
Bug 823619, part 2: Use touch event for scrolling if available. r=cjones,schien,vingtetun a=blocking-basecamp
2013-01-05 15:53:16 +01:00
Benjamin Chen
a78cacbcff Bug 805746 - Send CustomScroll domevent to browser.js. r=cjones 2012-12-25 14:09:34 +08:00
Anthony Jones
f7f85c6761 Bug 811950 - Fix async scrolling of position:fixed. r=cjones 2012-12-23 10:50:04 -05:00
Chris Jones
aa96fe93f4 Back out bug 814252. 2012-12-18 16:19:54 -08:00
Shih-Chiang Chien
01432d8e98 Bug 814252 - use touch event for scrolling if available. r=cjones. 2012-11-28 13:51:50 +08:00
Anthony Jones
83d62dd876 Bug 799401 - Throttle APZC paint requests. r=cjones 2012-12-10 08:50:24 -05:00
Ryan VanderMeulen
7dc69bf623 Backed out changeset 65f06a1e7b1b (bug 799401) for Windows build bustage. 2012-12-04 21:43:52 -05:00
Anthony Jones
6ac5d06135 Bug 799401 - Throttle APZC paint requests. r=cjones 2012-12-04 21:00:38 -05:00
Daniel Holbert
dc4c4f689d (no bug) fix typo in header comment for AsyncPanZoomController::CalculateIntrinsicScale(). DONTBUILD (comment-only) 2012-11-15 09:16:03 -08:00
Doug Sherk
20620b38aa Bug 804949: Change the way panning works. r=cjones a=blocking-basecamp 2012-10-24 01:37:53 -07:00
Chris Jones
b00b1e25b0 Bug 795657: Integrate native viewport configuration better into async pan-zoom code. r=jwir3,roc
This is a rollup of the following patches
 - Change the interpretation of FrameMetrics.mZoom to a "resolution-indepedent zoom", instead of a resolution-depedent scale factor. r=roc
 - Remove mention of "meta" from TabChild. r=roc
 - Remove some useless logging. r=roc
 - Tag FrameMetrics with its composition bounds at paint time. r=roc
 - Add a helper to calculate the render resolution for a FrameMetrics. r=roc
 - Add a helper to compute the approximate CSS dimensions a FrameMetrics will cover during composition. r=roc
 - BrowserElementScrolling doesn't actually care about zoom or resolution. r=roc
 - Accept the viewport that content has calculated, when it's received the latest widget geometry update. r=roc
 - Mechanically separate uses of zoom/resolution based on new definitions. r=roc
 - Convert GetViewportInfo()'s resolution-dependent scale into resolution-indepedent zoom. r=roc
 - Reinterpret defaultZoom == 0.0 as "intrinsic scale". r=jwir3,roc
2012-10-11 22:46:24 -07:00
Doug Sherk
4a17f28103 Bug 786267: B2G: Lower resolution while doing accelerated panning r=cjones 2012-09-29 00:02:45 -04:00
Doug Sherk
19cc16c9aa Bug 787445: B2G: Rip out async paint throttling code, use compression instead r=cjones 2012-09-29 00:02:41 -04:00
Doug Sherk
4f2bfeb032 Bug 746502: Add support for <meta name=viewport> on B2G/async panning and zooming r=cjones,smaug 2012-09-28 22:18:18 -04:00
Doug Sherk
2c2aabf888 Bug 784908: Part 3: Distinguish resolution from a new zoom field on FrameMetrics r=roc 2012-09-28 22:16:38 -04:00
Doug Sherk
f73db9f5da Bug 784908: Part 1: Change names of FrameMetrics variables to be more descriptive, add documentation, change some coordinate spaces. r=roc 2012-09-28 22:16:34 -04:00
Ehsan Akhgari
a8a14f9163 Merge the landing of bug 579517 to mozilla-inbound 2012-08-22 12:12:15 -04:00
Doug Sherk
b289e024ad Bug 780397: Convert FrameMetrics.mViewportScrollOffset from nsIntPoint to gfx::Point r=roc 2012-08-21 21:37:15 -07:00
Doug Sherk
97c97243cb Bug 775447: Rip out old checks for DOM touch listeners r=cjones 2012-08-21 21:37:09 -07:00
Doug Sherk
e59e1890d0 Bug 775447: Let touch-event listeners cancel async pan/zoom r=cjones 2012-08-21 21:37:06 -07:00
Ehsan Akhgari
8c296bbcd4 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Doug Sherk
b7026b8fba Bug 775463: Implement tolerance in double tap detection r=cjones 2012-08-08 21:39:11 -07:00
Doug Sherk
75b44181d1 Bug 775463: Implement double-tap-to-zoom content r=cjones 2012-08-08 21:39:02 -07:00
Doug Sherk
0386b95cee Bug 775451: Reduce diagonal checkerboarding r=cjones 2012-08-08 13:38:23 -07:00
Doug Sherk
8ce9e4027f Bug 779572: Properly protect state in AsyncPanZoomController with a monitor r=cjones 2012-08-08 13:38:20 -07:00
Doug Sherk
279c610fe0 Bug 775448: Disable async scrolling when we detect a scrollable subframe r=cjones 2012-08-08 13:38:06 -07:00
Doug Sherk
b0e4e056ea Bug 775447: Properly count number of touch listeners in AsyncPanZoomController r=cjones 2012-08-08 13:37:57 -07:00
Phil Ringnalda
97b3be524b Backout 8b3b879bc63f (Bug 777463), 32cc8084d1b7 (Bug 775451), ce9014442e13:4d52cfac7c37 (Bug 779572), b33f2b2dbbc5:963aed158547 (Bug 775463), 36832ad5ea65 (Bug 780210), 10695750e4e9:a2afc5b5e538 (Bug 775448), c9f42eebd694 (Bug 775447) for Linux bustage 2012-08-07 20:40:48 -07:00
Doug Sherk
e181f6be38 Bug 775451: Reduce diagonal checkerboarding r=cjones 2012-08-07 18:51:15 -07:00
Doug Sherk
daa347f70b Bug 779572: Properly protect state in AsyncPanZoomController with a monitor r=cjones 2012-08-07 18:51:13 -07:00
Doug Sherk
510ae34328 Bug 775463: Implement tolerance in double tap detection r=cjones 2012-08-07 18:51:10 -07:00
Doug Sherk
2723d5bbda Bug 775463: Implement double-tap-to-zoom content r=cjones 2012-08-07 18:51:08 -07:00
Doug Sherk
10f1ad1f2a Bug 775448: Disable async scrolling when we detect a scrollable subframe r=cjones 2012-08-07 18:51:02 -07:00
Doug Sherk
b46b71535a Bug 775447: Properly count number of touch listeners in AsyncPanZoomController r=cjones 2012-08-07 18:51:00 -07:00
David Zbarsky
02175ccbab Bug 706179 Part 3: Turn on the use of scaling for layers in FrameLayerBuilder r=mattwoodrow 2012-08-03 14:29:22 -07:00
Doug Sherk
fc70da781f Bug 779344: Properly transform B2G panning/zooming after layers changes r=dzbarsky 2012-07-31 16:19:25 -07:00
Doug Sherk
9b6b531bfd Bug 777264: Remove timer-based repaint throttling r=cjones 2012-07-27 00:33:57 -07:00
Doug Sherk
6f88360682 Bug 777264: Throttle repaint requests in Gecko panning/zooming r=cjones 2012-07-27 00:33:48 -07:00
Doug Sherk
f319f23a27 Bug 776226: Implement axis locking when panning along one axis r=roc 2012-07-22 23:49:07 -04:00
David Zbarsky
dcb864530f no bug, avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor in APZ, blanket r=bz 2012-07-20 16:49:12 -04:00
Doug Sherk
73bba2160b Bug 750974: Move basic pan/zoom logic into Gecko C++ r=cjones,roc sr=smaug[widget/] 2012-07-19 23:48:25 -07:00