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

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

Issue 40053002: Implements the dialog view for logout button tray in public sessions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: minor fix Created 7 years 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
« chrome/common/pref_names.h ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2447 matching lines...) Expand 10 before | Expand all | Expand 10 after
2458 // This value stores chrome icon's index in the launcher. This should be handled 2458 // This value stores chrome icon's index in the launcher. This should be handled
2459 // separately with app shortcut's index because of ShelfModel's backward 2459 // separately with app shortcut's index because of ShelfModel's backward
2460 // compatability. If we add chrome icon index to |kPinnedLauncherApps|, its 2460 // compatability. If we add chrome icon index to |kPinnedLauncherApps|, its
2461 // index is also stored in the |kPinnedLauncherApp| pref. It may causes 2461 // index is also stored in the |kPinnedLauncherApp| pref. It may causes
2462 // creating two chrome icons. 2462 // creating two chrome icons.
2463 const char kShelfChromeIconIndex[] = "shelf_chrome_icon_index"; 2463 const char kShelfChromeIconIndex[] = "shelf_chrome_icon_index";
2464 2464
2465 const char kPinnedLauncherApps[] = "pinned_launcher_apps"; 2465 const char kPinnedLauncherApps[] = "pinned_launcher_apps";
2466 // Boolean value indicating whether to show a logout button in the ash tray. 2466 // Boolean value indicating whether to show a logout button in the ash tray.
2467 const char kShowLogoutButtonInTray[] = "show_logout_button_in_tray"; 2467 const char kShowLogoutButtonInTray[] = "show_logout_button_in_tray";
2468 // Integer value in milliseconds indicating the length of time for which a
2469 // confirmation dialog should be shown when the user presses the logout button.
2470 // A value of 0 indicates that logout should happen immediately, without showing
2471 // a confirmation dialog.
2472 const char kLogoutDialogDurationMs[] = "logout_dialog_duration_ms";
2468 // Dictionary value that holds per-display preference of shelf alignment and 2473 // Dictionary value that holds per-display preference of shelf alignment and
2469 // auto-hide behavior. Key of the dictionary is the id of the display, and 2474 // auto-hide behavior. Key of the dictionary is the id of the display, and
2470 // its value is a dictionary whose keys are kShelfAlignment and 2475 // its value is a dictionary whose keys are kShelfAlignment and
2471 // kShelfAutoHideBehavior. 2476 // kShelfAutoHideBehavior.
2472 const char kShelfPreferences[] = "shelf_preferences"; 2477 const char kShelfPreferences[] = "shelf_preferences";
2473 #endif 2478 #endif
2474 2479
2475 #if defined(USE_AURA) 2480 #if defined(USE_AURA)
2476 // Tuning settings for gestures. 2481 // Tuning settings for gestures.
2477 const char kFlingVelocityCap[] = "gesture.fling_velocity_cap"; 2482 const char kFlingVelocityCap[] = "gesture.fling_velocity_cap";
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
2667 const char kOsPasswordBlank[] = "password_manager.os_password_blank"; 2672 const char kOsPasswordBlank[] = "password_manager.os_password_blank";
2668 2673
2669 // The number of seconds since epoch that the OS password was last changed. 2674 // The number of seconds since epoch that the OS password was last changed.
2670 const char kOsPasswordLastChanged[] = 2675 const char kOsPasswordLastChanged[] =
2671 "password_manager.os_password_last_changed"; 2676 "password_manager.os_password_last_changed";
2672 #endif 2677 #endif
2673 2678
2674 // Whether DNS Quick Check is disabled in proxy resolution. 2679 // Whether DNS Quick Check is disabled in proxy resolution.
2675 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; 2680 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled";
2676 } // namespace prefs 2681 } // namespace prefs
OLDNEW
« chrome/common/pref_names.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