Commit Graph

41 Commits

Author SHA1 Message Date
danm@netscape.com
e4c490e245 stifle infinite focus/activation recursion. bug 124299 r=hyatt,jst 2002-02-08 01:01:21 +00:00
rods@netscape.com
5047c1117d 1) Removes the arg of nsIDOMWindow in the nsIWebBrowserPrint calls
2) Adds a couple of new methods and an attr to nsIWebBrowserPrint (navigate, is frameset, & exitPP)
3) Removes all but one method from nsIContentViewerFile.idl/h the remaining call is for print regression testing
4) Removes the "static" implementation of nsIContentViewerFile.h
5) Fixed up nsIContentViewerFile.idl and turned it back on so it is now generating the header file
6) Removed all uses of nsIContentViewerFile.h except for the WebCrawler (uses it for Printing Regression testing)
7) nsDocumentViewer.cpp now implements nsIWebBrowserPrint.idl this makes it easier to add new print functionality in one place
8) You can now ask an instance of the ContentViewer for a nsIWebBrowserPrint to do printing (it retruns the nsIWebBrowserPrint interface implemented by the nsDocumentViewer)
9) Anybody who was using nsIContentViewerFile to print will now use nsIWebBrowserPrint
10) You can now do a "GetInterface()" on a GlobalWindow for a nsIWebBrowserPrint
11) The browser UI now uses the GetInterface on the GlobalWindow to get a nsIWebBrowserPrint object to do printing and this can be used for all printing functionality
Bug 120622 r=dcone sr=waterson
2002-02-01 14:52:11 +00:00
rods@netscape.com
1c6b4a35ee Switch public interfaces from nsIPrintOptions to nsIPrintSettings
Enabling XP Print Dialog for Windows
Enabling XP Print Progress Dialog
Enabling XP Page Setup Dialog
Fixing nsPrintPreviewContext to use nsIPrintPreviewContext
Bug 113917 r=dcone sr=attinasi
2002-01-01 12:58:53 +00:00
rods@netscape.com
07ce4096a3 Change nsIWebBrowserPrint.h interface to use nsIPrintSettings
Also added minimal PageSetup dialog with support for Printing BGColors, BGIMages, and Scaling
Bug 108345 r=dcone,chak sr=attinasi
2001-11-26 12:51:39 +00:00
locka@iol.ie
b1384ff5bc The all new web browser persist object plus changes to the assorted embedding samples to use it. b=77909 r=ccarlen@netscape.com sr=rpotts@netscape.com 2001-09-23 21:03:03 +00:00
valeski@netscape.com
ab37c5705a r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway. 2001-09-05 21:28:38 +00:00
chak@netscape.com
894e6e0085 Fix for 81796 - Enable SecureBrowserUI for embedding apps
r=ccarlen, sr=blizzard, a=dbaron
2001-06-02 00:35:39 +00:00
ccarlen@netscape.com
3cab6ea935 Bug 73951 - Enable global history by default for embedding apps. r=valeski/sr=rpotts 2001-05-19 18:31:20 +00:00
locka@iol.ie
f41ce4a8ac Fix for painting problems in embedding apps when window is moved offscreen and back on. b=78412 r=ccarlen@netscape.com sr=blizzard@mozilla.org 2001-05-07 13:49:59 +00:00
sfraser@netscape.com
e2d0e2c801 Fix for 76758, 63241 and 68307. Make Find search through all frames, bring the Find dialog up from JS, and make a docShell enumerator. r=adamlock, sr=kin 2001-04-27 21:11:03 +00:00
danm@netscape.com
0828fe5511 hooking up windowwatcher active window. bug 44809,76011 r=chak,hyatt,saari 2001-04-16 20:34:33 +00:00
blizzard@redhat.com
3085bee8aa Fix bug #72230. Make sure to redraw the background of the window before any document is loaded in embedding. r=valeski,sr=waterson 2001-04-13 03:52:45 +00:00
valeski@netscape.com
7248fd19ed r=ccarlen, sr=blizzard. 74801. removing dead nsIURIContentListener layer in the webBrowser. we now pass directly down into the docshell 2001-04-05 23:20:49 +00:00
rods@netscape.com
7216052c7f This now enables print listeners, print progress and the cancelling of printing
Bug 70946 & Bug 70949 r=dcone,chak sr=attinasi
2001-03-27 12:04:30 +00:00
valeski@netscape.com
5d8107a28b sr=scc. 68187. making weak reference implementation on the browser listener part requirement explicit. API change. 2001-02-14 03:12:33 +00:00
ccarlen@netscape.com
84858d2612 Bug=46869 - Embedding apps need find functionality. r=kin, sr=vidur,sr=alecf 2001-02-07 04:31:36 +00:00
valeski@netscape.com
d0366cc5be r=ccarlen, sr=rpotts. 65925. adding support for listener queueing in the webbrowser, and weak reference support to webprogress listeners. 2001-01-31 21:03:40 +00:00
saari@netscape.com
9d8a00942b checking in stub implementation of nsIWebBrowserFocus interface for embedding. r=pavlov, sr=valeski 2001-01-31 00:34:28 +00:00
valeski@netscape.com
8413dc66a6 r=ccarlen, sr=rpotts. 46848. Reworking listener registration interface. collection type listeners should be registered here. removing nsIWebProgress implementation from nsWebBrowser adfter determining GetDOMWindow() wasn't being used. 2001-01-19 06:00:23 +00:00
locka@iol.ie
c814b2678a New persistence object and helper classes. b=46574, sr=blizzard@mozilla.org 2000-11-30 00:43:42 +00:00
blizzard@redhat.com
a12d84a826 Fix bug #59194. This should restore focus to the right window when Mozilla is given focus when embedded in another application. r=saari,adamlock,valeski sr=hyatt 2000-11-17 19:57:16 +00:00
locka@iol.ie
eceb4c06f4 API changes for embedding. b=46847, r=dougt, a=valeski 2000-08-25 18:39:46 +00:00
locka@iol.ie
a180929390 Fixed some incorrect embedding issues. b=48270 a=valeski 2000-08-16 08:50:00 +00:00
dougt@netscape.com
3f3b4a10db 44113, 44190, 44191.
r/a=valeski@netscape.com

