Home
last modified time | relevance | path

Searched refs:app_mode_id (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/apps/app_shim/
Dapp_shim_handler_mac.cc42 AppShimHandler* GetForAppMode(const std::string& app_mode_id) const { in GetForAppMode()
43 HandlerMap::const_iterator it = handlers_.find(app_mode_id); in GetForAppMode()
50 bool SetForAppMode(const std::string& app_mode_id, AppShimHandler* handler) { in SetForAppMode() argument
52 handlers_.insert(HandlerMap::value_type(app_mode_id, handler)).second : in SetForAppMode()
53 handlers_.erase(app_mode_id) == 1; in SetForAppMode()
125 void AppShimHandler::RegisterHandler(const std::string& app_mode_id, in RegisterHandler() argument
128 AppShimHandlerRegistry::GetInstance()->SetForAppMode(app_mode_id, handler); in RegisterHandler()
132 void AppShimHandler::RemoveHandler(const std::string& app_mode_id) { in RemoveHandler() argument
133 AppShimHandlerRegistry::GetInstance()->SetForAppMode(app_mode_id, NULL); in RemoveHandler()
137 AppShimHandler* AppShimHandler::GetForAppMode(const std::string& app_mode_id) { in GetForAppMode() argument
[all …]
Dapp_shim_handler_mac.h40 static void RegisterHandler(const std::string& app_mode_id,
44 static void RemoveHandler(const std::string& app_mode_id);
49 static AppShimHandler* GetForAppMode(const std::string& app_mode_id);
Dchrome_main_app_mode_mac.mm225 g_info->profile_dir, g_info->app_mode_id, launch_type, files));
626 if (info->app_mode_id == app_mode::kAppListModeId) {
/external/chromium_org/chrome/app/
Dapp_mode_loader_mac.mm96 info->app_mode_id = SysNSStringToUTF8(
98 CHECK(info->app_mode_id.size()) << "couldn't get app shortcut ID";
135 info->app_mode_id == app_mode::kAppListModeId) {
152 command_line.AppendSwitchASCII(switches::kAppId, info->app_mode_id);
/external/chromium_org/chrome/common/mac/
Dapp_mode_common.h139 std::string app_mode_id; // Required: v1.0 member