Robert O'Callahan
779d6360f4
Bug 721294. Only call nsIPresShell::WillPaint for the root presshell. Pass aWilLSendDidPaint correctly to nsIPresShell::Paint. Remove aPaintDefaultBackground from nsIPresShell::Paint. r=mats
2012-01-28 16:36:23 +13:00
Phil Ringnalda
f7620ea904
Back out eb80ab6ee07b (bug 721627) and 06d02e7132b2 (bug 721294) for orange and red
2012-01-27 20:31:29 -08:00
Robert O'Callahan
613c2cea1d
Bug 721294. Only call nsIPresShell::WillPaint for the root presshell. Pass aWilLSendDidPaint correctly to nsIPresShell::Paint. Remove aPaintDefaultBackground from nsIPresShell::Paint. r=mats
...
--HG--
extra : rebase_source : f54afeed8d3d41d3e8f9118386e4a67cfac82a98
2012-01-28 16:36:23 +13:00
Markus Stange
56290bc083
Bug 598482 part 21 - Update the invalidation setup comment. r=roc
2011-12-23 22:52:25 -05:00
Markus Stange
eb399a7302
Bug 598482 part 20 - Rename Update to Invalidate; view updates are now always asynchronous. r=roc
2011-12-23 22:52:25 -05:00
Boris Zbarsky
b02086b4af
Bug 598482 part 16. When flushing layout, also flush out widget geometry changes. r=roc
2011-12-23 22:52:23 -05:00
Markus Stange
464140fc29
Bug 598482 part 15 - Rename view update batches to refresh disable batches and only use them in the two places that can enter reflow (where synchronous painting is permitted). r=roc
2011-12-23 22:52:23 -05:00
Boris Zbarsky
2a31a9533e
Bug 598482 part 14. Rename IsRefreshEnabled to IsPaintingAllowed. r=roc
2011-12-23 22:52:23 -05:00
Markus Stange
9536e6daf6
Bug 598482 part 13 - Flush invalidations via the refresh driver instead of from view update batches. Change the meaning of "refresh disabled" from "no invalidations allowed" to "no synchronous painting allowed". r=roc
2011-12-23 22:52:23 -05:00
Markus Stange
c40cfadc96
Bug 598482 part 12 - Remove unnecessary widget parameter. r=roc
2011-12-23 22:52:23 -05:00
Markus Stange
aa95f5d61c
Bug 598482 part 11 - Set up a connection between the view manager and the refresh driver. r=roc
2011-12-23 22:52:22 -05:00
Markus Stange
8cabc9878d
Bug 598482 part 10 - Small refactoring in nsViewManager. r=roc
2011-12-23 22:52:22 -05:00
Markus Stange
0c6de8adf6
Bug 598482 part 9 - Remove unused aIgnoreWidgetView argument. r=roc
2011-12-23 22:52:22 -05:00
Markus Stange
164e432c6b
Bug 598482 part 8 - Remove unused mUpdateCnt. r=roc
2011-12-23 22:52:22 -05:00
Markus Stange
d13d62c3a3
Bug 598482 part 7 - Remove NS_VMREFRESH_* flags. NS_VMREFRESH_NO_SYNC is now the unchangable default. r=roc
2011-12-23 22:52:22 -05:00
Markus Stange
294783292b
Bug 598482 part 5 - Remove support for event-based invalidation flushing. r=roc
2011-12-23 22:52:21 -05:00
Markus Stange
1a8fc22417
Bug 598482 part 2 - Remove synchronous painting APIs from nsIViewManager. r=roc
2011-12-23 22:52:21 -05:00
Phil Ringnalda
3cce1527f8
Back out 1ac4cb2e7c32 to c631f9c3e9a9 (bug 598482) for Android reftest failures
2011-12-23 22:21:58 -08:00
Markus Stange
2e5f84bd4b
Bug 598482 part 21 - Update the invalidation setup comment. r=roc
2011-12-23 22:52:25 -05:00
Markus Stange
dfe85f1f6f
Bug 598482 part 20 - Rename Update to Invalidate; view updates are now always asynchronous. r=roc
2011-12-23 22:52:25 -05:00
Boris Zbarsky
80ff66daf0
Bug 598482 part 16. When flushing layout, also flush out widget geometry changes. r=roc
2011-12-23 22:52:23 -05:00
Markus Stange
d377851c88
Bug 598482 part 15 - Rename view update batches to refresh disable batches and only use them in the two places that can enter reflow (where synchronous painting is permitted). r=roc
2011-12-23 22:52:23 -05:00
Boris Zbarsky
22e7dc8bfa
Bug 598482 part 14. Rename IsRefreshEnabled to IsPaintingAllowed. r=roc
2011-12-23 22:52:23 -05:00
Markus Stange
50f30c5700
Bug 598482 part 13 - Flush invalidations via the refresh driver instead of from view update batches. Change the meaning of "refresh disabled" from "no invalidations allowed" to "no synchronous painting allowed". r=roc
2011-12-23 22:52:23 -05:00
Markus Stange
2fe2d8bd71
Bug 598482 part 12 - Remove unnecessary widget parameter. r=roc
2011-12-23 22:52:23 -05:00
Markus Stange
4b8f403413
Bug 598482 part 11 - Set up a connection between the view manager and the refresh driver. r=roc
2011-12-23 22:52:22 -05:00
Markus Stange
fc01177091
Bug 598482 part 10 - Small refactoring in nsViewManager. r=roc
2011-12-23 22:52:22 -05:00
Markus Stange
246ac10608
Bug 598482 part 9 - Remove unused aIgnoreWidgetView argument. r=roc
2011-12-23 22:52:22 -05:00
Markus Stange
6e9583f317
Bug 598482 part 8 - Remove unused mUpdateCnt. r=roc
2011-12-23 22:52:22 -05:00
Markus Stange
352b17f6aa
Bug 598482 part 7 - Remove NS_VMREFRESH_* flags. NS_VMREFRESH_NO_SYNC is now the unchangable default. r=roc
2011-12-23 22:52:22 -05:00
Markus Stange
c59a4291ff
Bug 598482 part 5 - Remove support for event-based invalidation flushing. r=roc
2011-12-23 22:52:21 -05:00
Markus Stange
4ca59bb5ee
Bug 598482 part 2 - Remove synchronous painting APIs from nsIViewManager. r=roc
2011-12-23 22:52:21 -05:00
Neil Deakin
afa7e2eaae
Bug 703260, part 3, remove nsIViewObserver, r=mats
2011-11-21 12:53:20 -05:00
Neil Deakin
9e0f3e82fe
Bug 703260, part 1, remove view from eventstatemanager and presshell event handling, r=smaug,sr=roc
2011-11-21 12:53:20 -05:00
Timothy Nikkel
3715293ac6
Bug 695245. Misc view related code cleanup. Mostly dead code removal. r=roc
2011-10-19 14:10:13 -05:00
Ehsan Akhgari
2a602a5685
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Rafael Ávila de Espíndola
9ca4b64c4b
Bug 678222 - Fix build with clang and c++0x; r=roc
...
Change AppUnitsPerDevPixel to return a PRUint32. It should never return
negative values and it is used in initializer lists that expect unsigned
values, which is not valid c++0x.
I have also change the member variables to be unsigned and converted
a sentinel value to use 0 instead of -1. UINT32_MAX should work fine too
if you like it better.
2011-08-11 19:19:03 -04:00
Marco Castelluccio
6e58070f5f
Bug 635643. Remove nsIRegion, because it is a useless wrapper class. r=tnikkel
2011-07-25 17:19:37 -05:00
Timothy Nikkel
88a07ae5c6
Bug 655267. Move the synth mouse move handling from the view manager to the pres shell. r=roc
...
I also snuck in some minor cleanup.
2011-05-11 10:49:16 -05:00
Zack Weinberg
dd67585463
Bug 651017, part 5: mechanical changes.
...
--HG--
extra : rebase_source : 8bbdf48488736b51d05e734e2e9316c1460cfed5
2011-04-16 18:22:44 -07:00
Ms2ger
3aac8958f3
Bug 637864 - Give nsIViewManager::GetRootView a sane signature; r=bz
2011-03-29 22:24:54 -04:00
Timothy Nikkel
cc09403fac
Bug 587542. If painting is suppressed in the presshell, drop invalidations that come through the view subsystem as well as through the usual frame invalidation path. r=roc
2010-08-18 20:16:58 -05:00
Boris Zbarsky
e8a9de31ab
Bug 575336 part 1. Make sure to update the size of the current prescontext on style flush, so that media queries do the right thing. r=roc
2010-08-05 14:39:39 -04:00
Timothy Nikkel
b364da1a00
Bug 563878. Part 12. Change the view observer interface and overhaul painting in view/. r=mats f=roc
2010-07-18 21:23:47 -05:00
Timothy Nikkel
3317cb6848
Bug 563878. Part 11. Rework the synth mouse move code. r=mats
2010-07-18 21:23:47 -05:00
Robert O'Callahan
1df5a7ec56
Bug 564991. Part 27: Make plugin geometry changes asynchronous and make them happen as close to the final paint as possible. r=matspal,sr=vlad
2010-07-16 09:08:08 +12:00
Robert O'Callahan
00f2a44ddc
Bug 572900. Part 1: Remove view cruft that's not needed now that scrolling is layer-based. r=tnikkel
2010-07-16 09:08:06 +12:00
Timothy Nikkel
60e2c474d2
Bug 563878. Part 6. Simplify nsViewManager::ViewToWidget. r=mats
2010-07-02 14:11:04 -05:00
Jim Mathies
8c780e75d1
Bug 513162 - Widget additions for recycling top level widgets as content containers. r=dbaron.
2010-06-24 21:01:06 -05:00