зеркало из https://github.com/mozilla/gecko-dev.git
Propagate change to notification handler parameters to all clients (RDF_BRANCH landing).
This commit is contained in:
Родитель
252f5556f9
Коммит
26c7a51f19
|
@ -77,7 +77,7 @@ CBookmarksAttachment :: InitQuickfileView ( )
|
|||
|
||||
void
|
||||
CBookmarksAttachment :: HandleNotification( HT_Notification /* notifyStruct*/,
|
||||
HT_Resource node, HT_Event event)
|
||||
HT_Resource node, HT_Event event, void *token, uint32 tokenType)
|
||||
{
|
||||
switch (event) {
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ public:
|
|||
protected:
|
||||
static void FillMenuFromList( HT_Resource top, LMenu* newMenu, int& nextMenuID, int whichItem );
|
||||
|
||||
virtual void HandleNotification( HT_Notification notifyStruct, HT_Resource node, HT_Event event);
|
||||
virtual void HandleNotification( HT_Notification notifyStruct, HT_Resource node, HT_Event event, void *token, uint32 tokenType);
|
||||
|
||||
static LMenu* sMenu;
|
||||
static Boolean sInvalidMenu;
|
||||
|
|
|
@ -180,7 +180,9 @@ void
|
|||
CPersonalToolbarTable :: HandleNotification(
|
||||
HT_Notification /*notifyStruct*/,
|
||||
HT_Resource node,
|
||||
HT_Event event)
|
||||
HT_Event event,
|
||||
void* token,
|
||||
uint32 tokenType)
|
||||
{
|
||||
switch (event)
|
||||
{
|
||||
|
|
|
@ -106,7 +106,7 @@ class CPersonalToolbarTable : public LSmallIconTable, public LDragAndDrop,
|
|||
void AddButton ( const string & inURL, const string & inTitle, Uint32 inIndex ) ;
|
||||
void RemoveButton ( Uint32 inIndex );
|
||||
|
||||
void HandleNotification( HT_Notification notifyStruct, HT_Resource node, HT_Event event);
|
||||
void HandleNotification( HT_Notification notifyStruct, HT_Resource node, HT_Event event, void* token, uint32 tokenType);
|
||||
|
||||
// for handling mouse tracking
|
||||
virtual void MouseLeave ( ) ;
|
||||
|
|
|
@ -263,7 +263,9 @@ CRDFCoordinator :: RestorePlace ( LStream* inStreamData )
|
|||
void CRDFCoordinator::HandleNotification(
|
||||
HT_Notification /*notifyStruct*/,
|
||||
HT_Resource node,
|
||||
HT_Event event)
|
||||
HT_Event event,
|
||||
void *token,
|
||||
uint32 tokenType)
|
||||
{
|
||||
PRBool isOpen;
|
||||
HT_Error err;
|
||||
|
|
|
@ -103,7 +103,7 @@ protected:
|
|||
virtual void CollapseNode(HT_Resource node);
|
||||
|
||||
// messaging and notifications
|
||||
virtual void HandleNotification( HT_Notification notifyStruct, HT_Resource node, HT_Event event);
|
||||
virtual void HandleNotification( HT_Notification notifyStruct, HT_Resource node, HT_Event event, void *token, uint32 tokenType);
|
||||
virtual void ListenToMessage( MessageT inMessage, void *ioParam);
|
||||
|
||||
PaneIDT mSelectorPaneID; // for the selector shelf
|
||||
|
|
|
@ -45,10 +45,10 @@ CRDFNotificationHandler::rdfNotifyProc(
|
|||
HT_Notification notifyStruct,
|
||||
HT_Resource node,
|
||||
HT_Event event,
|
||||
void * param,
|
||||
void *token,
|
||||
uint32 tokenType)
|
||||
{
|
||||
CRDFNotificationHandler* handler =
|
||||
reinterpret_cast<CRDFNotificationHandler*>(notifyStruct->data);
|
||||
handler->HandleNotification(notifyStruct, node, event);
|
||||
handler->HandleNotification(notifyStruct, node, event, token, tokenType);
|
||||
}
|
||||
|
|
|
@ -38,12 +38,14 @@ protected:
|
|||
virtual void HandleNotification(
|
||||
HT_Notification notifyStruct,
|
||||
HT_Resource node,
|
||||
HT_Event event) = 0;
|
||||
HT_Event event,
|
||||
void *token,
|
||||
uint32 tokenType) = 0;
|
||||
|
||||
static void rdfNotifyProc(
|
||||
HT_Notification notifyStruct,
|
||||
HT_Resource node,
|
||||
HT_Event event,
|
||||
void *param,
|
||||
uint32 tokenType);
|
||||
void *token,
|
||||
uint32 tokenType);
|
||||
};
|
Загрузка…
Ссылка в новой задаче