IDC_CREATE_SHORTCUTS is #ifdefed out on Mac in browser_command_controller.cc -- it's always disabled.
On other platforms, it's only added to app_menu_model.cc when `extensions::util::IsNewBookmarkAppsEnabled()` is false, but the definition of that is
bool IsNewBookmarkAppsEnabled() {
#if defined(OS_MACOSX)
return base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnableNewBookmarkApps);
#else
return !base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kDisableNewBookmarkApps);
#endif
}
I think we have fully launched this on non-mac, so that flag can be made mac-only.
Then CreateUrlApplicationShortcutView and the stuff it uses can be deleted (e.g. AppInfoView, and IDC_CREATE_SHORTCUTS). This would reduce the number of dialogs we need to check for Harmony.
Comment 1 by tapted@chromium.org
, Mar 21 2017Status: Started (was: Untriaged)