Commit Graph

10 Commits

Author SHA1 Message Date
sharparrow1%yahoo.com
01ccd95a11 Bug 361844: Printing cleanup; r+sr=roc. Changes the way the presentation is managed for print preview, plus many smaller cleanups. 2006-12-10 08:05:05 +00:00
bsmedberg%covad.net
78f6d0683d Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver 2005-11-11 14:36:26 +00:00
bzbarsky%mit.edu
1601d80e99 Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst. 2005-01-03 22:51:17 +00:00
bryner%brianryner.com
5c02a6978c Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
bzbarsky%mit.edu
89005ed71c Fix preshints in anonymous content some more (by moving all document sheet
styleset munging out of the document viewer and into the document and splitting
out the preshint levels completely from the other CSS levels).  Bug 234861,
r+sr=dbaron
2004-07-15 20:30:30 +00:00
gerv%gerv.net
9d2ee4928c Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
hpradhan%hotpop.com
a5975523b9 bug 232731 : misc cleanup in printing code 2004-02-01 12:10:57 +00:00
bryner%brianryner.com
e65d2d2fe5 Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron. 2004-01-07 22:30:53 +00:00
rods%netscape.com
855fd85355 This patch is a bit different, instead of having the DocShell figure out whether it or one of its children are printing or PP, it gets told whether it is, and it caches that value.
This was done so navigation is as fast as possible, meaning it doesn't have to figure it out each time.
The patch:
1) Adds a method to the nsIContentViewerContainer to tell it whether we are printing or in PP.
2) Fix up the DV and PrintEngine, the DV SetIsXXXX didn't need to set any
values in the PrintEngine, but now instead makes calls and sets the values in DocShells
3) Cleaned up and add a macro to nsIDocumentViewerPrint
Bug 171161 r=dcone sr=rpotts
2002-10-08 13:17:56 +00:00
rods%netscape.com
fa04fb294e Move printing code out of the DocumentViewer
add in #defines to turn on and off printing and print preview
Bug 139905 r=dcone sr=jst
2002-08-21 12:01:05 +00:00