mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-06 00:10:25 +00:00
newPaneFromURL() can now pass paramters to HT_PaneFromURL.
This commit is contained in:
parent
5135dad43b
commit
4502376359
@ -25,7 +25,7 @@
|
||||
#include "xp_str.h"
|
||||
#include "xpassert.h"
|
||||
|
||||
#if DEBUG_slamm
|
||||
#if DEBUG_mcafee
|
||||
#define D(x) x
|
||||
#else
|
||||
#define D(x)
|
||||
@ -90,12 +90,11 @@ XFE_RDFBase::newPane()
|
||||
}
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
void
|
||||
XFE_RDFBase::newPaneFromURL(char *url)
|
||||
XFE_RDFBase::newPaneFromURL(char *url,
|
||||
int param_count,
|
||||
char **param_names,
|
||||
char **param_values)
|
||||
{
|
||||
int32 param_count = 0;
|
||||
char ** param_names = NULL;
|
||||
char ** param_values = NULL;
|
||||
|
||||
startPaneCreate();
|
||||
|
||||
_ht_pane = HT_PaneFromURL(NULL, url, _ht_ns, 0,
|
||||
|
@ -49,7 +49,10 @@ public:
|
||||
// Pane creation methods.
|
||||
void newPane ();
|
||||
void newToolbarPane ();
|
||||
void newPaneFromURL (char * url);
|
||||
void newPaneFromURL (char * url,
|
||||
int param_count = 0,
|
||||
char **param_names = NULL,
|
||||
char **param_values = NULL);
|
||||
void newPaneFromResource (HT_Resource node);
|
||||
void newPaneFromResource (RDF_Resource node);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user