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 | 8 |
9 namespace prefs { | 9 namespace prefs { |
10 | 10 |
(...skipping 719 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
730 // A boolean pref that enables the (private) pepper GetID() call. | 730 // A boolean pref that enables the (private) pepper GetID() call. |
731 const char kEnableCrosDRM[] = "settings.privacy.drm_enabled"; | 731 const char kEnableCrosDRM[] = "settings.privacy.drm_enabled"; |
732 | 732 |
733 // An enumeration that specifies the layout of the secondary display. | 733 // An enumeration that specifies the layout of the secondary display. |
734 // 0 - The secondary display is at the top of the primary display. | 734 // 0 - The secondary display is at the top of the primary display. |
735 // 1 - The secondary display is at the right of the primary display. | 735 // 1 - The secondary display is at the right of the primary display. |
736 // 2 - The secondary display is at the bottom of the primary display. | 736 // 2 - The secondary display is at the bottom of the primary display. |
737 // 3 - The secondary display is at the left of the primary display. | 737 // 3 - The secondary display is at the left of the primary display. |
738 // TODO(mukai,oshima): update the format of the multi-display settings. | 738 // TODO(mukai,oshima): update the format of the multi-display settings. |
739 const char kSecondaryDisplayLayout[] = "settings.display.secondary_layout"; | 739 const char kSecondaryDisplayLayout[] = "settings.display.secondary_layout"; |
| 740 |
| 741 // An integer pref that specifies how far the secondary display is positioned |
| 742 // from the edge of the primary display. |
| 743 const char kSecondaryDisplayOffset[] = "settings.display.secondary_offset"; |
740 #endif // defined(OS_CHROMEOS) | 744 #endif // defined(OS_CHROMEOS) |
741 | 745 |
742 // The disabled messages in IPC logging. | 746 // The disabled messages in IPC logging. |
743 const char kIpcDisabledMessages[] = "ipc_log_disabled_messages"; | 747 const char kIpcDisabledMessages[] = "ipc_log_disabled_messages"; |
744 | 748 |
745 // A boolean pref set to true if a Home button to open the Home pages should be | 749 // A boolean pref set to true if a Home button to open the Home pages should be |
746 // visible on the toolbar. | 750 // visible on the toolbar. |
747 const char kShowHomeButton[] = "browser.show_home_button"; | 751 const char kShowHomeButton[] = "browser.show_home_button"; |
748 | 752 |
749 // A string value which saves short list of recently user selected encodings | 753 // A string value which saves short list of recently user selected encodings |
(...skipping 1268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2018 const char kNetworkProfileLastWarningTime[] = | 2022 const char kNetworkProfileLastWarningTime[] = |
2019 "network_profile.last_warning_time"; | 2023 "network_profile.last_warning_time"; |
2020 | 2024 |
2021 #if defined(OS_MACOSX) | 2025 #if defined(OS_MACOSX) |
2022 // A timestamp of when the obsolete OS infobar was last shown to a user on 10.5. | 2026 // A timestamp of when the obsolete OS infobar was last shown to a user on 10.5. |
2023 const char kMacLeopardObsoleteInfobarLastShown[] = | 2027 const char kMacLeopardObsoleteInfobarLastShown[] = |
2024 "mac_105_obsolete_infobar_last_shown"; | 2028 "mac_105_obsolete_infobar_last_shown"; |
2025 #endif // defined(OS_MACOSX) | 2029 #endif // defined(OS_MACOSX) |
2026 | 2030 |
2027 } // namespace prefs | 2031 } // namespace prefs |
OLD | NEW |