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

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

Issue 10870036: Allow storing display preferences per device. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 3 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 | Annotate | Revision Log
« 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 8
9 namespace prefs { 9 namespace prefs {
10 10
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 740
741 // An integer pref that specifies how far the secondary display is positioned 741 // An integer pref that specifies how far the secondary display is positioned
742 // from the edge of the primary display. 742 // from the edge of the primary display.
743 const char kSecondaryDisplayOffset[] = "settings.display.secondary_offset"; 743 const char kSecondaryDisplayOffset[] = "settings.display.secondary_offset";
744
745 // A dictionary pref that specifies per-display layout/offset information.
746 // Its key is the ID of the display and its value is a dictionary for the
747 // layout/offset information.
748 const char kSecondaryDisplays[] = "settings.display.secondary_displays";
744 #endif // defined(OS_CHROMEOS) 749 #endif // defined(OS_CHROMEOS)
745 750
746 // The disabled messages in IPC logging. 751 // The disabled messages in IPC logging.
747 const char kIpcDisabledMessages[] = "ipc_log_disabled_messages"; 752 const char kIpcDisabledMessages[] = "ipc_log_disabled_messages";
748 753
749 // A boolean pref set to true if a Home button to open the Home pages should be 754 // A boolean pref set to true if a Home button to open the Home pages should be
750 // visible on the toolbar. 755 // visible on the toolbar.
751 const char kShowHomeButton[] = "browser.show_home_button"; 756 const char kShowHomeButton[] = "browser.show_home_button";
752 757
753 // A string value which saves short list of recently user selected encodings 758 // A string value which saves short list of recently user selected encodings
(...skipping 1244 matching lines...) Expand 10 before | Expand all | Expand 10 after
1998 2003
1999 // Counts how many more times the 'profile on a network share' warning should be 2004 // Counts how many more times the 'profile on a network share' warning should be
2000 // shown to the user before the next silence period. 2005 // shown to the user before the next silence period.
2001 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; 2006 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left";
2002 // Tracks the time of the last shown warning. Used to reset 2007 // Tracks the time of the last shown warning. Used to reset
2003 // |network_profile.warnings_left| after a silence period. 2008 // |network_profile.warnings_left| after a silence period.
2004 const char kNetworkProfileLastWarningTime[] = 2009 const char kNetworkProfileLastWarningTime[] =
2005 "network_profile.last_warning_time"; 2010 "network_profile.last_warning_time";
2006 2011
2007 } // namespace prefs 2012 } // 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