Lines Matching defs:option
3658 std::string option;
3675 if (!args->GetString("option", &option)) {
3676 AutomationJSONReply(this, reply_message).SendError("Must include option");
3680 if (option == "translate_page") {
3685 } else if (option == "set_target_language") {
3719 } else if (option == "click_always_translate_lang_button") {
3733 if (option == "never_translate_language") {
3740 } else if (option == "never_translate_site") {
3747 } else if (option == "toggle_always_translate") {
3750 } else if (option == "revert_translation") {
3753 } else if (option == "click_never_translate_lang_button") {
3760 } else if (option == "decline_translation") {
3767 reply.SendError("Invalid string found for option.");