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

Side by Side Diff: chrome/common/pref_names.cc

Issue 2416133002: Implement local storage for App List in case app sync is off. (Closed)
Patch Set: 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "chrome/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "chrome/common/features.h" 9 #include "chrome/common/features.h"
10 #include "chrome/common/pref_font_webkit_names.h" 10 #include "chrome/common/pref_font_webkit_names.h"
(...skipping 2029 matching lines...) Expand 10 before | Expand all | Expand 10 after
2040 const char kShelfAlignmentLocal[] = "shelf_alignment_local"; 2040 const char kShelfAlignmentLocal[] = "shelf_alignment_local";
2041 // String value corresponding to ash::Shell::ShelfAutoHideBehavior. 2041 // String value corresponding to ash::Shell::ShelfAutoHideBehavior.
2042 const char kShelfAutoHideBehavior[] = "auto_hide_behavior"; 2042 const char kShelfAutoHideBehavior[] = "auto_hide_behavior";
2043 const char kShelfAutoHideBehaviorLocal[] = "auto_hide_behavior_local"; 2043 const char kShelfAutoHideBehaviorLocal[] = "auto_hide_behavior_local";
2044 // This value stores chrome icon's index in the launcher. This should be handled 2044 // This value stores chrome icon's index in the launcher. This should be handled
2045 // separately with app shortcut's index because of ShelfModel's backward 2045 // separately with app shortcut's index because of ShelfModel's backward
2046 // compatibility. If we add chrome icon index to |kPinnedLauncherApps|, its 2046 // compatibility. If we add chrome icon index to |kPinnedLauncherApps|, its
2047 // index is also stored in the |kPinnedLauncherApp| pref. It may causes 2047 // index is also stored in the |kPinnedLauncherApp| pref. It may causes
2048 // creating two chrome icons. 2048 // creating two chrome icons.
2049 const char kShelfChromeIconIndex[] = "shelf_chrome_icon_index"; 2049 const char kShelfChromeIconIndex[] = "shelf_chrome_icon_index";
2050 // This value stores shelf positions to store pin position for local machine in
2051 // case sync app list is turned off.
2052 const char kShelfPins[] = "shelf_pins";
2050 // Dictionary value that holds per-display preference of shelf alignment and 2053 // Dictionary value that holds per-display preference of shelf alignment and
2051 // auto-hide behavior. Key of the dictionary is the id of the display, and 2054 // auto-hide behavior. Key of the dictionary is the id of the display, and
2052 // its value is a dictionary whose keys are kShelfAlignment and 2055 // its value is a dictionary whose keys are kShelfAlignment and
2053 // kShelfAutoHideBehavior. 2056 // kShelfAutoHideBehavior.
2054 const char kShelfPreferences[] = "shelf_preferences"; 2057 const char kShelfPreferences[] = "shelf_preferences";
2055 2058
2056 // Integer value in milliseconds indicating the length of time for which a 2059 // Integer value in milliseconds indicating the length of time for which a
2057 // confirmation dialog should be shown when the user presses the logout button. 2060 // confirmation dialog should be shown when the user presses the logout button.
2058 // A value of 0 indicates that logout should happen immediately, without showing 2061 // A value of 0 indicates that logout should happen immediately, without showing
2059 // a confirmation dialog. 2062 // a confirmation dialog.
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
2277 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; 2280 const char kOriginTrialPublicKey[] = "origin_trials.public_key";
2278 2281
2279 // A list of origin trial features to disable by policy. 2282 // A list of origin trial features to disable by policy.
2280 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; 2283 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features";
2281 2284
2282 // Policy that indicates the state of updates for the binary components. 2285 // Policy that indicates the state of updates for the binary components.
2283 const char kComponentUpdatesEnabled[] = 2286 const char kComponentUpdatesEnabled[] =
2284 "component_updates.component_updates_enabled"; 2287 "component_updates.component_updates_enabled";
2285 2288
2286 } // namespace prefs 2289 } // namespace prefs
OLDNEW
« chrome/browser/ui/ash/chrome_launcher_prefs.cc ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698