Commit 1dc1f38d authored by sashab@chromium.org's avatar sashab@chromium.org

Only allow ShowAppInfoFlow on Ash and Views platforms

Only allows ShowAppInfoFlow (and hence the app info dialog) to be
enabled on Ash and Views platforms (everything but Mac OS X for now).

This will not display the item in the context menu either.

BUG=382371

Review URL: https://codereview.chromium.org/322323002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276646 0039d316-1c4b-4281-b951-d872f2087c98
parent 0c01da19
......@@ -55,7 +55,11 @@ bool IsVoiceSearchEnabled() {
}
bool IsAppInfoEnabled() {
#if defined(TOOLKIT_VIEWS)
return !CommandLine::ForCurrentProcess()->HasSwitch(kDisableAppInfo);
#else
return false;
#endif
}
bool IsExperimentalAppListEnabled() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment