Lines Matching defs:action_id
74 // Finds a file browser handler that matches |action_id|. Returns NULL if not
78 const std::string& action_id) {
85 if (handler_iter->get()->id() == action_id)
158 const std::string& action_id);
259 const std::string& action_id)
262 action_id_(action_id),
431 // Returns true if |extension_id| and |action_id| indicate that the file
435 const std::string& action_id) {
437 (action_id == "view-pdf" ||
438 action_id == "view-swf" ||
439 action_id == "view-in-browser" ||
440 action_id == "open-hosted-generic" ||
441 action_id == "open-hosted-gdoc" ||
442 action_id == "open-hosted-gsheet" ||
443 action_id == "open-hosted-gslides"));
465 const std::string& action_id,
469 if (!FindFileBrowserHandlerForActionId(extension, action_id))
474 if (ShouldBeOpenedWithBrowser(extension->id(), action_id)) {
483 profile, extension, action_id))->Execute(file_urls, done);