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

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

Issue 253983002: Use centered app list position whenever virtual keyboard is enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Only change shape when keyboard enabled (not when it *might* be enabled). Created 6 years, 7 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 | Annotate | Revision Log
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 kDisableSyncAppList[]; 14 APP_LIST_EXPORT extern const char kDisableSyncAppList[];
15 APP_LIST_EXPORT extern const char kDisableVoiceSearch[]; 15 APP_LIST_EXPORT extern const char kDisableVoiceSearch[];
16 APP_LIST_EXPORT extern const char kEnableAppInfo[]; 16 APP_LIST_EXPORT extern const char kEnableAppInfo[];
17 APP_LIST_EXPORT extern const char kEnableExperimentalAppList[]; 17 APP_LIST_EXPORT extern const char kEnableExperimentalAppList[];
18 APP_LIST_EXPORT extern const char kEnableExperimentalAppListPosition[]; 18 APP_LIST_EXPORT extern const char kEnableExperimentalAppListPosition[];
19 APP_LIST_EXPORT extern const char kEnableHotwordAlwaysOn[]; 19 APP_LIST_EXPORT extern const char kEnableHotwordAlwaysOn[];
20 APP_LIST_EXPORT extern const char kEnableSyncAppList[]; 20 APP_LIST_EXPORT extern const char kEnableSyncAppList[];
21 21
22 bool APP_LIST_EXPORT IsAppListSyncEnabled(); 22 bool APP_LIST_EXPORT IsAppListSyncEnabled();
23 23
24 bool APP_LIST_EXPORT IsFolderUIEnabled(); 24 bool APP_LIST_EXPORT IsFolderUIEnabled();
25 25
26 bool APP_LIST_EXPORT IsVoiceSearchEnabled(); 26 bool APP_LIST_EXPORT IsVoiceSearchEnabled();
27 27
28 bool APP_LIST_EXPORT IsAppInfoEnabled(); 28 bool APP_LIST_EXPORT IsAppInfoEnabled();
29 29
30 bool APP_LIST_EXPORT IsExperimentalAppListEnabled(); 30 bool APP_LIST_EXPORT IsExperimentalAppListEnabled();
varkha 2014/04/30 16:20:15 This should also not be experimental anymore.
Matt Giuca 2014/05/05 06:18:05 This one is still experimental (it is different to
31 31
32 // Determines whether either command-line switch was given for enabling the
33 // experimental app list position. Do not use this when positioning the app
34 // list; instead use AppListViewDelegate::UseExperimentalAppListPosition. It
35 // checks a superset of the conditions that trigger the position.
32 bool APP_LIST_EXPORT IsExperimentalAppListPositionEnabled(); 36 bool APP_LIST_EXPORT IsExperimentalAppListPositionEnabled();
benwells 2014/04/30 06:40:30 Let's remove all traces of 'experimental' from the
Matt Giuca 2014/04/30 06:53:38 Should we also change the flag name, or is that fr
Matt Giuca 2014/05/05 06:18:05 Done.
33 37
34 } // namespace switches 38 } // namespace switches
35 } // namespace app_list 39 } // namespace app_list
36 40
37 #endif // UI_APP_LIST_APP_LIST_SWITCHES_H_ 41 #endif // UI_APP_LIST_APP_LIST_SWITCHES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698