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

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: rebase Created 6 years, 11 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
« no previous file with comments | « 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 2446 matching lines...) Expand 10 before | Expand all | Expand 10 after
2457 const char kShelfAlignmentLocal[] = "shelf_alignment_local"; 2457 const char kShelfAlignmentLocal[] = "shelf_alignment_local";
2458 // String value corresponding to ash::Shell::ShelfAutoHideBehavior. 2458 // String value corresponding to ash::Shell::ShelfAutoHideBehavior.
2459 const char kShelfAutoHideBehavior[] = "auto_hide_behavior"; 2459 const char kShelfAutoHideBehavior[] = "auto_hide_behavior";
2460 const char kShelfAutoHideBehaviorLocal[] = "auto_hide_behavior_local"; 2460 const char kShelfAutoHideBehaviorLocal[] = "auto_hide_behavior_local";
2461 // This value stores chrome icon's index in the launcher. This should be handled 2461 // This value stores chrome icon's index in the launcher. This should be handled
2462 // separately with app shortcut's index because of ShelfModel's backward 2462 // separately with app shortcut's index because of ShelfModel's backward
2463 // compatability. If we add chrome icon index to |kPinnedLauncherApps|, its 2463 // compatability. If we add chrome icon index to |kPinnedLauncherApps|, its
2464 // index is also stored in the |kPinnedLauncherApp| pref. It may causes 2464 // index is also stored in the |kPinnedLauncherApp| pref. It may causes
2465 // creating two chrome icons. 2465 // creating two chrome icons.
2466 const char kShelfChromeIconIndex[] = "shelf_chrome_icon_index"; 2466 const char kShelfChromeIconIndex[] = "shelf_chrome_icon_index";
2467
2468 const char kPinnedLauncherApps[] = "pinned_launcher_apps";
2469 // Boolean value indicating whether to show a logout button in the ash tray.
2470 const char kShowLogoutButtonInTray[] = "show_logout_button_in_tray";
2471 // Dictionary value that holds per-display preference of shelf alignment and 2467 // Dictionary value that holds per-display preference of shelf alignment and
2472 // auto-hide behavior. Key of the dictionary is the id of the display, and 2468 // auto-hide behavior. Key of the dictionary is the id of the display, and
2473 // its value is a dictionary whose keys are kShelfAlignment and 2469 // its value is a dictionary whose keys are kShelfAlignment and
2474 // kShelfAutoHideBehavior. 2470 // kShelfAutoHideBehavior.
2475 const char kShelfPreferences[] = "shelf_preferences"; 2471 const char kShelfPreferences[] = "shelf_preferences";
2472
2473 // Integer value in milliseconds indicating the length of time for which a
2474 // confirmation dialog should be shown when the user presses the logout button.
2475 // A value of 0 indicates that logout should happen immediately, without showing
2476 // a confirmation dialog.
2477 const char kLogoutDialogDurationMs[] = "logout_dialog_duration_ms";
2478 const char kPinnedLauncherApps[] = "pinned_launcher_apps";
2479 // Boolean value indicating whether to show a logout button in the ash tray.
2480 const char kShowLogoutButtonInTray[] = "show_logout_button_in_tray";
2476 #endif 2481 #endif
2477 2482
2478 #if defined(USE_AURA) 2483 #if defined(USE_AURA)
2479 // Tuning settings for gestures. 2484 // Tuning settings for gestures.
2480 const char kFlingVelocityCap[] = "gesture.fling_velocity_cap"; 2485 const char kFlingVelocityCap[] = "gesture.fling_velocity_cap";
2481 const char kLongPressTimeInSeconds[] = 2486 const char kLongPressTimeInSeconds[] =
2482 "gesture.long_press_time_in_seconds"; 2487 "gesture.long_press_time_in_seconds";
2483 const char kMaxDistanceBetweenTapsForDoubleTap[] = 2488 const char kMaxDistanceBetweenTapsForDoubleTap[] =
2484 "gesture.max_distance_between_taps_for_double_tap"; 2489 "gesture.max_distance_between_taps_for_double_tap";
2485 const char kMaxDistanceForTwoFingerTapInPixels[] = 2490 const char kMaxDistanceForTwoFingerTapInPixels[] =
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
2670 const char kOsPasswordBlank[] = "password_manager.os_password_blank"; 2675 const char kOsPasswordBlank[] = "password_manager.os_password_blank";
2671 2676
2672 // The number of seconds since epoch that the OS password was last changed. 2677 // The number of seconds since epoch that the OS password was last changed.
2673 const char kOsPasswordLastChanged[] = 2678 const char kOsPasswordLastChanged[] =
2674 "password_manager.os_password_last_changed"; 2679 "password_manager.os_password_last_changed";
2675 #endif 2680 #endif
2676 2681
2677 // Whether DNS Quick Check is disabled in proxy resolution. 2682 // Whether DNS Quick Check is disabled in proxy resolution.
2678 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; 2683 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled";
2679 } // namespace prefs 2684 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698