mirror of
https://github.com/electron/electron.git
synced 2026-01-11 00:18:02 -05:00
fix: action.openPopup function missing (#45697)
This commit is contained in:
@@ -100,6 +100,13 @@ ExtensionActionSetIconFunction::RunExtensionAction() {
|
||||
return RespondNow(NoArguments());
|
||||
}
|
||||
|
||||
ExtensionFunction::ResponseAction
|
||||
ExtensionActionOpenPopupFunction::RunExtensionAction() {
|
||||
LOG(INFO) << "chrome.action.openPopup is not supported in Electron";
|
||||
|
||||
return RespondNow(WithArguments(""));
|
||||
}
|
||||
|
||||
ExtensionFunction::ResponseAction
|
||||
ExtensionActionSetTitleFunction::RunExtensionAction() {
|
||||
LOG(INFO) << "chrome.action.setTitle is not supported in Electron";
|
||||
|
||||
Reference in New Issue
Block a user