Home
last modified time | relevance | path

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

/external/chromium_org/chrome/browser/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);
/external/chromium_org/chrome/app_shim/
Dapp_mode_loader_mac.mm120 info->app_mode_id = SysNSStringToUTF8(
122 CHECK(info->app_mode_id.size()) << "couldn't get app shortcut ID";
159 info->app_mode_id == app_mode::kAppListModeId) {
176 command_line.AppendSwitchASCII(switches::kAppId, info->app_mode_id);
Dchrome_main_app_mode_mac.mm228 g_info->profile_dir, g_info->app_mode_id, launch_type, files));
650 if (info->app_mode_id == app_mode::kAppListModeId) {
/external/chromium_org/chrome/common/mac/
Dapp_mode_common.h146 std::string app_mode_id; // Required: v1.0 member