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

Unified Diff: chrome/browser/shell_integration_linux.h

Issue 2406303003: Move enable_app_list to a buildflag. (Closed)
Patch Set: More grit defines Created 4 years, 2 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_linux.h
diff --git a/chrome/browser/shell_integration_linux.h b/chrome/browser/shell_integration_linux.h
index cd2ca8ecb8cb5d403b4c7336ded976be0bd794bd..0f44c017c2c2643ae47cd1e2f48a83c668b687d9 100644
--- a/chrome/browser/shell_integration_linux.h
+++ b/chrome/browser/shell_integration_linux.h
@@ -9,6 +9,7 @@
#include "base/files/file_path.h"
#include "chrome/browser/web_applications/web_app.h"
+#include "chrome/common/features.h"
#include "url/gurl.h"
namespace base {
@@ -120,7 +121,7 @@ bool CreateDesktopShortcut(
const web_app::ShortcutInfo& shortcut_info,
const web_app::ShortcutLocations& creation_locations);
-#if defined(ENABLE_APP_LIST)
+#if BUILDFLAG(ENABLE_APP_LIST)
// Create shortcuts in the application menu for the app launcher. Duplicate
// shortcuts are avoided, so if a requested shortcut already exists it is
// deleted first. Also creates the icon required by the shortcut.
« no previous file with comments | « chrome/browser/resources/chromeos/chromevox/strings/BUILD.gn ('k') | chrome/browser/shell_integration_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698