41 Commits

Author SHA1 Message Date
danm%netscape.com
6a157faf91 stifle infinite focus/activation recursion. bug 124299 r=hyatt,jst
git-svn-id: svn://10.0.0.236/trunk@113959 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 01:01:21 +00:00
rods%netscape.com
20b4083174 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


git-svn-id: svn://10.0.0.236/trunk@113419 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 14:52:11 +00:00
rods%netscape.com
ee8a5e4640 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


git-svn-id: svn://10.0.0.236/trunk@111213 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-01 12:58:53 +00:00
rods%netscape.com
fdb6cf0011 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


git-svn-id: svn://10.0.0.236/trunk@108895 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-26 12:51:39 +00:00
locka%iol.ie
2101bdc168 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
git-svn-id: svn://10.0.0.236/trunk@103594 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 21:03:03 +00:00
valeski%netscape.com
8db35965a8 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.
git-svn-id: svn://10.0.0.236/trunk@102327 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 21:28:38 +00:00
chak%netscape.com
5daf9746c3 Fix for 81796 - Enable SecureBrowserUI for embedding apps
r=ccarlen, sr=blizzard, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@96209 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-02 00:35:39 +00:00
ccarlen%netscape.com
ae35e88c15 Bug 73951 - Enable global history by default for embedding apps. r=valeski/sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@95547 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 18:31:20 +00:00
locka%iol.ie
021fd65efa 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
git-svn-id: svn://10.0.0.236/trunk@94123 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-07 13:49:59 +00:00
sfraser%netscape.com
05d0dfeb30 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
git-svn-id: svn://10.0.0.236/trunk@93298 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 21:11:03 +00:00
danm%netscape.com
f2abbd8476 hooking up windowwatcher active window. bug 44809,76011 r=chak,hyatt,saari
git-svn-id: svn://10.0.0.236/trunk@92424 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-16 20:34:33 +00:00
blizzard%redhat.com
ef034abbcd Fix bug #72230. Make sure to redraw the background of the window before any document is loaded in embedding. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@92165 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-13 03:52:45 +00:00
valeski%netscape.com
985661c739 r=ccarlen, sr=blizzard. 74801. removing dead nsIURIContentListener layer in the webBrowser. we now pass directly down into the docshell
git-svn-id: svn://10.0.0.236/trunk@91505 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-05 23:20:49 +00:00
rods%netscape.com
c4b399df8d This now enables print listeners, print progress and the cancelling of printing
Bug 70946 & Bug 70949 r=dcone,chak sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@90516 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 12:04:30 +00:00
valeski%netscape.com
e0b53db01a sr=scc. 68187. making weak reference implementation on the browser listener part requirement explicit. API change.
git-svn-id: svn://10.0.0.236/trunk@86970 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 03:12:33 +00:00
ccarlen%netscape.com
08ac70912c Bug=46869 - Embedding apps need find functionality. r=kin, sr=vidur,sr=alecf
git-svn-id: svn://10.0.0.236/trunk@86474 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 04:31:36 +00:00
valeski%netscape.com
9d0b443a39 r=ccarlen, sr=rpotts. 65925. adding support for listener queueing in the webbrowser, and weak reference support to webprogress listeners.
git-svn-id: svn://10.0.0.236/trunk@85869 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 21:03:40 +00:00
saari%netscape.com
5b7ad74543 checking in stub implementation of nsIWebBrowserFocus interface for embedding. r=pavlov, sr=valeski
git-svn-id: svn://10.0.0.236/trunk@85787 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 00:34:28 +00:00
valeski%netscape.com
221a69dbb2 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.
git-svn-id: svn://10.0.0.236/trunk@85141 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 06:00:23 +00:00
locka%iol.ie
39f6de3881 New persistence object and helper classes. b=46574, sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@83098 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 00:43:42 +00:00
blizzard%redhat.com
62360b4490 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
git-svn-id: svn://10.0.0.236/trunk@82741 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 19:57:16 +00:00
locka%iol.ie
09805179ae API changes for embedding. b=46847, r=dougt, a=valeski
git-svn-id: svn://10.0.0.236/trunk@77213 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 18:39:46 +00:00
locka%iol.ie
68dda5d2f6 Fixed some incorrect embedding issues. b=48270 a=valeski
git-svn-id: svn://10.0.0.236/trunk@76433 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 08:50:00 +00:00
dougt%netscape.com
bf51a63eae 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.


