OLD | NEW |
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 2443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2454 const char kShelfAlignmentLocal[] = "shelf_alignment_local"; | 2454 const char kShelfAlignmentLocal[] = "shelf_alignment_local"; |
2455 // String value corresponding to ash::Shell::ShelfAutoHideBehavior. | 2455 // String value corresponding to ash::Shell::ShelfAutoHideBehavior. |
2456 const char kShelfAutoHideBehavior[] = "auto_hide_behavior"; | 2456 const char kShelfAutoHideBehavior[] = "auto_hide_behavior"; |
2457 const char kShelfAutoHideBehaviorLocal[] = "auto_hide_behavior_local"; | 2457 const char kShelfAutoHideBehaviorLocal[] = "auto_hide_behavior_local"; |
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 | |
2465 const char kPinnedLauncherApps[] = "pinned_launcher_apps"; | |
2466 // Boolean value indicating whether to show a logout button in the ash tray. | |
2467 const char kShowLogoutButtonInTray[] = "show_logout_button_in_tray"; | |
2468 // Dictionary value that holds per-display preference of shelf alignment and | 2464 // 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 | 2465 // 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 | 2466 // its value is a dictionary whose keys are kShelfAlignment and |
2471 // kShelfAutoHideBehavior. | 2467 // kShelfAutoHideBehavior. |
2472 const char kShelfPreferences[] = "shelf_preferences"; | 2468 const char kShelfPreferences[] = "shelf_preferences"; |
| 2469 |
| 2470 // Integer value in milliseconds indicating the length of time for which a |
| 2471 // confirmation dialog should be shown when the user presses the logout button. |
| 2472 // A value of 0 indicates that logout should happen immediately, without showing |
| 2473 // a confirmation dialog. |
| 2474 const char kLogoutDialogDurationMs[] = "logout_dialog_duration_ms"; |
| 2475 const char kPinnedLauncherApps[] = "pinned_launcher_apps"; |
| 2476 // Boolean value indicating whether to show a logout button in the ash tray. |
| 2477 const char kShowLogoutButtonInTray[] = "show_logout_button_in_tray"; |
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"; |
2478 const char kLongPressTimeInSeconds[] = | 2483 const char kLongPressTimeInSeconds[] = |
2479 "gesture.long_press_time_in_seconds"; | 2484 "gesture.long_press_time_in_seconds"; |
2480 const char kMaxDistanceBetweenTapsForDoubleTap[] = | 2485 const char kMaxDistanceBetweenTapsForDoubleTap[] = |
2481 "gesture.max_distance_between_taps_for_double_tap"; | 2486 "gesture.max_distance_between_taps_for_double_tap"; |
2482 const char kMaxDistanceForTwoFingerTapInPixels[] = | 2487 const char kMaxDistanceForTwoFingerTapInPixels[] = |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 |
OLD | NEW |