OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 namespace prefs { | 7 namespace prefs { |
8 | 8 |
9 // *************** PROFILE PREFS *************** | 9 // *************** PROFILE PREFS *************** |
10 // These are attached to the user profile | 10 // These are attached to the user profile |
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
438 #endif | 438 #endif |
439 | 439 |
440 // Boolean that is false if we should show window manager decorations. If | 440 // Boolean that is false if we should show window manager decorations. If |
441 // true, we draw a custom chrome frame (thicker title bar and blue border). | 441 // true, we draw a custom chrome frame (thicker title bar and blue border). |
442 const wchar_t kUseCustomChromeFrame[] = L"browser.custom_chrome_frame"; | 442 const wchar_t kUseCustomChromeFrame[] = L"browser.custom_chrome_frame"; |
443 | 443 |
444 // Boolean that indicates whether the infobar explaining that search can be | 444 // Boolean that indicates whether the infobar explaining that search can be |
445 // done directly from the omnibox should be shown. | 445 // done directly from the omnibox should be shown. |
446 const wchar_t kShowOmniboxSearchHint[] = L"browser.show_omnibox_search_hint"; | 446 const wchar_t kShowOmniboxSearchHint[] = L"browser.show_omnibox_search_hint"; |
447 | 447 |
448 // Int which specifies how many times left to show a promotional message on the | |
449 // NTP. This value decrements each time the NTP is shown for the first time | |
450 // in a session. | |
451 const wchar_t kNTPPromoViewsRemaining[] = L"browser.ntp.promo_remaining"; | |
452 | |
453 // The list of origins which are allowed|denied to show desktop notifications. | 448 // The list of origins which are allowed|denied to show desktop notifications. |
454 const wchar_t kDesktopNotificationDefaultContentSetting[] = | 449 const wchar_t kDesktopNotificationDefaultContentSetting[] = |
455 L"profile.notifications_default_content_setting"; | 450 L"profile.notifications_default_content_setting"; |
456 const wchar_t kDesktopNotificationAllowedOrigins[] = | 451 const wchar_t kDesktopNotificationAllowedOrigins[] = |
457 L"profile.notification_allowed_sites"; | 452 L"profile.notification_allowed_sites"; |
458 const wchar_t kDesktopNotificationDeniedOrigins[] = | 453 const wchar_t kDesktopNotificationDeniedOrigins[] = |
459 L"profile.notification_denied_sites"; | 454 L"profile.notification_denied_sites"; |
460 | 455 |
461 // Dictionary of content settings applied to all hosts by default. | 456 // Dictionary of content settings applied to all hosts by default. |
462 const wchar_t kDefaultContentSettings[] = L"profile.default_content_settings"; | 457 const wchar_t kDefaultContentSettings[] = L"profile.default_content_settings"; |
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
940 // String specifying the proxy server. For a specification of the expected | 935 // String specifying the proxy server. For a specification of the expected |
941 // syntax see net::ProxyConfig::ProxyRules::ParseFromString(). | 936 // syntax see net::ProxyConfig::ProxyRules::ParseFromString(). |
942 const wchar_t kProxyServer[] = L"proxy.server"; | 937 const wchar_t kProxyServer[] = L"proxy.server"; |
943 // URL to the proxy .pac file. | 938 // URL to the proxy .pac file. |
944 const wchar_t kProxyPacUrl[] = L"proxy.pac_url"; | 939 const wchar_t kProxyPacUrl[] = L"proxy.pac_url"; |
945 // String containing proxy bypass rules. For a specification of the | 940 // String containing proxy bypass rules. For a specification of the |
946 // expected syntax see net::ProxyBypassRules::ParseFromString(). | 941 // expected syntax see net::ProxyBypassRules::ParseFromString(). |
947 const wchar_t kProxyBypassList[] = L"proxy.bypass_list"; | 942 const wchar_t kProxyBypassList[] = L"proxy.bypass_list"; |
948 | 943 |
949 } // namespace prefs | 944 } // namespace prefs |
OLD | NEW |