112 Commits

Author SHA1 Message Date
tbogard%aol.net
613ccde6ff The parent content listener now doesn't have to implement every method. It can just implement the ones it wants and return NS_ERROR_NOT_IMPLEMENTED on the others.
git-svn-id: svn://10.0.0.236/trunk@64969 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 00:45:25 +00:00
blizzard%redhat.com
0179e82811 remove the nsIDocShell hackery that was in there since travis checked in code to fix the problem that I was having. this is not part of the build.
git-svn-id: svn://10.0.0.236/trunk@64966 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 00:05:30 +00:00
scc%netscape.com
589df0690f Adding NSPR to both debug and optimized builds; this should fix the build bustage. r=bruce
git-svn-id: svn://10.0.0.236/trunk@64963 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 23:19:24 +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
cd052753f4 added files: mozilla/embedding/browser/webBrowser/nsWBURIContentListener.cpp
git-svn-id: svn://10.0.0.236/trunk@64953 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 21:01:51 +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
blizzard%redhat.com
19dd6313e7 add work around for problems in nsIWebBrowser by registering the chrome object as the URIContentListener of the docshell. this solves the problem where clicking in links creates a new toplevel window.
git-svn-id: svn://10.0.0.236/trunk@64950 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 20:50:57 +00:00
blizzard%redhat.com
fbb6da544c make the default size bigger
git-svn-id: svn://10.0.0.236/trunk@64949 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 20:49:28 +00:00
locka%iol.ie
26c301f9e2 Replaced some more nsIWebShell references.
Changed browser to call LoadURI on nsIWebNavigation instead of the old webshell LoadURL method


git-svn-id: svn://10.0.0.236/trunk@64936 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 13:58:36 +00:00
locka%iol.ie
c9d08965bc Replaced FindNamedBrowser method with FindNamedBrowserItem
git-svn-id: svn://10.0.0.236/trunk@64935 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 13:57:25 +00:00
cls%seawood.org
4b879b15dd Adding a script to print out which of a given list of files do not end with a newline. Source files that do not end with a newline break at least the HP-UX compiler. Adding newlines to all of the source files found at this point.
git-svn-id: svn://10.0.0.236/trunk@64923 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 07:17:25 +00:00
tbogard%aol.net
a9a5cd5389 First checkin of new files for the content listener in the webBrowser.
git-svn-id: svn://10.0.0.236/trunk@64922 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 07:05:39 +00:00
danm%netscape.com
4a4edbf868 add alwaysraised/lowered chrome flags
git-svn-id: svn://10.0.0.236/trunk@64895 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 22:02:18 +00:00
locka%iol.ie
5875ceaabd Fixed problem with browser opening as a popup and not a control.
Removed some webshell references


git-svn-id: svn://10.0.0.236/trunk@64885 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 16:30:43 +00:00
blizzard%redhat.com
a65a5df19f more work on the embedding widget. not part of the build. a=leaf
git-svn-id: svn://10.0.0.236/trunk@64846 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 04:21:40 +00:00
ramiro%fateware.com
593d258bf6 Changed the signature GtkMozEmbedChrome::FindNamedBrowserItem() for the l+g
embedding changes.  nsIDocShellTreeItem vs. nsIWebBrowser.


