434 Commits

Author SHA1 Message Date
locka%iol.ie
22274c8788 Change consts to unsigned long. b=48270 a=valeski
git-svn-id: svn://10.0.0.236/trunk@76435 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 08:53:57 +00:00
locka%iol.ie
221c92cd8f Added mouse DOM listener to listen for context menu events and notify the embedding client. b=48270 a=valeski
git-svn-id: svn://10.0.0.236/trunk@76434 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 08:51:58 +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
locka%iol.ie
9c15cfb380 Added newline to end of file. b=48270 a=valeski
git-svn-id: svn://10.0.0.236/trunk@76432 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 08:47:57 +00:00
locka%iol.ie
f467190080 NOT PART OF BUILD. Completed nsICommandHandler implementation. Added [retval] tag to out param in IDL file to make Javascript invocation easier.
git-svn-id: svn://10.0.0.236/trunk@75490 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 12:44:38 +00:00
locka%iol.ie
1abaef8da3 NOT PART OF BUILD.
New nsICommandHandler interface and C++ implementation for embedders who want their XUL to be able to call their webbrowser container with the minimum of effort.


git-svn-id: svn://10.0.0.236/trunk@75400 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 11:14:57 +00:00
warren%netscape.com
997161d193 Factored string bundles out of necko. Fixes bug 42107 - need to fix string bundle init workaround. Also bug 40506 - nsIWebProgressListener needs status text. Status messages now work in mozilla and viewer with internationalized and parameterized text! Added temporary error architecture until bug 13423 can be fixed. Extended nsIStringBundleService to provide method to format status message. r=valeski,jband,tao. verified=mstoltz
git-svn-id: svn://10.0.0.236/trunk@74729 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 05:45:56 +00:00
vidur%netscape.com
ffd0cb1a4e Fix for bug 44608. Added nsIDocShellTreeOwner::ExitModalLoop() and nsIWebBrowserChrome::ExitModalEventLoop(). r=rpotts,a=valeski
git-svn-id: svn://10.0.0.236/trunk@74129 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 23:56:14 +00:00
rpotts%netscape.com
bc20fd3c03 Moved session history methods from nsIWebNavigation into a new interface called nsIDocShellHistory. Also made docshells persist layout state before being destroyed (this is necesssary for framesets).
git-svn-id: svn://10.0.0.236/trunk@73703 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 23:10:29 +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
radha%netscape.com
c8ae707155 More code for feature 36547. CODE NOT PART OF THE BUILD. Will provide reviewer when
feature is enabled.


git-svn-id: svn://10.0.0.236/trunk@73539 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 21:48:18 +00:00
valeski%netscape.com
645ec1114b bustage fix
git-svn-id: svn://10.0.0.236/trunk@73491 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 01:19:45 +00:00
valeski%netscape.com
4a64f9c451 43050. r=dougt. null checking and ctor null init'ing
git-svn-id: svn://10.0.0.236/trunk@73486 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 00:49:13 +00:00
radha%netscape.com
83f086107a More checkins for feature bug 36547. CODE NOT PART OF THE BUILD. reviewer will be provided
when feature is enabled.


git-svn-id: svn://10.0.0.236/trunk@73125 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 23:54:30 +00:00
bryner%uiuc.edu
0c97e4d4cb Moving persistence-related methods from nsIXULWindow to
nsIWebBrowserChrome as a basis for fixing bug 15555.  r=valeski.


git-svn-id: svn://10.0.0.236/trunk@72820 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 22:05:28 +00:00
locka%iol.ie
ab02ebf7ba Added nsIContextMenuListener to build
git-svn-id: svn://10.0.0.236/trunk@72759 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 12:50:38 +00:00
locka%iol.ie
d7fc50add6 New nsIContextMenuListener interface
git-svn-id: svn://10.0.0.236/trunk@72758 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 12:49:58 +00:00
radha%netscape.com
2e86ea57c7 Dummy implementation for 2 new methods in nsIWebNavigation. fix burning tree.
git-svn-id: svn://10.0.0.236/trunk@72747 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 07:28:45 +00:00
rpotts%netscape.com
406f61beb3 Reworked the nsIWebProgress interfaces and implementation...
git-svn-id: svn://10.0.0.236/trunk@72533 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 05:54:37 +00:00
valeski%netscape.com
4274bc405f updating impl list
git-svn-id: svn://10.0.0.236/trunk@70673 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 18:47:46 +00:00
danm%netscape.com
b51bc8ee33 adding 'centered' chrome flag
git-svn-id: svn://10.0.0.236/trunk@65844 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 20:06:19 +00:00
tbogard%aol.net
20df804f7d Changed tab spacing to say 3 to be accurate.
git-svn-id: svn://10.0.0.236/trunk@65623 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 23:49:08 +00:00
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
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
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
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
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
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
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
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
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
tbogard%aol.net
5d5d8acd13 Just updated some documentation.
git-svn-id: svn://10.0.0.236/trunk@62590 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:10:57 +00:00
tbogard%aol.net
67c18c7e39 Added SetTreeOwner and SetWebBrowserChrome to do the proper setup of all the different up pointers.
git-svn-id: svn://10.0.0.236/trunk@62589 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:10:13 +00:00
tbogard%aol.net
90acde0da4 Added nsDocShellTreeOwner.cpp to the build.
git-svn-id: svn://10.0.0.236/trunk@62588 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:06:03 +00:00
tbogard%aol.net
67713bb424 Adding new files for the embedding object. Note the embedding DLL is not yet used or relied upon. a=jevering
git-svn-id: svn://10.0.0.236/trunk@62420 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 01:06:56 +00:00
pollmann%netscape.com
8a83557c05 Bug 28670: Move scroll methods from webshell to docshell r=travis a=rickg
git-svn-id: svn://10.0.0.236/trunk@61848 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 06:51:48 +00:00
tbogard%aol.net
39af911b15 This has been replaced by nsIWebNavigation interface.
git-svn-id: svn://10.0.0.236/trunk@61598 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 06:57:43 +00:00
tbogard%aol.net
b1d11c033b Removing nsIWebBrowserNav from the list to IDL files.
git-svn-id: svn://10.0.0.236/trunk@61596 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 06:47:24 +00:00