| 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 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 433 #endif | 433 #endif |
| 434 | 434 |
| 435 // Boolean that is false if we should show window manager decorations. If | 435 // Boolean that is false if we should show window manager decorations. If |
| 436 // true, we draw a custom chrome frame (thicker title bar and blue border). | 436 // true, we draw a custom chrome frame (thicker title bar and blue border). |
| 437 const wchar_t kUseCustomChromeFrame[] = L"browser.custom_chrome_frame"; | 437 const wchar_t kUseCustomChromeFrame[] = L"browser.custom_chrome_frame"; |
| 438 | 438 |
| 439 // Boolean that indicates whether the infobar explaining that search can be | 439 // Boolean that indicates whether the infobar explaining that search can be |
| 440 // done directly from the omnibox should be shown. | 440 // done directly from the omnibox should be shown. |
| 441 const wchar_t kShowOmniboxSearchHint[] = L"browser.show_omnibox_search_hint"; | 441 const wchar_t kShowOmniboxSearchHint[] = L"browser.show_omnibox_search_hint"; |
| 442 | 442 |
| 443 // Int which specifies how many times left to show a promotional message on the |
| 444 // NTP. This value decrements each time the NTP is shown for the first time |
| 445 // in a session. |
| 446 const wchar_t kNTPPromoViewsRemaining[] = L"browser.ntp.promo_remaining"; |
| 447 |
| 443 // 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. |
| 444 const wchar_t kDesktopNotificationDefaultContentSetting[] = | 449 const wchar_t kDesktopNotificationDefaultContentSetting[] = |
| 445 L"profile.notifications_default_content_setting"; | 450 L"profile.notifications_default_content_setting"; |
| 446 const wchar_t kDesktopNotificationAllowedOrigins[] = | 451 const wchar_t kDesktopNotificationAllowedOrigins[] = |
| 447 L"profile.notification_allowed_sites"; | 452 L"profile.notification_allowed_sites"; |
| 448 const wchar_t kDesktopNotificationDeniedOrigins[] = | 453 const wchar_t kDesktopNotificationDeniedOrigins[] = |
| 449 L"profile.notification_denied_sites"; | 454 L"profile.notification_denied_sites"; |
| 450 | 455 |
| 451 // Dictionary of content settings applied to all hosts by default. | 456 // Dictionary of content settings applied to all hosts by default. |
| 452 const wchar_t kDefaultContentSettings[] = L"profile.default_content_settings"; | 457 const wchar_t kDefaultContentSettings[] = L"profile.default_content_settings"; |
| (...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 929 // String specifying the proxy server. For a specification of the expected | 934 // String specifying the proxy server. For a specification of the expected |
| 930 // syntax see net::ProxyConfig::ProxyRules::ParseFromString(). | 935 // syntax see net::ProxyConfig::ProxyRules::ParseFromString(). |
| 931 const wchar_t kProxyServer[] = L"proxy.server"; | 936 const wchar_t kProxyServer[] = L"proxy.server"; |
| 932 // URL to the proxy .pac file. | 937 // URL to the proxy .pac file. |
| 933 const wchar_t kProxyPacUrl[] = L"proxy.pac_url"; | 938 const wchar_t kProxyPacUrl[] = L"proxy.pac_url"; |
| 934 // String containing proxy bypass rules. For a specification of the | 939 // String containing proxy bypass rules. For a specification of the |
| 935 // expected syntax see net::ProxyBypassRules::ParseFromString(). | 940 // expected syntax see net::ProxyBypassRules::ParseFromString(). |
| 936 const wchar_t kProxyBypassList[] = L"proxy.bypass_list"; | 941 const wchar_t kProxyBypassList[] = L"proxy.bypass_list"; |
| 937 | 942 |
| 938 } // namespace prefs | 943 } // namespace prefs |
| OLD | NEW |