git-svn-id: svn://10.0.0.236/trunk@73658 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-04 21:53:27 +00:00
blizzard%redhat.com
153011395b use C++ mode for C++ files for emacs users
git-svn-id: svn://10.0.0.236/trunk@64955 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 21:19:56 +00:00
tbogard%aol.net
7897b53e83 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.
git-svn-id: svn://10.0.0.236/trunk@64952 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 21:01:18 +00:00
tbogard%aol.net
9263333b38 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.
git-svn-id: svn://10.0.0.236/trunk@64147 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 04:52:16 +00:00
tbogard%aol.net
508b009b9f 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.
git-svn-id: svn://10.0.0.236/trunk@62899 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 07:20:17 +00:00
tbogard%aol.net
c0147da47d webBrowser now depends on the docShell implementing nsIWebProgress interface. It now passes all the work on to it as well.
git-svn-id: svn://10.0.0.236/trunk@62896 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 07:05:08 +00:00
tbogard%aol.net
42b0adbf42 Made the constructor public so we can access it from the generic module code.
git-svn-id: svn://10.0.0.236/trunk@62755 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 07:11:21 +00:00
tbogard%aol.net
a49bd0c4e5 Changed nsWebBrowser to support nsIWebProgress instead of nsIProgress. Made the new nsDocShellTreeOwner a friend.
git-svn-id: svn://10.0.0.236/trunk@62592 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:16:24 +00:00
tbogard%aol.net
0823b2e5f8 Changed nsWebBrowser over to implement nsIWebNavigation instead of nsIWebBrowserNav. r=mscott a=jevering
git-svn-id: svn://10.0.0.236/trunk@61571 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 03:51:35 +00:00
tbogard%aol.net
778337e30f Moving the needed interfaces over to the header file where they are needed. This will fix the wensleydale bustage.
git-svn-id: svn://10.0.0.236/trunk@60722 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 09:39:21 +00:00
tbogard%aol.net
67f780367f 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.
git-svn-id: svn://10.0.0.236/trunk@53871 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 09:17:07 +00:00
tbogard%aol.net
b5b6d5c1a7 Replaced references to nsIGenericWindow to use nsIBaseWindow. Removed the NS_IMPL_ISUPPORTSX in favor of the map approach.
git-svn-id: svn://10.0.0.236/trunk@53764 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-17 09:00:05 +00:00
tbogard%aol.net
e885439545 Changed some m_* to m*.
git-svn-id: svn://10.0.0.236/trunk@52404 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 19:57:15 +00:00
tbogard%aol.net
1d0ea94a3d 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.
git-svn-id: svn://10.0.0.236/trunk@51936 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-27 02:45:49 +00:00
tbogard%aol.net
2e96f47e2e 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().
git-svn-id: svn://10.0.0.236/trunk@51814 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 02:37:14 +00:00
tbogard%aol.net
254fe24a86 Removed nsIWebBrowserListener in favor of the new more generic nsIInterfaceRequestor. Added some interface boundary parameter validation. Added implementation for add and remove listener.
git-svn-id: svn://10.0.0.236/trunk@51813 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 02:26:57 +00:00
tbogard%aol.net
ac565dc536 Framed out nsWebBrowser implementation. Basically just added all the interface functions. Code now has a place to live.
git-svn-id: svn://10.0.0.236/trunk@51658 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-23 07:56:27 +00:00
tbogard%aol.net
1709ffcde6 Framed out nsWebBrowser. Added nsCWebBrowser definition. Setup to build library.
git-svn-id: svn://10.0.0.236/trunk@51493 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-22 02:35:18 +00:00