Searched refs:button_entry (Results 1 – 2 of 2) sorted by relevance
60 Json::Value button_entry = dictionary[kCustomActionButton]; in GetCustomShellActionConfigFromJson() local61 config.button = {button_entry[kCustomActionButtonCommand].asString(), in GetCustomShellActionConfigFromJson()62 button_entry[kCustomActionButtonTitle].asString(), in GetCustomShellActionConfigFromJson()63 button_entry[kCustomActionButtonIconName].asString()}; in GetCustomShellActionConfigFromJson()72 for (const Json::Value& button_entry : dictionary[kCustomActionButtons]) { in GetCustomActionServerConfigFromJson() local74 {button_entry[kCustomActionButtonCommand].asString(), in GetCustomActionServerConfigFromJson()75 button_entry[kCustomActionButtonTitle].asString(), in GetCustomActionServerConfigFromJson()76 button_entry[kCustomActionButtonIconName].asString()}); in GetCustomActionServerConfigFromJson()87 Json::Value button_entry = dictionary[kCustomActionButton]; in GetCustomDeviceStateActionConfigFromJson() local88 config.button = {button_entry[kCustomActionButtonCommand].asString(), in GetCustomDeviceStateActionConfigFromJson()[all …]
459 Json::Value button_entry; in OnOpen() local460 button_entry[kControlPanelButtonCommand] = button.command; in OnOpen()461 button_entry[kControlPanelButtonTitle] = button.title; in OnOpen()462 button_entry[kControlPanelButtonIconName] = button.icon_name; in OnOpen()464 button_entry[kControlPanelButtonShellCommand] = *(button.shell_command); in OnOpen()479 button_entry[kControlPanelButtonDeviceStates] = device_states; in OnOpen()481 custom_control_panel_buttons.append(button_entry); in OnOpen()