nsDocShellTreeOwner not handling chrome/content correctly.
Asserts when no toplevel window set.
Need to start chrome up from NS_InitEmbedding()
Test App changes.
2000-07-04 21:53:27 +00:00
blizzard@redhat.com
5adba28579 use C++ mode for C++ files for emacs users 2000-04-02 21:19:56 +00:00
tbogard@aol.net
3c2932692e Implemented the nsWBURIContentListener class and hooked it up to the build. It now sets itself as the parentURIListener for the internal docShell. Doing this makes the webBrowser control now the preferred handler for most webBrowser type loads. This fixes the problem where people who were embedding with this would always get a new window. Added a method to nsIWebBrowser to allow setting a parent URI Listener. Split the destruction of the webBrowser object into an InternalDestroy method. This fixes the odd construct where the destructor was calling Destroy and then having to clean up the Init structure that the Destroy method created. 2000-04-02 21:01:18 +00:00
tbogard@aol.net
fd4929616a Removed the cookie from AddWebBrowserListener and RemoveWebBrowserListener because frankly that parameter was dumb. :) Updated the implementation of nsIWebProgressListener to reflect changes in the API (removal of the cookie there too). Removed the UpdateListeners function as that will no longer be needed. 2000-03-26 04:52:16 +00:00
tbogard@aol.net
53c08d9379 Use the generic factory to create the actual objects for the nsWebBrowserSetup and nsWebBrowser classes. Got rid of the unneeded ::Create methods on those classes. 2000-03-14 07:20:17 +00:00
tbogard@aol.net
6a9548fc09 webBrowser now depends on the docShell implementing nsIWebProgress interface. It now passes all the work on to it as well. 2000-03-14 07:05:08 +00:00
tbogard@aol.net
ac0e74c927 Made the constructor public so we can access it from the generic module code. 2000-03-13 07:11:21 +00:00
tbogard@aol.net
b16fd2e76a Changed nsWebBrowser to support nsIWebProgress instead of nsIProgress. Made the new nsDocShellTreeOwner a friend. 2000-03-11 01:16:24 +00:00
tbogard@aol.net
acb5caca55 Changed nsWebBrowser over to implement nsIWebNavigation instead of nsIWebBrowserNav. r=mscott a=jevering 2000-02-24 03:51:35 +00:00
tbogard@aol.net
69a12264c5 Moving the needed interfaces over to the header file where they are needed. This will fix the wensleydale bustage. 2000-02-14 09:39:21 +00:00
tbogard@aol.net
76edcb3434 Renamed nsIWebBrowserApp with nsIWebBrowserChrome. Added some additional methods and more fully specified the ones that were there. Changed the interfaces to forward declare referenced interfaces rather than including them all. Added topLevelWindow to nsIWebBrowser. Provided implementation for these changes. 1999-11-18 09:17:07 +00:00
tbogard@aol.net
8b3728edd3 Replaced references to nsIGenericWindow to use nsIBaseWindow. Removed the NS_IMPL_ISUPPORTSX in favor of the map approach. 1999-11-17 09:00:05 +00:00
tbogard@aol.net
a2d9208a5d Changed some m_* to m*. 1999-11-01 19:57:15 +00:00
tbogard@aol.net
1c70dfbc27 Create an initialization structure to hold data until window created. Added a lot of implementation for many of the accessors. Filled in a lot of other first cut implementation. 1999-10-27 02:45:49 +00:00
tbogard@aol.net
3ae36b30db Changed nsIProgress::addListener and nsIWebBrowser::addListener to be addProgressListener and addWebBrowserListener respectively. This is to avoid confusing name conflicts. Implemented nsIWebBrowser::GetDocument() and nsIWebBrowser::GetDocShell(). 1999-10-26 02:37:14 +00:00
tbogard@aol.net
4ebb00e4d3 Removed nsIWebBrowserListener in favor of the new more generic nsIInterfaceRequestor. Added some interface boundary parameter validation. Added implementation for add and remove listener. 1999-10-26 02:26:57 +00:00
tbogard@aol.net
4006ce4d61 Framed out nsWebBrowser implementation. Basically just added all the interface functions. Code now has a place to live. 1999-10-23 07:56:27 +00:00
tbogard@aol.net
2aecb83e69 Framed out nsWebBrowser. Added nsCWebBrowser definition. Setup to build library. 1999-10-22 02:35:18 +00:00