Commit Graph

1002 Commits

Author SHA1 Message Date
Masayuki Nakano
c42d85d96f Bug 813445 part.5 Remove NS_EVENT_FLAG_NO_DEFAULT and NS_EVENT_FLAG_NO_DEFAULT_CALLED_IN_CONTENT r=smaug 2012-12-16 10:26:04 +09:00
Masayuki Nakano
c8090c380d Bug 813445 part.1 Make widget::EventFlags and remove NS_EVENT_FLAG_TRUSTED r=roc+smaug, feedback=emk 2012-12-16 10:26:03 +09:00
Matt Woodrow
30cca3144a Bug 820246 - Split nsDisplayCanvasBackground into separate color and image items. r=roc 2012-12-13 14:15:55 +13:00
Ed Morley
437e9d9372 Backout 4777ad9776ec (bug 820246) for causing frequent failures in background-image-zoom-1.html on Android 2012-12-13 12:25:12 +00:00
Matt Woodrow
77a22aa86c Bug 820246 - Split nsDisplayCanvasBackground into separate color and image items. r=roc 2012-12-13 14:15:55 +13:00
Jeff Muizelaar
79fbc905d4 Bug 798245. Postpone firstpaint while painting supressed. r=cjones
Currently if we are asked to paint while the painting is supressed,
we'll still send the firstpaint notification. We currently, rely
on first paint to setup the viewport so we won't to postpone it
till we're likely to have the information we need.

