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

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

Issue 10829034: Store secondary display layout to the user's preferences (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix comment Created 8 years, 4 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 705 matching lines...) Expand 10 before | Expand all | Expand 10 after
716 const char kUseSharedProxies[] = "settings.use_shared_proxies"; 716 const char kUseSharedProxies[] = "settings.use_shared_proxies";
717 717
718 // A string prefs for OAuth1 token. 718 // A string prefs for OAuth1 token.
719 const char kOAuth1Token[] = "settings.account.oauth1_token"; 719 const char kOAuth1Token[] = "settings.account.oauth1_token";
720 720
721 // A string prefs for OAuth1 secret. 721 // A string prefs for OAuth1 secret.
722 const char kOAuth1Secret[] = "settings.account.oauth1_secret"; 722 const char kOAuth1Secret[] = "settings.account.oauth1_secret";
723 723
724 // A boolean pref that enables the (private) pepper GetID() call. 724 // A boolean pref that enables the (private) pepper GetID() call.
725 const char kEnableCrosDRM[] = "settings.privacy.drm_enabled"; 725 const char kEnableCrosDRM[] = "settings.privacy.drm_enabled";
726
727 // An enumeration that specifies the layout of the secondary display.
728 // 0 - The secondary display is at the top of the primary display.
729 // 1 - The secondary display is at the right of the primary display.
730 // 2 - The secondary display is at the bottom of the primary display.
731 // 3 - The secondary display is at the left of the primary display.
732 // TODO(mukai,oshima): update the format of the multi-display settings.
733 const char kSecondaryDisplayLayout[] = "settings.display.secondary_layout";
726 #endif // defined(OS_CHROMEOS) 734 #endif // defined(OS_CHROMEOS)
727 735
728 // The disabled messages in IPC logging. 736 // The disabled messages in IPC logging.
729 const char kIpcDisabledMessages[] = "ipc_log_disabled_messages"; 737 const char kIpcDisabledMessages[] = "ipc_log_disabled_messages";
730 738
731 // A boolean pref set to true if a Home button to open the Home pages should be 739 // A boolean pref set to true if a Home button to open the Home pages should be
732 // visible on the toolbar. 740 // visible on the toolbar.
733 const char kShowHomeButton[] = "browser.show_home_button"; 741 const char kShowHomeButton[] = "browser.show_home_button";
734 742
735 // A string value which saves short list of recently user selected encodings 743 // A string value which saves short list of recently user selected encodings
(...skipping 1259 matching lines...) Expand 10 before | Expand all | Expand 10 after
1995 const char kNetworkProfileLastWarningTime[] = 2003 const char kNetworkProfileLastWarningTime[] =
1996 "network_profile.last_warning_time"; 2004 "network_profile.last_warning_time";
1997 2005
1998 #if defined(OS_MACOSX) 2006 #if defined(OS_MACOSX)
1999 // A timestamp of when the obsolete OS infobar was last shown to a user on 10.5. 2007 // A timestamp of when the obsolete OS infobar was last shown to a user on 10.5.
2000 const char kMacLeopardObsoleteInfobarLastShown[] = 2008 const char kMacLeopardObsoleteInfobarLastShown[] =
2001 "mac_105_obsolete_infobar_last_shown"; 2009 "mac_105_obsolete_infobar_last_shown";
2002 #endif // defined(OS_MACOSX) 2010 #endif // defined(OS_MACOSX)
2003 2011
2004 } // 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