Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(606)

Unified Diff: chrome/browser/shell_integration.h

Issue 13864015: Move app launcher and chrome apps shortcut strings into the installer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@migrate_app_id_fix
Patch Set: make necessary linux changes Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/shell_integration.h
diff --git a/chrome/browser/shell_integration.h b/chrome/browser/shell_integration.h
index f8559844e8d7df644f469c4825333001d33245c1..9536258e8927a4f706318196eb867b3229f8d35c 100644
--- a/chrome/browser/shell_integration.h
+++ b/chrome/browser/shell_integration.h
@@ -110,9 +110,18 @@ class ShellIntegration {
struct ShortcutLocations {
ShortcutLocations();
+ bool InApplicationsMenu() const {
+ return in_applications_menu_root || in_applications_menu_chrome_subdir ||
+ in_applications_menu_chrome_apps_subdir;
+ }
+
bool on_desktop;
- bool in_applications_menu;
- string16 applications_menu_subdir;
+
+ // For Windows, these refer to "Start Menu", "Start Menu/Google Chrome",
+ // and "Start Menu/Chrome Apps" respectively.
+ bool in_applications_menu_root;
+ bool in_applications_menu_chrome_subdir;
+ bool in_applications_menu_chrome_apps_subdir;
// For Windows, this refers to quick launch bar prior to Win7. In Win7,
// this means "pin to taskbar". For Mac/Linux, this could be used for

Powered by Google App Engine
This is Rietveld 408576698