--HG--
extra : rebase_source : 65e3e5a8ea21128632a46e19a3594b66cba8c8cc
2012-12-10 13:53:53 -05:00
Nicholas Cameron
3575f84d30 Bug 780692; throttle OMTA (rollup patch). r=dbaron,bz
--HG--
extra : rebase_source : 1207275df5c509ac1974e2b9333c738b995f9d5e
2012-12-12 10:12:43 +13:00
Matt Woodrow
62137a7adb Bug 815666 - Use OverflowUpdateTracker to avoid calling UpdateOverflow on the same frame multiple times. r=roc 2012-12-10 15:33:04 +13:00
Scott Johnson
29f9330bf3 Bug 812372: Rename DocumentViewerImpl to nsDocumentViewer for consistency. [r=ehsan] 2012-11-28 18:26:39 -06:00
Chris Jones
cb38f07a3e Bug 814778: Disable font inflation for the b2g master process. r=dbaron 2012-11-28 12:16:01 -08:00
Olli Pettay
a5cafc148a Bug 804811, propagate events even from disabled form controls to chrome. B2G-only hack, r=jst 2012-11-28 13:51:34 +02:00
Chris Jones
6f5326630f Bug 803908: Enable font inflation for async pan/zoomed browsers. r=dbaron 2012-11-20 11:55:14 -08:00
Robert O'Callahan
360f41735f Bug 811301. Part 3: Cleanup presshell code now that we don't do special state save/restore for the root scroll frame. r=mats
Scrolling is never synchronous now, so we don't need to block scripts
or reflows when restoring the scroll position.
2012-11-14 22:40:28 -08:00
Robert O'Callahan
b37fa487a3 Bug 811301. Part 1: Save and restore state of root scroll frame when reframing the root element, and treat root scroll frame state like any other frame. r=mats 2012-11-14 22:39:58 -08:00
Ehsan Akhgari
27d839024f Bug 810355 - Convert nsDidReflowStatus into an enum class; r=dholbert 2012-11-13 22:47:33 -08:00
Robert O'Callahan
ab2aeba7d3 Bug 804606. On Mac, call ApplyPluginGeometryUpdates immediately when we've computed geometry, instead of waiting until the paint event. r=smichaud
--HG--
rename : browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_geoprompt.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_geoprompt.js
rename : browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_geoprompt_page.html => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_geoprompt_page.html
rename : browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_openlocation.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_openlocation.js
rename : browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_zoomrestore.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_zoomrestore.js
rename : toolkit/system/androidproxy/Makefile.in => toolkit/system/windowsproxy/Makefile.in
rename : toolkit/system/androidproxy/nsAndroidSystemProxySettings.cpp => toolkit/system/windowsproxy/nsWindowsSystemProxySettings.cpp
extra : rebase_source : 006071633b23f5ab34a27e46100fe32fbff9f735
2012-11-07 09:38:11 +13:00
Matt Woodrow
c39ede05cb Bug 805197 - Compute a region in LayerTreeInvalidation. r=roc 2012-11-12 10:31:15 -08:00
Matt Woodrow
189a77c698 Bug 799165 - Don't revoke a view manager flush on PresShell destruction if we don't own the refresh driver. r=roc 2012-11-09 19:21:45 +13:00
Chris Jones
3b6afccf0e Bug 806029: Have remote content drop their buffers when they're hidden. r=mattwoodrow sr=roc 2012-11-07 19:51:55 -08:00
L. David Baron
7c9e487c8c Bug 809533, patch 2: Don't null-check inside NS_New*Frame. r=roc 2012-11-07 11:55:53 -08:00
Mats Palmgren
58ce5fe831 Bug 806483 - Explicitly remove the LayerManagerDataProperty() from a destroyed frame also when destroying the shell. r=roc 2012-11-06 00:35:45 +01:00
Wes Johnston
0caa037263 Bug 790454 - Set touch target in touchstart. r=smaug 2012-11-02 12:59:20 -07:00
Robert O'Callahan
45f55abd96 Bug 805331. Part 1: Refactor nsDisplayList::GetList
Renames GetList to GetSameCoordinateSystemChildren, and adds an assertion
to verify that the children have the same reference frame as the parent.
Adds nsDisplayList::GetChildren to return whatever children there are.
Obsoletes nsDisplayTransform::GetStoredList.
2012-11-03 01:59:03 +13:00
Wes Johnston
32df5c04e9 backout 387a5f8b5e4f and b45a4dcb88c1 2012-10-29 15:45:52 -07:00
Jacek Szpot
bea8356b2c Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Wes Johnston
a649a716c6 Bug 790454 - Follow up to fix bustage and remove unused nsresult. r=dholbert 2012-10-29 14:35:15 -07:00
Wes Johnston
612d2e4a63 Bug 790454 - Find target for touch during touchstart. r=smaug 2012-10-29 14:02:17 -07:00
Gabor Krizsanits
6a87d375cf Bug 804120 - Offer a way to apply author stylesheet on a given document. r=bz 2012-10-29 12:21:15 +01:00
Mats Palmgren
8ad31a0bc8 Bug 804486 - Add toolkit.scrollbox.horizontalScrollDistance pref, default 5. Change horizontal scroll increment from 10px to horizontalScrollDistance * GetLineScrollAmount().width(). Make GetLineScrollAmount() use the font's AveCharWidth() for the horizontal amount rather than MaxHeight(). r=roc 2012-10-29 06:44:31 +01:00
Robert O'Callahan
117a471483 Bug 800859. Part 3: Dispatch MozAfterPaint after we've done the COMPOSITE step for the invalidations recorded in the event. r=mattwoodrow
--HG--
extra : rebase_source : 7a204c0930e7a2a35ad99af79d28ebba56f034fe
2012-10-19 17:50:34 +13:00
Robert O'Callahan
3df73be65b Bug 800859. Part 2: Remove nsIPresShell::DidPaint. r=mattwoodrow
--HG--
extra : rebase_source : 3c46d24378ca10f4cf3c476d1de6930ed9683946
2012-10-19 14:21:16 +13:00
Robert O'Callahan
055f521513 Bug 800859. Part 1: Refactor PaintType into two independent flags. r=mattwoodrow
--HG--
extra : rebase_source : 9bb272d795f42e63ea00e0f9107eeaaa593a332d
2012-10-19 14:20:39 +13:00
Robert O'Callahan
d234cc4757 Bug 703241. Part 4: Don't let 'frame' be treated as its own container in PresShell::DoScrollContentIntoView. r=matspal
--HG--
extra : rebase_source : 1fba4feec8e6686d00c79bb2aea5d5ac0837c116
2012-10-17 17:44:06 +13:00
Robert O'Callahan
399a5061ba Bug 703241. Part 2: Stop the 'scroll top of line into view' behavior when ancestors in the line are transformed or positioned. Allow that behavior for any kind of line-participant ancestor. r=mats
--HG--
extra : rebase_source : bcbe05a09fe9f5423bb09697f8be3c6ce0c44f46
2012-06-22 17:06:54 +12:00
Robert O'Callahan
7027f42f5d Bug 703241. PresShell::DoScrollContentIntoView and PresShell::ScrollFrameRectIntoView should take transforms into account. r=matspal
--HG--
extra : rebase_source : e1a16f9a19e78ea71044ee78af9fdbf00ec48c0b
2012-06-22 17:06:49 +12:00
Masayuki Nakano
1cc0ce4f3e Bug 705057 part.1 Ensure a set of composition events is fired on same content r=smaug 2012-09-26 14:47:45 +09:00
Gabor Krizsanits
b38c7dcb1a Bug 676054 - part2: Provide AUTHOR_SHEET type for registering with nsIStyleSheetService. r=bz 2012-10-16 21:45:50 +02:00
Makoto Kato
f63a03e07e Bug 801483 - make nsBufferedInputStream::Init fallible. r=bsmith 2012-10-16 17:38:20 +09:00
Trevor Saunders
bc9ac5fb2d bug 801659 - clean up cache of DocAccessible on pres shells, and add fast path to nsAccDocManager::GetDocAccessible() r=surkov, dholbert 2012-10-15 10:58:42 -04:00
David Zbarsky
ec66c8d312 Bug 799407: Enable FAIL_ON_WARNINGS in more of layout/ r=roc 2012-10-15 01:42:40 -04:00
David Zbarsky
53345541db Backout 784bb7c5ea9c (Bug 799407) for bustage 2012-10-15 02:14:34 -04:00
David Zbarsky
16b60cf311 Bug 799407: Enable FAIL_ON_WARNINGS in more of layout/ r=roc 2012-10-15 01:42:40 -04:00
Robert O'Callahan
570d8fb6ce Bug 626245. Part 5: Move plugin widgets before compositing the window, not after. r=matspal
--HG--
extra : rebase_source : 147afbc494e9b05f52b134ca6dd4f9635457d879
2012-10-10 23:25:57 +13:00
Robert O'Callahan
78fbac6550 Bug 626245. Part 4.5: Forward WillPaintWindow/DidPaintWindow notifications to the presshell and do plugin geometry updates from there. r=matspal
--HG--
extra : rebase_source : 5cf892e26962ef045d76a69fa4b4be9f7d7388da
2012-10-10 23:25:57 +13:00
Robert O'Callahan
8aec82ec43 Bug 626245. Part 4: Compute plugin widget geometry updates via the refresh driver's painting, and defer actual widget updates until we've just composited the window. r=mats
Updating plugin widget geometry every time we paint means we don't have to
explicitly request plugin geometry updates.
This patch stops us from flushing plugin geometry changes in
FlushPendingNotifications(Flush_Layout). There are too many Flush_Layouts and
flushing plugin geometry changes on them produces frequent
desynchronization of the plugin geometry with the rendered window contents.
There is some Web compatibility risk there --- it means we have to change
our tests, for one thing --- but hopefully it's OK.

--HG--
extra : rebase_source : 87adde45795ea2cab362ed9df54e62c5cc97e16c
2012-10-07 02:03:23 +13:00
Trevor Saunders
e2db6e1941 bug 798595 - remove useless prmem.h includes r=ehsan 2012-10-04 02:14:06 -04:00
Olli Pettay
0f6bf5eed5 Bug 733305, add a way to hide XBL, r=bz, a=abillings
--HG--
extra : rebase_source : df18273ecdbf013138e8e6f1f4ef8082ac4f410c
2012-10-10 22:04:42 +03:00
Masayuki Nakano
5ac763afdd Bug 795785 part.1 Editor should scroll the selection into view after edit even when the editor is specified overflow: hidden; r=ehsan,smaug, sr=smaug 2012-10-08 03:45:51 +09:00
Matt Woodrow
087f699aa3 Bug 796183 - Always invalidate the widget when doing empty transactions with a LayerManager. r=roc 2012-10-03 13:04:26 +13:00
Benoit Girard
89e0e7d121 Bug 796084 - Rename MOZ_JAVA_COMPOSITOR -> MOZ_ANDROID_OMTC. r=blassey 2012-10-01 16:01:35 -04:00