Bug 1060529, send the enabled state of child process commands to the parent on update, now with improved test, r=smaug,ehsan

This commit is contained in:
Neil Deakin
2014-12-08 08:12:22 -05:00
parent 3378dca433
commit d6ba3abdad
19 changed files with 386 additions and 36 deletions

View File

@@ -174,3 +174,10 @@ nsBaseCommandController::OnEvent(const char * aEventName)
NS_ENSURE_ARG_POINTER(aEventName);
return NS_OK;
}
NS_IMETHODIMP
nsBaseCommandController::GetSupportedCommands(uint32_t* aCount, char*** aCommands)
{
NS_ENSURE_STATE(mCommandTable);
return mCommandTable->GetSupportedCommands(aCount, aCommands);
}