Home
last modified time | relevance | path

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

/external/chromium_org/apps/app_shim/
Dapp_shim_handler_mac.cc41 AppShimHandler* GetForAppMode(const std::string& app_mode_id) const { in GetForAppMode()
42 HandlerMap::const_iterator it = handlers_.find(app_mode_id); in GetForAppMode()
49 bool SetForAppMode(const std::string& app_mode_id, AppShimHandler* handler) { in SetForAppMode() argument
51 handlers_.insert(HandlerMap::value_type(app_mode_id, handler)).second : in SetForAppMode()
52 handlers_.erase(app_mode_id) == 1; in SetForAppMode()
109 void AppShimHandler::RegisterHandler(const std::string& app_mode_id, in RegisterHandler() argument
112 AppShimHandlerRegistry::GetInstance()->SetForAppMode(app_mode_id, handler); in RegisterHandler()
116 void AppShimHandler::RemoveHandler(const std::string& app_mode_id) { in RemoveHandler() argument
117 AppShimHandlerRegistry::GetInstance()->SetForAppMode(app_mode_id, NULL); in RemoveHandler()
121 AppShimHandler* AppShimHandler::GetForAppMode(const std::string& app_mode_id) { in GetForAppMode() argument
[all …]
Dapp_shim_handler_mac.h42 static void RegisterHandler(const std::string& app_mode_id,
46 static void RemoveHandler(const std::string& app_mode_id);
51 static AppShimHandler* GetForAppMode(const std::string& app_mode_id);
Dchrome_main_app_mode_mac.mm214 g_info->profile_dir, g_info->app_mode_id, launch_type, files));
/external/chromium/chrome/common/
Dapp_mode_common_mac.h53 char* app_mode_id; // Required: v1.0 member
/external/chromium_org/chrome/common/mac/
Dapp_mode_common.h115 std::string app_mode_id; // Required: v1.0 member
/external/chromium_org/chrome/app/
Dapp_mode_loader_mac.mm85 info->app_mode_id = SysNSStringToUTF8(
87 CHECK(info->app_mode_id.size()) << "couldn't get app shortcut ID";