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

Side by Side Diff: ui/app_list/app_list_switches.h

Issue 661003003: Added switch --disable-app-list-dismiss-on-blur. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: Fix compile on Windows. Created 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_APP_LIST_APP_LIST_SWITCHES_H_ 5 #ifndef UI_APP_LIST_APP_LIST_SWITCHES_H_
6 #define UI_APP_LIST_APP_LIST_SWITCHES_H_ 6 #define UI_APP_LIST_APP_LIST_SWITCHES_H_
7 7
8 #include "ui/app_list/app_list_export.h" 8 #include "ui/app_list/app_list_export.h"
9 9
10 namespace app_list { 10 namespace app_list {
11 namespace switches { 11 namespace switches {
12 12
13 // Please keep these flags sorted. 13 // Please keep these flags sorted.
14 APP_LIST_EXPORT extern const char kCustomLauncherPage[]; 14 APP_LIST_EXPORT extern const char kCustomLauncherPage[];
15 APP_LIST_EXPORT extern const char kDisableAppInfo[]; 15 APP_LIST_EXPORT extern const char kDisableAppInfo[];
16 APP_LIST_EXPORT extern const char kDisableAppListDismissOnBlur[];
16 APP_LIST_EXPORT extern const char kDisableDriveAppsInAppList[]; 17 APP_LIST_EXPORT extern const char kDisableDriveAppsInAppList[];
17 APP_LIST_EXPORT extern const char kDisableSyncAppList[]; 18 APP_LIST_EXPORT extern const char kDisableSyncAppList[];
18 APP_LIST_EXPORT extern const char kEnableCenteredAppList[]; 19 APP_LIST_EXPORT extern const char kEnableCenteredAppList[];
19 APP_LIST_EXPORT extern const char kEnableExperimentalAppList[]; 20 APP_LIST_EXPORT extern const char kEnableExperimentalAppList[];
20 APP_LIST_EXPORT extern const char kEnableHotwordAlwaysOn[]; 21 APP_LIST_EXPORT extern const char kEnableHotwordAlwaysOn[];
21 APP_LIST_EXPORT extern const char kEnableSyncAppList[]; 22 APP_LIST_EXPORT extern const char kEnableSyncAppList[];
22 23
23 bool APP_LIST_EXPORT IsAppListSyncEnabled(); 24 bool APP_LIST_EXPORT IsAppListSyncEnabled();
24 25
25 bool APP_LIST_EXPORT IsFolderUIEnabled(); 26 bool APP_LIST_EXPORT IsFolderUIEnabled();
26 27
27 bool APP_LIST_EXPORT IsVoiceSearchEnabled(); 28 bool APP_LIST_EXPORT IsVoiceSearchEnabled();
28 29
29 bool APP_LIST_EXPORT IsAppInfoEnabled(); 30 bool APP_LIST_EXPORT IsAppInfoEnabled();
30 31
31 bool APP_LIST_EXPORT IsExperimentalAppListEnabled(); 32 bool APP_LIST_EXPORT IsExperimentalAppListEnabled();
32 33
33 // Determines whether either command-line switch was given for enabling the 34 // Determines whether either command-line switch was given for enabling the
34 // centered app list position. Do not use this when positioning the app list; 35 // centered app list position. Do not use this when positioning the app list;
35 // instead use AppListViewDelegate::ShouldCenterWindow. It checks a superset of 36 // instead use AppListViewDelegate::ShouldCenterWindow. It checks a superset of
36 // the conditions that trigger the position. 37 // the conditions that trigger the position.
37 bool APP_LIST_EXPORT IsCenteredAppListEnabled(); 38 bool APP_LIST_EXPORT IsCenteredAppListEnabled();
38 39
40 // Determines whether the app list should not be dismissed on focus loss.
41 bool APP_LIST_EXPORT ShouldNotDismissOnBlur();
42
39 bool APP_LIST_EXPORT IsDriveAppsInAppListEnabled(); 43 bool APP_LIST_EXPORT IsDriveAppsInAppListEnabled();
40 44
41 } // namespace switches 45 } // namespace switches
42 } // namespace app_list 46 } // namespace app_list
43 47
44 #endif // UI_APP_LIST_APP_LIST_SWITCHES_H_ 48 #endif // UI_APP_LIST_APP_LIST_SWITCHES_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/app_list/win/activation_tracker_win.cc ('k') | ui/app_list/app_list_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698