Lines Matching defs:action_id
71 // Finds a file browser handler that matches |action_id|. Returns NULL if not
75 const std::string& action_id) {
82 if (handler_iter->get()->id() == action_id)
153 const std::string& action_id);
254 const std::string& action_id)
257 action_id_(action_id),
427 // Returns true if |extension_id| and |action_id| indicate that the file
431 const std::string& action_id) {
434 (action_id == "view-pdf" ||
435 action_id == "view-swf" ||
436 action_id == "view-in-browser" ||
437 action_id == "open-hosted-generic" ||
438 action_id == "open-hosted-gdoc" ||
439 action_id == "open-hosted-gsheet" ||
440 action_id == "open-hosted-gslides"));
463 const std::string& action_id,
467 if (!FindFileBrowserHandlerForActionId(extension, action_id))
472 if (ShouldBeOpenedWithBrowser(extension->id(), action_id)) {
481 profile, extension, action_id))->Execute(file_urls, done);