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 #include "chrome/common/pref_font_webkit_names.h" | 8 #include "chrome/common/pref_font_webkit_names.h" |
9 | 9 |
10 namespace prefs { | 10 namespace prefs { |
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
318 // Enum that specifies whether Incognito mode is: | 318 // Enum that specifies whether Incognito mode is: |
319 // 0 - Enabled. Default behaviour. Default mode is available on demand. | 319 // 0 - Enabled. Default behaviour. Default mode is available on demand. |
320 // 1 - Disabled. Used cannot browse pages in Incognito mode. | 320 // 1 - Disabled. Used cannot browse pages in Incognito mode. |
321 // 2 - Forced. All pages/sessions are forced into Incognito. | 321 // 2 - Forced. All pages/sessions are forced into Incognito. |
322 const char kIncognitoModeAvailability[] = "incognito.mode_availability"; | 322 const char kIncognitoModeAvailability[] = "incognito.mode_availability"; |
323 | 323 |
324 // Boolean that is true when Suggest support is enabled. | 324 // Boolean that is true when Suggest support is enabled. |
325 const char kSearchSuggestEnabled[] = "search.suggest_enabled"; | 325 const char kSearchSuggestEnabled[] = "search.suggest_enabled"; |
326 | 326 |
327 #if defined(OS_ANDROID) | 327 #if defined(OS_ANDROID) |
328 // Integer indicating the Contextual Search enabled state. | 328 // String indicating the Contextual Search enabled state. |
329 // -1 - opt-out (disabled) | 329 // "false" - opt-out (disabled) |
330 // 0 - undecided | 330 // "" (empty string) - undecided |
331 // 1 - opt-in (enabled) | 331 // "true" - opt-in (enabled)" |
noms (inactive)
2014/07/11 15:56:11
hilarious nit: extra " at the end :)
Mathieu
2014/07/11 16:02:16
Done.
| |
332 const char kContextualSearchEnabled[] = "search.contextual_search_enabled"; | 332 const char kContextualSearchEnabled[] = "search.contextual_search_enabled"; |
333 #endif | 333 #endif |
334 | 334 |
335 // Boolean that indicates whether the browser should put up a confirmation | 335 // Boolean that indicates whether the browser should put up a confirmation |
336 // window when the user is attempting to quit. Mac only. | 336 // window when the user is attempting to quit. Mac only. |
337 const char kConfirmToQuitEnabled[] = "browser.confirm_to_quit"; | 337 const char kConfirmToQuitEnabled[] = "browser.confirm_to_quit"; |
338 | 338 |
339 // OBSOLETE. Enum that specifies whether to enforce a third-party cookie | 339 // OBSOLETE. Enum that specifies whether to enforce a third-party cookie |
340 // blocking policy. This has been superseded by kDefaultContentSettings + | 340 // blocking policy. This has been superseded by kDefaultContentSettings + |
341 // kBlockThirdPartyCookies. | 341 // kBlockThirdPartyCookies. |
(...skipping 1944 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2286 // "mapped_title" entries, detailing the bookmark target URL (if any), the title | 2286 // "mapped_title" entries, detailing the bookmark target URL (if any), the title |
2287 // given by the PartnerBookmarksProvider and either the user-visible renamed | 2287 // given by the PartnerBookmarksProvider and either the user-visible renamed |
2288 // title or an empty string if the bookmark node was removed. | 2288 // title or an empty string if the bookmark node was removed. |
2289 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; | 2289 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; |
2290 #endif | 2290 #endif |
2291 | 2291 |
2292 // Whether DNS Quick Check is disabled in proxy resolution. | 2292 // Whether DNS Quick Check is disabled in proxy resolution. |
2293 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; | 2293 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; |
2294 | 2294 |
2295 } // namespace prefs | 2295 } // namespace prefs |
OLD | NEW |