Граф коммитов

253 Коммитов

Автор SHA1 Сообщение Дата
blizzard%redhat.com f2bb52bc53 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
danm%netscape.com 269eae0f19 new method IsModal. bug 56677 r=brendan,hyatt 2000-11-09 00:16:29 +00:00
locka%iol.ie 050f58210b New context menu listener code. b=55516, r=blizzard@mozilla.org 2000-10-10 12:19:17 +00:00
locka%iol.ie 0db31e2c70 Removed bogus IDL entry causing horkage. b=50949 2000-09-20 12:49:48 +00:00
locka%iol.ie 69fd02310b Changes to loadURI & reload methods on nsIDocShell, nsIWebNavigation. b=50949, r=radha, a=radha 2000-09-20 12:23:53 +00:00
dougt%netscape.com c3c864a472 + Added OnSecurityChange() to nsIWebProgressListener interface.
+ Added dummy function to all users of nsIWebProgressListener
+ Added new security event sink.
+ Hooked up new event sink to docloader and friends.
+ Fixed memory leaks and crashes in nsSecureBrowserImpl.
+ Added AlertPrompt to nsIPrompt Interface.
+ Enabling xpcom test on unix.

Fixes bug 46872.  r=valeski/rpotts
2000-09-14 22:56:56 +00:00
locka%iol.ie 6a308a5497 Added new x, y, width & height parameters to createBrowserWindow method. b=46851,r=valeski 2000-09-14 11:09:51 +00:00
rayw%netscape.com 6cc70ebd6c Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
rpotts%netscape.com 0b50be1c9a Fixed a place where the DocShellTreeOwner was being deleted out from under itself... 2000-09-08 00:30:22 +00:00
valeski%netscape.com 7960885472 50920. r=vidur. hanging an nsIDOMWindow off of nsIWebBrowser 2000-09-01 21:10:23 +00:00
dougt%netscape.com c9d4bac2bd Fixes a cycle between docshelltreeowner and layout which caused a huge
leak. r=adamlock@netscape.com
2000-09-01 19:38:46 +00:00
locka%iol.ie 08a603f639 Impl of GetCurrentURI modified to new style. b=46847, r=valeski, a=valeski 2000-08-30 11:37:41 +00:00
locka%iol.ie c932728c0e Added nsIWebBrowserSetup to query interface table. b=46847, a=valeski 2000-08-26 13:56:50 +00:00
locka%iol.ie 117b4e824b API changes for embedding. b=46847, r=dougt, a=valeski 2000-08-25 19:32:05 +00:00
locka%iol.ie c52f68cce4 API changes for embedding. b=46847, r=dougt, a=valeski 2000-08-25 18:39:46 +00:00
ccarlen%netscape.com fc0a492c57 Adding a file which was moved For adamlock bug #46847 2000-08-25 18:38:35 +00:00
locka%iol.ie 1ac76e97b6 Added nsICommandHandler and nsCommandHandler.cpp to build. b=48270 a=valeski 2000-08-16 08:56:37 +00:00
locka%iol.ie 279d6bd041 Added newline to end of file. b=48270 a=valeski 2000-08-16 08:54:49 +00:00
locka%iol.ie de7d0a6489 Change consts to unsigned long. b=48270 a=valeski 2000-08-16 08:53:57 +00:00
locka%iol.ie 9eee783e8a Added mouse DOM listener to listen for context menu events and notify the embedding client. b=48270 a=valeski 2000-08-16 08:51:58 +00:00
locka%iol.ie 1bba4a9d8e Fixed some incorrect embedding issues. b=48270 a=valeski 2000-08-16 08:50:00 +00:00
locka%iol.ie 4629ae6222 Added newline to end of file. b=48270 a=valeski 2000-08-16 08:47:57 +00:00
locka%iol.ie c79e5f1401 NOT PART OF BUILD. Completed nsICommandHandler implementation. Added [retval] tag to out param in IDL file to make Javascript invocation easier. 2000-08-03 12:44:38 +00:00
locka%iol.ie 353b29b337 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.
2000-08-02 11:14:57 +00:00
warren%netscape.com 7ac7233df8 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 2000-07-25 05:45:56 +00:00
vidur%netscape.com 924aceef9e Fix for bug 44608. Added nsIDocShellTreeOwner::ExitModalLoop() and nsIWebBrowserChrome::ExitModalEventLoop(). r=rpotts,a=valeski 2000-07-12 23:56:14 +00:00
rpotts%netscape.com bd98ffaa86 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). 2000-07-05 23:10:29 +00:00
dougt%netscape.com 7b70dd2ac7 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
radha%netscape.com 5b8603911e More code for feature 36547. CODE NOT PART OF THE BUILD. Will provide reviewer when
feature is enabled.
2000-06-29 21:48:18 +00:00
valeski%netscape.com 364cb11a5d bustage fix 2000-06-29 01:19:45 +00:00
valeski%netscape.com 371961f38e 43050. r=dougt. null checking and ctor null init'ing 2000-06-29 00:49:13 +00:00
radha%netscape.com e1fc2c5789 More checkins for feature bug 36547. CODE NOT PART OF THE BUILD. reviewer will be provided
when feature is enabled.
2000-06-23 23:54:30 +00:00
bryner%uiuc.edu 8705faac7d Moving persistence-related methods from nsIXULWindow to
nsIWebBrowserChrome as a basis for fixing bug 15555.  r=valeski.
2000-06-21 22:05:28 +00:00
locka%iol.ie f7f3466649 Added nsIContextMenuListener to build 2000-06-21 12:50:38 +00:00
locka%iol.ie 523fb4112c New nsIContextMenuListener interface 2000-06-21 12:49:58 +00:00
radha%netscape.com bf05711448 Dummy implementation for 2 new methods in nsIWebNavigation. fix burning tree. 2000-06-21 07:28:45 +00:00
rpotts%netscape.com 49c54755fc Reworked the nsIWebProgress interfaces and implementation... 2000-06-19 05:54:37 +00:00
valeski%netscape.com f46e0c7972 updating impl list 2000-05-23 18:47:46 +00:00
danm%netscape.com 82491e607d adding 'centered' chrome flag 2000-04-13 20:06:19 +00:00
tbogard%aol.net 499bb4493b Changed tab spacing to say 3 to be accurate. 2000-04-11 23:49:08 +00:00
tbogard%aol.net b9834b0405 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. 2000-04-03 00:45:25 +00:00
blizzard%redhat.com 7424ac34c8 use C++ mode for C++ files for emacs users 2000-04-02 21:19:56 +00:00
tbogard%aol.net 84a6a00947 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 2b6e7b13ae First checkin of new files for the content listener in the webBrowser. 2000-04-02 07:05:39 +00:00
danm%netscape.com ad3c981c72 add alwaysraised/lowered chrome flags 2000-04-01 22:02:18 +00:00
tbogard%aol.net f041063282 Renamed the parameters to be *Child* instead of *Self* to be better in sync with the function name OnChildProgressChange(). 2000-03-29 10:11:36 +00:00
tbogard%aol.net 31ffd8f6a3 In the implementation of FindItemWithName, make sure to pass the tree owner the docShell knows about and not another higher level requestor. 2000-03-28 09:40:14 +00:00
tbogard%aol.net e579119dfc 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. 2000-03-28 09:24:12 +00:00
tbogard%aol.net 3d3a810ec0 Make sure the embedding control is properly setting itself as the tree owner. This should fix the current assertion when running viewer. 2000-03-28 07:40:10 +00:00
tbogard%aol.net f9ba960bcc 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 dbb6c8ee02 Implementation for the new method onLocationChange added to the nsIWebProgressListener interface. 2000-03-25 01:00:05 +00:00
tbogard%aol.net 7d83f1db2c 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. 2000-03-15 04:32:16 +00:00
tbogard%aol.net 3252054c48 Removing nsIProgress and nsIProgressListener as they aren't used and are replaced in intent by nsIWebProgress and nsIWebProgressListener. 2000-03-14 11:28:11 +00:00
tbogard%aol.net 4334112f2e Remove include of nsIProgress as the interface is going away. 2000-03-14 11:16:08 +00:00
tbogard%aol.net 3b69378fba 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 c0acbbb6dc 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. 2000-03-14 07:10:08 +00:00
tbogard%aol.net 2bbad9a327 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. 2000-03-14 07:06:07 +00:00
tbogard%aol.net c965ef4d54 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 9984a228f7 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 40eddd37c4 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 f518f21d5d 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. 2000-03-11 01:12:46 +00:00
tbogard%aol.net bb26a518fc Just updated some documentation. 2000-03-11 01:10:57 +00:00
tbogard%aol.net 086694bb9c Added SetTreeOwner and SetWebBrowserChrome to do the proper setup of all the different up pointers. 2000-03-11 01:10:13 +00:00
tbogard%aol.net 49d970f6b4 Added nsDocShellTreeOwner.cpp to the build. 2000-03-11 01:06:03 +00:00
tbogard%aol.net 83fab68e73 Adding new files for the embedding object. Note the embedding DLL is not yet used or relied upon. a=jevering 2000-03-09 01:06:56 +00:00
pollmann%netscape.com 3a67f9317c Bug 28670: Move scroll methods from webshell to docshell r=travis a=rickg 2000-02-29 06:51:48 +00:00
tbogard%aol.net 592170ea93 This has been replaced by nsIWebNavigation interface. 2000-02-24 06:57:43 +00:00
tbogard%aol.net e9c8aba418 Removing nsIWebBrowserNav from the list to IDL files. 2000-02-24 06:47:24 +00:00
tbogard%aol.net 734721ee94 Removing nsIWebBrowserNav from the includes. This should fix the clobber builds. 2000-02-24 06:40:05 +00:00
tbogard%aol.net a07672de77 Changed nsWebBrowser over to implement nsIWebNavigation instead of nsIWebBrowserNav. r=mscott a=jevering 2000-02-24 03:51:35 +00:00
tbogard%aol.net 5fcaad530f 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 52e026605c Organized includes. Put in a check to ensure that QI to nsIWebNavigation succeeded. r=hyatt 2000-02-14 08:53:45 +00:00
alecf%netscape.com 91abd13d75 fix build bustage
travis needs to look at this and make sure it's right
2000-02-14 07:49:05 +00:00
tbogard%aol.net e1fc84cbd7 Added SetJSDefaultStatus method as it can be set by JS. 2000-02-05 03:24:42 +00:00
mcafee%netscape.com 8db288d255 Ignore generated files. 2000-02-03 00:58:45 +00:00
tbogard%aol.net a2e8f5f636 Removed SetTitle from the interface as that function is on the nsIBaseWindow interface that chrome objects are expected to implement. r=hyatt 2000-02-02 03:12:41 +00:00
tbogard%aol.net d327dbc3fb First cut at Unix makefiles. These will soon be hooked up to the build once I get someone on Unix to verify them. 2000-02-01 00:32:26 +00:00
tbogard%aol.net 15a5a46557 Stubbed out methods that were missing from nsIBaseWindow implementation. r=hyatt 2000-02-01 00:14:12 +00:00
tbogard%aol.net 3bae02cdee Added defines for chrome flags. Fixed some comments. Added some new methods. 2000-02-01 00:06:44 +00:00
danm%netscape.com c4452c48f7 First Checked In. 2000-01-31 23:58:29 +00:00
warren%netscape.com 4ab4ee4d4e Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
tbogard%aol.net 229d9ade3d 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 c9042b8d7d 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 f1145ab754 Removed the call to CanHandleContentType as this need to be re-worked now that there is only going to be one DocShell for all content types. 1999-11-12 07:29:45 +00:00
tbogard%aol.net 94da14de0a Changed nsComponentManager::CreateInstance calls to use the new nsCOMPtr do_CreateInstance(). 1999-11-10 06:54:39 +00:00
tbogard%aol.net 6ec8ec3bfc Implemented new interface method GetCurrentURI. 1999-11-07 10:06:38 +00:00
tbogard%aol.net a6f4bde745 Added a readonly attribute to get the currently loaded URI. 1999-11-07 10:05:48 +00:00
tbogard%aol.net 472569808f Implemented so pretty straight forward pass through methods. 1999-11-05 09:07:57 +00:00
tbogard%aol.net d2d9cdfde0 **Not hooked up to build** Implemented Repaint. Changed document to be a readonly attribute. Added a SetDocument that takes a contentType. Implemented this. Changed all the idl methods to be lower-case. 1999-11-02 01:04:25 +00:00
tbogard%aol.net 5c46507f0a Changed some m_* to m*. 1999-11-01 19:57:15 +00:00
tbogard%aol.net 5ead1038d8 Changed NS_ENSURE to be NS_ENSURE_TRUE. 1999-11-01 07:45:38 +00:00
tbogard%aol.net 504dcd7cff Removed zoom now that it has been moved out of the nsIGenericWindow interface. 1999-10-30 00:53:41 +00:00
tbogard%aol.net 0caca08867 Changes made to reflect changes in nsIGenericWindow and nsIScrollable. 1999-10-28 07:52:08 +00:00
tbogard%aol.net d048c202c8 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 e8701d26fd 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 8300d3d1ac 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 19a62eadbc 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 2e241077a6 Added some includes of the interfaces that make up nsCWebBrowser 1999-10-23 07:55:39 +00:00
tbogard%aol.net ac9e2e8955 Framed out nsWebBrowser. Added nsCWebBrowser definition. Setup to build library. 1999-10-22 02:35:18 +00:00
tbogard%aol.net fb41844d79 Fixed some syntax errors. 1999-10-22 02:32:28 +00:00
tbogard%aol.net d7d84c1af9 More documentation and clean-up of the interfaces. 1999-10-19 22:40:28 +00:00
tbogard%aol.net cbe7eed103 Added some documentation. 1999-10-19 22:39:57 +00:00
tbogard%aol.net b91abbf419 First Check-in. 1999-10-15 20:51:58 +00:00