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

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

Issue 291093005: Removes --enable-stacked-tab-strip flag (Stacked Tabs) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removes --enable-stacked-tab-strip flag (moved pref logic to browser_view_prefs) 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 (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/basictypes.h" 7 #include "base/basictypes.h"
8 #include "chrome/common/pref_font_webkit_names.h" 8 #include "chrome/common/pref_font_webkit_names.h"
9 9
10 namespace prefs { 10 namespace prefs {
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 const char kManagedUserSharedSettings[] = "profile.managed.shared_settings"; 53 const char kManagedUserSharedSettings[] = "profile.managed.shared_settings";
54 54
55 // An integer that keeps track of the profile icon version. This allows us to 55 // An integer that keeps track of the profile icon version. This allows us to
56 // determine the state of the profile icon for icon format changes. 56 // determine the state of the profile icon for icon format changes.
57 const char kProfileIconVersion[] = "profile.icon_version"; 57 const char kProfileIconVersion[] = "profile.icon_version";
58 58
59 // Used to determine if the last session exited cleanly. Set to false when 59 // Used to determine if the last session exited cleanly. Set to false when
60 // first opened, and to true when closing. On startup if the value is false, 60 // first opened, and to true when closing. On startup if the value is false,
61 // it means the profile didn't exit cleanly. 61 // it means the profile didn't exit cleanly.
62 // DEPRECATED: this is replaced by kSessionExitType and exists for backwards 62 // DEPRECATED: this is replaced by kSessionExitType and exists for backwards
63 // compatability. 63 // compatibility.
64 const char kSessionExitedCleanly[] = "profile.exited_cleanly"; 64 const char kSessionExitedCleanly[] = "profile.exited_cleanly";
65 65
66 // A string pref whose values is one of the values defined by 66 // A string pref whose values is one of the values defined by
67 // |ProfileImpl::kPrefExitTypeXXX|. Set to |kPrefExitTypeCrashed| on startup and 67 // |ProfileImpl::kPrefExitTypeXXX|. Set to |kPrefExitTypeCrashed| on startup and
68 // one of |kPrefExitTypeNormal| or |kPrefExitTypeSessionEnded| during 68 // one of |kPrefExitTypeNormal| or |kPrefExitTypeSessionEnded| during
69 // shutdown. Used to determine the exit type the last time the profile was open. 69 // shutdown. Used to determine the exit type the last time the profile was open.
70 const char kSessionExitType[] = "profile.exit_type"; 70 const char kSessionExitType[] = "profile.exit_type";
71 71
72 // An integer pref. Holds one of several values: 72 // An integer pref. Holds one of several values:
73 // 0: (deprecated) open the homepage on startup. 73 // 0: (deprecated) open the homepage on startup.
(...skipping 2020 matching lines...) Expand 10 before | Expand all | Expand 10 after
2094 // Possible values: "stable-channel", "beta-channel", "dev-channel", or an 2094 // Possible values: "stable-channel", "beta-channel", "dev-channel", or an
2095 // empty string, in which case the value will be ignored. 2095 // empty string, in which case the value will be ignored.
2096 // TODO(dubroy): This preference may not be necessary once 2096 // TODO(dubroy): This preference may not be necessary once
2097 // http://crosbug.com/17015 is implemented and the update engine can just 2097 // http://crosbug.com/17015 is implemented and the update engine can just
2098 // fetch the correct value from the policy. 2098 // fetch the correct value from the policy.
2099 const char kChromeOsReleaseChannel[] = "cros.system.releaseChannel"; 2099 const char kChromeOsReleaseChannel[] = "cros.system.releaseChannel";
2100 2100
2101 const char kPerformanceTracingEnabled[] = 2101 const char kPerformanceTracingEnabled[] =
2102 "feedback.performance_tracing_enabled"; 2102 "feedback.performance_tracing_enabled";
2103 2103
2104 // Value of the enums in TabStrip::LayoutType as an int. 2104 // Boolean indicating whether tabstrip uses stacked layout (on touch devices).
sky 2014/05/28 19:45:56 nit: you've got two spaces after indicating.
varkha 2014/05/28 22:15:56 Done.
2105 const char kTabStripLayoutType[] = "tab_strip_layout_type"; 2105 // Defaults to false.
2106 const char kTabStripStackedLayout[] = "tab-strip-stacked-layout";
2106 2107
2107 // Indicates that factory reset was requested from options page or reset screen. 2108 // Indicates that factory reset was requested from options page or reset screen.
2108 const char kFactoryResetRequested[] = "FactoryResetRequested"; 2109 const char kFactoryResetRequested[] = "FactoryResetRequested";
2109 2110
2110 // Indicates that rollback was requested alongside with factory reset. 2111 // Indicates that rollback was requested alongside with factory reset.
2111 // Makes sense only if kFactoryResetRequested is true. 2112 // Makes sense only if kFactoryResetRequested is true.
2112 const char kRollbackRequested[] = "RollbackRequested"; 2113 const char kRollbackRequested[] = "RollbackRequested";
2113 2114
2114 // Boolean recording whether we have showed a balloon that calls out the message 2115 // Boolean recording whether we have showed a balloon that calls out the message
2115 // center for desktop notifications. 2116 // center for desktop notifications.
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
2299 // These values are default on the machine but can be overridden by per-display 2300 // These values are default on the machine but can be overridden by per-display
2300 // values in kShelfPreferences (unless overridden by managed policy). 2301 // values in kShelfPreferences (unless overridden by managed policy).
2301 // String value corresponding to ash::Shell::ShelfAlignment. 2302 // String value corresponding to ash::Shell::ShelfAlignment.
2302 const char kShelfAlignment[] = "shelf_alignment"; 2303 const char kShelfAlignment[] = "shelf_alignment";
2303 const char kShelfAlignmentLocal[] = "shelf_alignment_local"; 2304 const char kShelfAlignmentLocal[] = "shelf_alignment_local";
2304 // String value corresponding to ash::Shell::ShelfAutoHideBehavior. 2305 // String value corresponding to ash::Shell::ShelfAutoHideBehavior.
2305 const char kShelfAutoHideBehavior[] = "auto_hide_behavior"; 2306 const char kShelfAutoHideBehavior[] = "auto_hide_behavior";
2306 const char kShelfAutoHideBehaviorLocal[] = "auto_hide_behavior_local"; 2307 const char kShelfAutoHideBehaviorLocal[] = "auto_hide_behavior_local";
2307 // This value stores chrome icon's index in the launcher. This should be handled 2308 // This value stores chrome icon's index in the launcher. This should be handled
2308 // separately with app shortcut's index because of ShelfModel's backward 2309 // separately with app shortcut's index because of ShelfModel's backward
2309 // compatability. If we add chrome icon index to |kPinnedLauncherApps|, its 2310 // compatibility. If we add chrome icon index to |kPinnedLauncherApps|, its
2310 // index is also stored in the |kPinnedLauncherApp| pref. It may causes 2311 // index is also stored in the |kPinnedLauncherApp| pref. It may causes
2311 // creating two chrome icons. 2312 // creating two chrome icons.
2312 const char kShelfChromeIconIndex[] = "shelf_chrome_icon_index"; 2313 const char kShelfChromeIconIndex[] = "shelf_chrome_icon_index";
2313 // Dictionary value that holds per-display preference of shelf alignment and 2314 // Dictionary value that holds per-display preference of shelf alignment and
2314 // auto-hide behavior. Key of the dictionary is the id of the display, and 2315 // auto-hide behavior. Key of the dictionary is the id of the display, and
2315 // its value is a dictionary whose keys are kShelfAlignment and 2316 // its value is a dictionary whose keys are kShelfAlignment and
2316 // kShelfAutoHideBehavior. 2317 // kShelfAutoHideBehavior.
2317 const char kShelfPreferences[] = "shelf_preferences"; 2318 const char kShelfPreferences[] = "shelf_preferences";
2318 2319
2319 // Integer value in milliseconds indicating the length of time for which a 2320 // Integer value in milliseconds indicating the length of time for which a
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
2508 // "mapped_title" entries, detailing the bookmark target URL (if any), the title 2509 // "mapped_title" entries, detailing the bookmark target URL (if any), the title
2509 // given by the PartnerBookmarksProvider and either the user-visible renamed 2510 // given by the PartnerBookmarksProvider and either the user-visible renamed
2510 // title or an empty string if the bookmark node was removed. 2511 // title or an empty string if the bookmark node was removed.
2511 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; 2512 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings";
2512 #endif 2513 #endif
2513 2514
2514 // Whether DNS Quick Check is disabled in proxy resolution. 2515 // Whether DNS Quick Check is disabled in proxy resolution.
2515 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; 2516 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled";
2516 2517
2517 } // namespace prefs 2518 } // namespace prefs
OLDNEW
« chrome/browser/ui/views/tabs/tab_strip.h ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698