gecko/layout/base
Robert O'Callahan c6e4498a20 Bug 622072. Part 3: Support empty transactions for canvas layers. r=tnikkel
The basic idea is that whenever a layer transaction updates the window, we clear out the invalidation state for the canvas rendering context,
using a DidTransactionCallback registered on the layer(s) for the canvas, which calls MakeContextClean.

The DidTransactionCallbacks are directed to the user data attached to the Layer, which holds a strong reference to the canvas element. This
ensures that the element lives as long as the layer. Layers are destroyed when the presentation is torn down (including if the frame is destroyed),
so we can't have a leak here. The reference to the canvas element is only strong because the layer might briefly outlive the frame (the layer
won't be destroyed until the next paint of the window).

This patch moves responsibility for calling CanvasLayer::Updated and nsFrame::MarkLayersActive from the canvas context to nsHTMLCanvasElement::InvalidateFrame.
We call Updated on the retained CanvasLayer, if there is one; any other CanvasLayers created for this canvas would only be used once, and have Updated
called on them in BuildLayer when created.
2011-03-28 12:59:47 +13:00
..
crashtests Don't create or delete frames when nsTextFrame::SetLength is called from bidi resolution. Bug 635329, r+a=roc 2011-02-21 10:02:23 +02:00
tests Merge cedar into mozilla-central 2011-03-30 13:53:35 -04:00
FrameLayerBuilder.cpp Bug 622072. Part 3: Support empty transactions for canvas layers. r=tnikkel 2011-03-28 12:59:47 +13:00
FrameLayerBuilder.h Bug 622072. Part 3: Support empty transactions for canvas layers. r=tnikkel 2011-03-28 12:59:47 +13:00
FramePropertyTable.cpp Followup to bug 550611: Use a different placement-dtor form so as to appease gcc 4.5. rs=tn a=bustage 2010-11-09 00:17:06 -06:00
FramePropertyTable.h
Makefile.in Backed out changeset a5dbece71e4a due to test failures 2011-03-31 09:11:21 -04:00
nsBidi.cpp Basic bidi support for SVG. Bug 620446, r=roc, a=roc 2011-01-04 00:52:17 -08:00
nsBidi.h Basic bidi support for SVG. Bug 620446, r=roc, a=roc 2011-01-04 00:52:17 -08:00
nsBidiPresUtils.cpp Back out bug 263359 because it has caused bug 645119 2011-03-25 18:15:29 -04:00
nsBidiPresUtils.h Back out bug 263359 because it has caused bug 645119 2011-03-25 18:15:29 -04:00
nsCaret.cpp Bug 632215 - Make the caret ignore -moz-user-modify if we ask it to immediately, instead of waiting for the next caret paint timer; r=roc a=blocking-final+ 2011-02-10 16:12:53 -05:00
nsCaret.h Backed out changeset 3fc6728e81a8 because of Windows 7 orange 2011-01-19 16:09:50 -05:00
nsChangeHint.h
nsChildIterator.cpp
nsChildIterator.h
nsCompatibility.h
nsCounterManager.cpp
nsCounterManager.h
nsCSSColorUtils.cpp
nsCSSColorUtils.h
nsCSSFrameConstructor.cpp Merge cedar into mozilla-central 2011-03-30 13:53:35 -04:00
nsCSSFrameConstructor.h Bug 598832 part 16. Use a single TreeMatchContext for all the style resolution that the frame constructor does as part of a single frame construction batch. r=dbaron 2011-03-29 13:29:21 -04:00
nsCSSRendering.cpp Bug 59109 Part 2: Cleaning up current text decoration implementation r=dbaron 2011-03-31 21:26:49 +09:00
nsCSSRendering.h Bug 59109 Part 2: Cleaning up current text decoration implementation r=dbaron 2011-03-31 21:26:49 +09:00
nsCSSRenderingBorders.cpp Don't try drawing zero-width borders. (Bug 618071) r=roc a=blocking2.0:beta8 2010-12-09 20:38:52 -08:00
nsCSSRenderingBorders.h Bug 588271 - Part 4: Add specialized rendering codepaths for the most common border types. r=vlad a=blocking-betan 2010-12-02 14:17:58 +01:00
nsDisplayItemTypes.h Bug 626602. Part 3: Hook up ReadbackLayers in nsObjectFrame. r=cjones 2011-02-16 16:43:30 -06:00
nsDisplayList.cpp Backed out changeset a5dbece71e4a due to test failures 2011-03-31 09:11:21 -04:00
nsDisplayList.h Bug 644832. Windowless plugins inside CSS transforms should be rendered. r=tnikkel 2011-04-01 10:33:46 +13:00
nsDocumentViewer.cpp Bug 637864 - Give nsIViewManager::GetRootView a sane signature; r=bz 2011-03-29 22:24:54 -04:00
nsFrameManager.cpp Bug 587484 - warning: suggest parentheses around assignment used as truth value in while (... = GetNextContinuation()) 2011-02-16 14:14:14 +01:00
nsFrameManager.h Bug 606125 - develop a way to handle visibility style, r=marcoz, davidb, sr=bz, a=blocking 2010-11-13 12:49:26 -05:00
nsFrameManagerBase.h
nsFrameTraversal.cpp
nsFrameTraversal.h
nsGenConList.cpp
nsGenConList.h
nsIDocumentViewer.h Bug 391177: XSLT should reuse the existing inner window in order to help debuggers and the like. r=jst a=blocker CLOSED TREE 2010-09-15 15:54:00 -07:00
nsIDocumentViewerPrint.h Bug 584193. Allow print preview to work without its own widget. r=smaug a=blocking beta5 2010-08-27 18:15:08 -05:00
nsIFrameTraversal.h
nsIImageMap.h
nsILayoutDebugger.h
nsILayoutHistoryState.h
nsImageLoader.cpp Change callers to use new nsIFrame overflow APIs. (Bug 542595, patch 20) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:47 -07:00
nsImageLoader.h
nsIPercentHeightObserver.h
nsIPresShell.h Bug 617539. Remove nsIPresShell_MOZILLA_2_0_BRANCH(2). r=tnikkel 2011-04-01 10:33:46 +13:00
nsIReflowCallback.h
nsIStyleSheetService.idl
nsLayoutDebugger.cpp Bug 579808. Fix bounds for nsDisplayTransform and nsDisplayPlugin. r=tnikkel a=blocking-betaN+ 2011-01-06 19:38:22 -06:00
nsLayoutErrors.h
nsLayoutHistoryState.cpp
nsLayoutUtils.cpp Bug 617539 - remove nsIWidget_MOZILLA_2_0_BRANCH, r=jimm 2011-03-25 11:03:35 -04:00
nsLayoutUtils.h Bug 638241. Use a cache to avoid redoing SurfaceForElement and DoDrawImageSecurityCheck. r=bzbarsky 2011-03-24 16:13:56 +13:00
nsPresArena.cpp Add poisoning for nsRuleData::mValueOffsets. (Bug 636039, patch 19) r=bzbarsky 2011-03-17 20:14:31 -07:00
nsPresArena.h Add poisoning for nsRuleData::mValueOffsets. (Bug 636039, patch 19) r=bzbarsky 2011-03-17 20:14:31 -07:00
nsPresContext.cpp Bug 644832. Windowless plugins inside CSS transforms should be rendered. r=tnikkel 2011-04-01 10:33:46 +13:00
nsPresContext.h bug 623820 - Text zoom reflow messes up layout on AMO and other sites r=roc,dbaron a=blocking-fennec 2011-03-10 23:33:43 -05:00
nsPresShell.cpp Bug 617539. Remove nsIPresShell_MOZILLA_2_0_BRANCH(2). r=tnikkel 2011-04-01 10:33:46 +13:00
nsPresState.h
nsQuoteList.cpp
nsQuoteList.h
nsRefreshDriver.cpp Bug 645943. Initialize mLastTimerInterval correctly. r=dbaron 2011-03-29 00:41:01 -04:00
nsRefreshDriver.h Bug 642717. Hold strong references to our MozBeforePaint event targets. r=roc 2011-03-28 10:49:48 -04:00
nsStyleChangeList.cpp (no bug) fix end-of-line whitespace so I can add a changeset with an a=bustage annotation 2010-11-16 11:28:36 -08:00
nsStyleChangeList.h
nsStyleConsts.h Bug 59109 Part 1: Adding -moz-text-decoration-color and -moz-text-decoration-style r=dbaron, sr=bzbarsky 2011-03-31 21:26:35 +09:00
nsStyleSheetService.cpp
nsStyleSheetService.h
PaintTracker.cpp Bug 616812 Remove extraneous CRs r+a=dbaron 2011-02-16 21:39:52 +00:00
PaintTracker.h Bug 616812 Remove extraneous CRs r+a=dbaron 2011-02-16 21:39:52 +00:00
RestyleTracker.cpp
RestyleTracker.h