git-svn-id: svn://10.0.0.236/trunk@64734 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 09:09:45 +00:00
tbogard%aol.net
18b12cc9a6 Renamed the parameters to be *Child* instead of *Self* to be better in sync with the function name OnChildProgressChange().
git-svn-id: svn://10.0.0.236/trunk@64480 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 10:11:36 +00:00
tbogard%aol.net
03e0833c46 In the implementation of FindItemWithName, make sure to pass the tree owner the docShell knows about and not another higher level requestor.
git-svn-id: svn://10.0.0.236/trunk@64352 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 09:40:14 +00:00
tbogard%aol.net
6b7b9e9d5f Changed the FindNamedBrowser to be FindNamedBrowserItem. This is important because it's possible that a frame needs to be returned, not just a toplevel browser object. So we need to be able to return a destination frame from this call. So now the API talks in terms of a frame.
git-svn-id: svn://10.0.0.236/trunk@64349 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 09:24:12 +00:00
tbogard%aol.net
333578da67 Make sure the embedding control is properly setting itself as the tree owner. This should fix the current assertion when running viewer.
git-svn-id: svn://10.0.0.236/trunk@64341 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 07:40:10 +00:00
locka%iol.ie
af7648689a Added impl of new interface method
git-svn-id: svn://10.0.0.236/trunk@64264 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 23:18:44 +00:00
locka%iol.ie
31fc60ce77 Fixed plugin to match only against *.ocx and *.dll files
git-svn-id: svn://10.0.0.236/trunk@64188 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 15:06:32 +00:00
locka%iol.ie
9a1bc91b7b Fixed up CBrowse to work from its new home
git-svn-id: svn://10.0.0.236/trunk@64187 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 15:05:05 +00:00
locka%iol.ie
5ed31407d0 First cut at a working control after the move to the new APIs. It works but the content appears in a popup window for some reason
git-svn-id: svn://10.0.0.236/trunk@64186 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 15:01:44 +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
e60a5e69a0 Implementation for the new method onLocationChange added to the nsIWebProgressListener interface.
git-svn-id: svn://10.0.0.236/trunk@64084 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 01:00:05 +00:00
blizzard%redhat.com
6eac26b10a explicitly link in the superwin library. not part of the build.
git-svn-id: svn://10.0.0.236/trunk@63979 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 03:21:21 +00:00
blizzard%redhat.com
66a0ddd60e initial code checkin for the new gtk embedding widget. bug #31905. This is not feature complete and is not being built yet.
git-svn-id: svn://10.0.0.236/trunk@63934 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:55:18 +00:00
locka%iol.ie
53a335fdad Fixed up to build (but not work) against the latest webshell stuff
git-svn-id: svn://10.0.0.236/trunk@63898 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 22:43:23 +00:00
locka%iol.ie
1a03c21ebc Moved from webshell/embed/ActiveX
git-svn-id: svn://10.0.0.236/trunk@63631 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 22:35:48 +00:00
locka%iol.ie
2fe2d65f55 Moved from webshell/embed/ActiveX
git-svn-id: svn://10.0.0.236/trunk@63629 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 22:22:47 +00:00
locka%iol.ie
b8e31941f7 Updated source with changes from old activex control folder
git-svn-id: svn://10.0.0.236/trunk@63628 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 22:15:35 +00:00
locka%iol.ie
ccc6160631 Relocated ActiveX control test source
git-svn-id: svn://10.0.0.236/trunk@63502 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 00:05:33 +00:00
tbogard%aol.net
933c26105e Implemented FindItemWithName and ContentShellAdded. Changed FindNamedBrowserChrome to deal with nsIWebBrowser instead of nsIWebBrowserChrome and changed the name to FindNamedBrowser. Changed FindNamedBrowser and GetNamedBrowser to return the type instead of having it as an out parameter. This is cleaner for JS.
git-svn-id: svn://10.0.0.236/trunk@63001 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 04:32:16 +00:00
tbogard%aol.net
88955b2f28 Removing nsIProgress and nsIProgressListener as they aren't used and are replaced in intent by nsIWebProgress and nsIWebProgressListener.
git-svn-id: svn://10.0.0.236/trunk@62920 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 11:28:11 +00:00
scc%netscape.com
e17d9adbfc Removed "nsIProgress.idl" and "nsIProgressListener.idl" for travis since Camelot is down. This is really travis' checkin.
git-svn-id: svn://10.0.0.236/trunk@62919 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 11:23:20 +00:00
tbogard%aol.net
1bb86b8bfc Remove include of nsIProgress as the interface is going away.
git-svn-id: svn://10.0.0.236/trunk@62915 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 11:16:08 +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
a6616be366 nsDocShellTreeOwner now implements nsIWebProgressListener. nsIInterfaceRequestor is not a required interface of the embedding owner. Provided basic implementation for most of the nsIDocShellTreeOwner Methods. Provided basic implementation for most of nsIBaseWindow. Implementation for nsIWebProgressListener.
git-svn-id: svn://10.0.0.236/trunk@62898 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 07:10:08 +00:00
tbogard%aol.net
391789552a Updated paramaters to GetNewBrowserChrome() and changed it to GetNewBrowser() to reflect changes in the API. Added new functions SizeBrowserTo() and ShowAsModal() that were added to the nsIWebBrowserChrome API.
git-svn-id: svn://10.0.0.236/trunk@62897 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 07:06:07 +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
danm%netscape.com
7fa53db652 added factory source files
git-svn-id: svn://10.0.0.236/trunk@62822 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:13:54 +00:00
danm%netscape.com
13ea8d58c4 two more source files necessary for webBrowser.mcp
git-svn-id: svn://10.0.0.236/trunk@62821 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:12:07 +00:00
tbogard%aol.net
7dfa954cc6 Changed to a generic module.
git-svn-id: svn://10.0.0.236/trunk@62756 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 07:21:36 +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
c38f183f8d Made the constructor public.
git-svn-id: svn://10.0.0.236/trunk@62754 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 07:09:54 +00:00
danm%netscape.com
a51aa7c23f First Checked In.
git-svn-id: svn://10.0.0.236/trunk@62747 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 00:57:56 +00:00
pavlov%netscape.com
71f59dc9ad set IS_COMPONENT to 1 so that we generate a component instead of a 'normal' dynamic library
git-svn-id: svn://10.0.0.236/trunk@62616 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 02:43:04 +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
6a27b4658e Got much of the implementation done to actually get this object working. We now instantiate a webshell and pass along most needed calls. This gets the webBrowser object setup to start being used to basic stuff.
git-svn-id: svn://10.0.0.236/trunk@62591 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:12:46 +00:00