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

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: drop weak pointer for owner 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
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 2415 matching lines...) Expand 10 before | Expand all | Expand 10 after
2426 // This value stores chrome icon's index in the launcher. This should be handled 2426 // This value stores chrome icon's index in the launcher. This should be handled
2427 // separately with app shortcut's index because of ShelfModel's backward 2427 // separately with app shortcut's index because of ShelfModel's backward
2428 // compatability. If we add chrome icon index to |kPinnedLauncherApps|, its 2428 // compatability. If we add chrome icon index to |kPinnedLauncherApps|, its
2429 // index is also stored in the |kPinnedLauncherApp| pref. It may causes 2429 // index is also stored in the |kPinnedLauncherApp| pref. It may causes
2430 // creating two chrome icons. 2430 // creating two chrome icons.
2431 const char kShelfChromeIconIndex[] = "shelf_chrome_icon_index"; 2431 const char kShelfChromeIconIndex[] = "shelf_chrome_icon_index";
2432 2432
2433 const char kPinnedLauncherApps[] = "pinned_launcher_apps"; 2433 const char kPinnedLauncherApps[] = "pinned_launcher_apps";
2434 // Boolean value indicating whether to show a logout button in the ash tray. 2434 // Boolean value indicating whether to show a logout button in the ash tray.
2435 const char kShowLogoutButtonInTray[] = "show_logout_button_in_tray"; 2435 const char kShowLogoutButtonInTray[] = "show_logout_button_in_tray";
2436 // Integer value in milliseconds indicating the length of time for which a
2437 // confirmation dialog should be shown when the user presses the logout button.
2438 // A value of 0 indicates that logout should happen immediately, without showing
2439 // a confirmation dialog.
2440 const char kLogoutDialogDurationMs[] = "logout_dialog_duration_ms";
2436 // Dictionary value that holds per-display preference of shelf alignment and 2441 // Dictionary value that holds per-display preference of shelf alignment and
2437 // auto-hide behavior. Key of the dictionary is the id of the display, and 2442 // auto-hide behavior. Key of the dictionary is the id of the display, and
2438 // its value is a dictionary whose keys are kShelfAlignment and 2443 // its value is a dictionary whose keys are kShelfAlignment and
2439 // kShelfAutoHideBehavior. 2444 // kShelfAutoHideBehavior.
2440 const char kShelfPreferences[] = "shelf_preferences"; 2445 const char kShelfPreferences[] = "shelf_preferences";
2441 #endif 2446 #endif
2442 2447
2443 #if defined(USE_AURA) 2448 #if defined(USE_AURA)
2444 // Tuning settings for gestures. 2449 // Tuning settings for gestures.
2445 const char kFlingVelocityCap[] = "gesture.fling_velocity_cap"; 2450 const char kFlingVelocityCap[] = "gesture.fling_velocity_cap";
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
2629 #if defined(OS_WIN) 2634 #if defined(OS_WIN)
2630 // Whether the password was blank, only valid if OS password was last changed 2635 // Whether the password was blank, only valid if OS password was last changed
2631 // on or before the value contained in kOsPasswordLastChanged. 2636 // on or before the value contained in kOsPasswordLastChanged.
2632 const char kOsPasswordBlank[] = "password_manager.os_password_blank"; 2637 const char kOsPasswordBlank[] = "password_manager.os_password_blank";
2633 2638
2634 // The number of seconds since epoch that the OS password was last changed. 2639 // The number of seconds since epoch that the OS password was last changed.
2635 const char kOsPasswordLastChanged[] = 2640 const char kOsPasswordLastChanged[] =
2636 "password_manager.os_password_last_changed"; 2641 "password_manager.os_password_last_changed";
2637 #endif 2642 #endif
2638 } // namespace prefs 2643 } // namespace prefs
OLDNEW
« ash/system/logout_button/logout_confirmation_dialog_view.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