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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 const char kWebKitMinimumFontSize[] = "webkit.webprefs.minimum_font_size"; | 282 const char kWebKitMinimumFontSize[] = "webkit.webprefs.minimum_font_size"; |
283 const char kWebKitMinimumLogicalFontSize[] = | 283 const char kWebKitMinimumLogicalFontSize[] = |
284 "webkit.webprefs.minimum_logical_font_size"; | 284 "webkit.webprefs.minimum_logical_font_size"; |
285 const char kWebKitJavascriptEnabled[] = "webkit.webprefs.javascript_enabled"; | 285 const char kWebKitJavascriptEnabled[] = "webkit.webprefs.javascript_enabled"; |
286 const char kWebKitJavascriptCanOpenWindowsAutomatically[] = | 286 const char kWebKitJavascriptCanOpenWindowsAutomatically[] = |
287 "webkit.webprefs.javascript_can_open_windows_automatically"; | 287 "webkit.webprefs.javascript_can_open_windows_automatically"; |
288 const char kWebKitLoadsImagesAutomatically[] = | 288 const char kWebKitLoadsImagesAutomatically[] = |
289 "webkit.webprefs.loads_images_automatically"; | 289 "webkit.webprefs.loads_images_automatically"; |
290 const char kWebKitPluginsEnabled[] = "webkit.webprefs.plugins_enabled"; | 290 const char kWebKitPluginsEnabled[] = "webkit.webprefs.plugins_enabled"; |
291 | 291 |
292 // Boolean which specifies whether the bookmark bar is visible on all tabs. | |
293 const char kShowBookmarkBar[] = "bookmark_bar.show_on_all_tabs"; | |
294 | |
295 // Boolean which specifies whether the apps shortcut is visible on the bookmark | |
296 // bar. | |
297 const char kShowAppsShortcutInBookmarkBar[] = "bookmark_bar.show_apps_shortcut"; | |
298 | |
299 // Boolean which specifies the ids of the bookmark nodes that are expanded in | |
300 // the bookmark editor. | |
301 const char kBookmarkEditorExpandedNodes[] = "bookmark_editor.expanded_nodes"; | |
302 | |
303 // Boolean that is true when SafeBrowsing is enabled. | 292 // Boolean that is true when SafeBrowsing is enabled. |
304 const char kSafeBrowsingEnabled[] = "safebrowsing.enabled"; | 293 const char kSafeBrowsingEnabled[] = "safebrowsing.enabled"; |
305 | 294 |
306 // Boolean that tell us whether malicious download feedback is enabled. | 295 // Boolean that tell us whether malicious download feedback is enabled. |
307 const char kSafeBrowsingDownloadFeedbackEnabled[] = | 296 const char kSafeBrowsingDownloadFeedbackEnabled[] = |
308 "safebrowsing.download_feedback_enabled"; | 297 "safebrowsing.download_feedback_enabled"; |
309 | 298 |
310 // Boolean that is true when SafeBrowsing Malware Report is enabled. | 299 // Boolean that is true when SafeBrowsing Malware Report is enabled. |
311 const char kSafeBrowsingReportingEnabled[] = | 300 const char kSafeBrowsingReportingEnabled[] = |
312 "safebrowsing.reporting_enabled"; | 301 "safebrowsing.reporting_enabled"; |
(...skipping 796 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1109 "autofill.wallet_shipping_same_as_billing"; | 1098 "autofill.wallet_shipping_same_as_billing"; |
1110 | 1099 |
1111 // The number of times the generated credit card bubble has been shown. | 1100 // The number of times the generated credit card bubble has been shown. |
1112 const char kAutofillGeneratedCardBubbleTimesShown[] = | 1101 const char kAutofillGeneratedCardBubbleTimesShown[] = |
1113 "autofill.generated_card_bubble_times_shown"; | 1102 "autofill.generated_card_bubble_times_shown"; |
1114 | 1103 |
1115 // A dictionary that tracks the defaults to be set on the next invocation | 1104 // A dictionary that tracks the defaults to be set on the next invocation |
1116 // of the requestAutocomplete dialog. | 1105 // of the requestAutocomplete dialog. |
1117 const char kAutofillDialogDefaults[] = "autofill.rac_dialog_defaults"; | 1106 const char kAutofillDialogDefaults[] = "autofill.rac_dialog_defaults"; |
1118 | 1107 |
1119 // Modifying bookmarks is completely disabled when this is set to false. | |
1120 const char kEditBookmarksEnabled[] = "bookmarks.editing_enabled"; | |
1121 | |
1122 #if !defined(OS_ANDROID) | 1108 #if !defined(OS_ANDROID) |
1123 const char kPinnedTabs[] = "pinned_tabs"; | 1109 const char kPinnedTabs[] = "pinned_tabs"; |
1124 #endif | 1110 #endif |
1125 | 1111 |
1126 #if defined(OS_ANDROID) | 1112 #if defined(OS_ANDROID) |
1127 // Boolean that controls the enabled-state of Geolocation in content. | 1113 // Boolean that controls the enabled-state of Geolocation in content. |
1128 const char kGeolocationEnabled[] = "geolocation.enabled"; | 1114 const char kGeolocationEnabled[] = "geolocation.enabled"; |
1129 #endif | 1115 #endif |
1130 | 1116 |
1131 #if defined(ENABLE_GOOGLE_NOW) | 1117 #if defined(ENABLE_GOOGLE_NOW) |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1401 const char kMetricsInitialLogs[] = | 1387 const char kMetricsInitialLogs[] = |
1402 "user_experience_metrics.initial_logs_as_protobufs"; | 1388 "user_experience_metrics.initial_logs_as_protobufs"; |
1403 | 1389 |
1404 // Array of strings that are each UMA logs that were not sent because the | 1390 // Array of strings that are each UMA logs that were not sent because the |
1405 // browser terminated before these accumulated metrics could be sent. These | 1391 // browser terminated before these accumulated metrics could be sent. These |
1406 // logs typically include histograms and memory reports, as well as ongoing | 1392 // logs typically include histograms and memory reports, as well as ongoing |
1407 // user activities. | 1393 // user activities. |
1408 const char kMetricsOngoingLogs[] = | 1394 const char kMetricsOngoingLogs[] = |
1409 "user_experience_metrics.ongoing_logs_as_protobufs"; | 1395 "user_experience_metrics.ongoing_logs_as_protobufs"; |
1410 | 1396 |
1411 // Boolean that is true when bookmark prompt is enabled. | |
1412 const char kBookmarkPromptEnabled[] = "bookmark_prompt_enabled"; | |
1413 | |
1414 // Number of times bookmark prompt displayed. | |
1415 const char kBookmarkPromptImpressionCount[] = | |
1416 "bookmark_prompt_impression_count"; | |
1417 | |
1418 // 64-bit integer serialization of the base::Time from the last successful seed | 1397 // 64-bit integer serialization of the base::Time from the last successful seed |
1419 // fetch (i.e. when the Variations server responds with 200 or 304). | 1398 // fetch (i.e. when the Variations server responds with 200 or 304). |
1420 const char kVariationsLastFetchTime[] = "variations_last_fetch_time"; | 1399 const char kVariationsLastFetchTime[] = "variations_last_fetch_time"; |
1421 | 1400 |
1422 // String for the restrict parameter to be appended to the variations URL. | 1401 // String for the restrict parameter to be appended to the variations URL. |
1423 const char kVariationsRestrictParameter[] = "variations_restrict_parameter"; | 1402 const char kVariationsRestrictParameter[] = "variations_restrict_parameter"; |
1424 | 1403 |
1425 // String serialized form of variations seed protobuf. | 1404 // String serialized form of variations seed protobuf. |
1426 const char kVariationsSeed[] = "variations_seed"; | 1405 const char kVariationsSeed[] = "variations_seed"; |
1427 | 1406 |
(...skipping 1164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2592 // "mapped_title" entries, detailing the bookmark target URL (if any), the title | 2571 // "mapped_title" entries, detailing the bookmark target URL (if any), the title |
2593 // given by the PartnerBookmarksProvider and either the user-visible renamed | 2572 // given by the PartnerBookmarksProvider and either the user-visible renamed |
2594 // title or an empty string if the bookmark node was removed. | 2573 // title or an empty string if the bookmark node was removed. |
2595 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; | 2574 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; |
2596 #endif | 2575 #endif |
2597 | 2576 |
2598 // Whether DNS Quick Check is disabled in proxy resolution. | 2577 // Whether DNS Quick Check is disabled in proxy resolution. |
2599 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; | 2578 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; |
2600 | 2579 |
2601 } // namespace prefs | 2580 } // namespace prefs |
OLD | NEW |