Commit Graph

26 Commits

Author SHA1 Message Date
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
Daniel Holbert
53b5bd61c3 Bug 797411: Disallow root-viewport scrolling in BrowserElementScrolling.js if <body> or <html> nodes are overflow:hidden. r=vingtetun 2012-12-26 10:24:43 -08: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
Benjamin Chen
cbf8129880 Bug 804985 - [browser] don't try to zoom out wider than the page width r=cjones
1. bring the zoom factor into BrowserElementScrollng.js
2. fix the zoom ratio in AsyncPanZoomController::ZoomToRect
3. fix the relation between _isRectZoomedIn and AsyncPanZoomController::ZoomToRect
4. zoom it out if the rect reach the device maximal zoom ratio
2012-11-28 17:18:12 +08:00
Shih-Chiang Chien
49f23549df Bug 805638 - Find parent node while the inner scrollable region reaches the end. r=vingtetun 2012-11-01 15:48:45 +08: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
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
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
Cervantes Yu
6ee81711c7 Bug 779358 - Change click handler back to use capture. r=cjones 2012-08-27 14:27:41 +08:00
Eric Chou
86bfd9729f Backed out changeset 8f79f5a6b073 because the author name was missing in original patch 2012-08-27 11:23:48 +08:00
Eric Chou
976de33f65 Bug 779358 - Change click handler back to use capture. r=cjones 2012-08-27 11:18:14 +08:00
Cervantes Yu
9791d38ee6 Bug 779358 - Fix mousemove event handled twice in content panning, r=cjones 2012-08-21 20:30:34 +08:00
Doug Sherk
75b44181d1 Bug 775463: Implement double-tap-to-zoom content r=cjones 2012-08-08 21:39:02 -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
Vivien Nicolas
f933bfc143 Bug 780336 - BrowserElementScrolling cosumes 7% of profile time on gaia homescreen, but isn't used. r=cjones 2012-08-07 16:52:23 +02: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
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
Timothy Guan-tin Chien
e06b237680 Bug 780487 - [b2g] All |oveflow:hidden| became scrollable, r=roc 2012-08-07 16:46:55 -07:00
Fabrice Desré
ab9b24bc06 Backed out changeset c99709de566d 2012-08-07 16:44:08 -07:00
Fabrice Desré
e89f951213 # User Timothy Guan-tin Chien <timdream@gmail.com>
Bug 780487 - [b2g] All |oveflow:hidden| became scrollable, r=roc
2012-08-07 16:41:41 -07:00
Justin Lebar
3378ee74a9 Bug 773356 - Fix scrolling in enabled textareas in B2G. r=roc
Scrolling in disabled textareas still does not work; that's bug 780174.
2012-08-03 11:54:33 -04:00
Vivien Nicolas
a91cd295ce Bug 777672 - Remove changes to dom/browser-element/ that are not related to bug 777672. r=me 2012-08-03 12:53:32 +02:00
Vivien Nicolas
9d50bccae2 Bug 777672 - [b2g] |body { overflow: hidden }| do not hide scrollbars (css part). r=fabrice 2012-08-03 12:35:14 +02:00
Chris Jones
2cf7adf64a Bug 750977: Implement glue code for asynchronous panning/zooming. r=jlebar,roc,vingtetun
This is a rollup of three separate patches
 - Add nsIDocShell.asyncPanZoomEnabled. r=jlebar
 - Have BrowserElementChild service repaint requests and handle fallback synchronous scrolling (for now). r=jlebar,vingtetun
 - Glue async pan/zoom logic up between compositing, event dispatch, and repaint requests. r=roc

--HG--
rename : b2g/chrome/content/webapi.js => dom/browser-element/BrowserElementScrolling.js
2012-07-19 23:48:27 -07:00