Searched refs:button_entry (Results 1 – 2 of 2) sorted by relevance
58 Json::Value button_entry = dictionary[kCustomActionButton]; in GetCustomShellActionConfigFromJson() local59 config.button = {button_entry[kCustomActionButtonCommand].asString(), in GetCustomShellActionConfigFromJson()60 button_entry[kCustomActionButtonTitle].asString(), in GetCustomShellActionConfigFromJson()61 button_entry[kCustomActionButtonIconName].asString()}; in GetCustomShellActionConfigFromJson()70 for (const Json::Value& button_entry : dictionary[kCustomActionButtons]) { in GetCustomActionServerConfigFromJson() local72 {button_entry[kCustomActionButtonCommand].asString(), in GetCustomActionServerConfigFromJson()73 button_entry[kCustomActionButtonTitle].asString(), in GetCustomActionServerConfigFromJson()74 button_entry[kCustomActionButtonIconName].asString()}); in GetCustomActionServerConfigFromJson()85 Json::Value button_entry = dictionary[kCustomActionButton]; in GetCustomDeviceStateActionConfigFromJson() local86 config.button = {button_entry[kCustomActionButtonCommand].asString(), in GetCustomDeviceStateActionConfigFromJson()[all …]
409 Json::Value button_entry; in OnOpen() local410 button_entry[kControlPanelButtonCommand] = button.command; in OnOpen()411 button_entry[kControlPanelButtonTitle] = button.title; in OnOpen()412 button_entry[kControlPanelButtonIconName] = button.icon_name; in OnOpen()414 button_entry[kControlPanelButtonShellCommand] = *(button.shell_command); in OnOpen()429 button_entry[kControlPanelButtonDeviceStates] = device_states; in OnOpen()431 custom_control_panel_buttons.append(button_entry); in OnOpen()