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

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

Issue 1459793002: Android: Allow compiling browser without Java UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
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 #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 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 367
368 // Enum that specifies whether Incognito mode is: 368 // Enum that specifies whether Incognito mode is:
369 // 0 - Enabled. Default behaviour. Default mode is available on demand. 369 // 0 - Enabled. Default behaviour. Default mode is available on demand.
370 // 1 - Disabled. Used cannot browse pages in Incognito mode. 370 // 1 - Disabled. Used cannot browse pages in Incognito mode.
371 // 2 - Forced. All pages/sessions are forced into Incognito. 371 // 2 - Forced. All pages/sessions are forced into Incognito.
372 const char kIncognitoModeAvailability[] = "incognito.mode_availability"; 372 const char kIncognitoModeAvailability[] = "incognito.mode_availability";
373 373
374 // Boolean that is true when Suggest support is enabled. 374 // Boolean that is true when Suggest support is enabled.
375 const char kSearchSuggestEnabled[] = "search.suggest_enabled"; 375 const char kSearchSuggestEnabled[] = "search.suggest_enabled";
376 376
377 #if defined(OS_ANDROID) 377 #if defined(ANDROID_JAVA_UI)
378 // String indicating the Contextual Search enabled state. 378 // String indicating the Contextual Search enabled state.
379 // "false" - opt-out (disabled) 379 // "false" - opt-out (disabled)
380 // "" (empty string) - undecided 380 // "" (empty string) - undecided
381 // "true" - opt-in (enabled) 381 // "true" - opt-in (enabled)
382 const char kContextualSearchEnabled[] = "search.contextual_search_enabled"; 382 const char kContextualSearchEnabled[] = "search.contextual_search_enabled";
383 #endif 383 #endif
384 384
385 #if defined(OS_MACOSX) 385 #if defined(OS_MACOSX)
386 // Boolean that indicates whether the browser should put up a confirmation 386 // Boolean that indicates whether the browser should put up a confirmation
387 // window when the user is attempting to quit. Mac only. 387 // window when the user is attempting to quit. Mac only.
(...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after
1000 // The number of times the generated credit card bubble has been shown. 1000 // The number of times the generated credit card bubble has been shown.
1001 const char kAutofillGeneratedCardBubbleTimesShown[] = 1001 const char kAutofillGeneratedCardBubbleTimesShown[] =
1002 "autofill.generated_card_bubble_times_shown"; 1002 "autofill.generated_card_bubble_times_shown";
1003 1003
1004 #if defined(OS_ANDROID) 1004 #if defined(OS_ANDROID)
1005 // A dictionary that tracks the defaults to be set on the next invocation 1005 // A dictionary that tracks the defaults to be set on the next invocation
1006 // of the requestAutocomplete dialog. 1006 // of the requestAutocomplete dialog.
1007 const char kAutofillDialogDefaults[] = "autofill.rac_dialog_defaults"; 1007 const char kAutofillDialogDefaults[] = "autofill.rac_dialog_defaults";
1008 #endif 1008 #endif
1009 1009
1010 #if !defined(OS_ANDROID) 1010 #if !defined(ANDROID_JAVA_UI)
1011 const char kPinnedTabs[] = "pinned_tabs"; 1011 const char kPinnedTabs[] = "pinned_tabs";
1012 #endif 1012 #endif
1013 1013
1014 // Preference to disable 3D APIs (WebGL, Pepper 3D). 1014 // Preference to disable 3D APIs (WebGL, Pepper 3D).
1015 const char kDisable3DAPIs[] = "disable_3d_apis"; 1015 const char kDisable3DAPIs[] = "disable_3d_apis";
1016 1016
1017 const char kEnableDeprecatedWebPlatformFeatures[] = 1017 const char kEnableDeprecatedWebPlatformFeatures[] =
1018 "enable_deprecated_web_platform_features"; 1018 "enable_deprecated_web_platform_features";
1019 1019
1020 // Whether to enable hyperlink auditing ("<a ping>"). 1020 // Whether to enable hyperlink auditing ("<a ping>").
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
1171 // Whether Easy Unlock is enabled. 1171 // Whether Easy Unlock is enabled.
1172 const char kEasyUnlockEnabled[] = "easy_unlock.enabled"; 1172 const char kEasyUnlockEnabled[] = "easy_unlock.enabled";
1173 1173
1174 // Preference storing Easy Unlock pairing data. 1174 // Preference storing Easy Unlock pairing data.
1175 const char kEasyUnlockPairing[] = "easy_unlock.pairing"; 1175 const char kEasyUnlockPairing[] = "easy_unlock.pairing";
1176 1176
1177 // Whether close proximity between the remote and the local device is required 1177 // Whether close proximity between the remote and the local device is required
1178 // in order to use Easy Unlock. 1178 // in order to use Easy Unlock.
1179 const char kEasyUnlockProximityRequired[] = "easy_unlock.proximity_required"; 1179 const char kEasyUnlockProximityRequired[] = "easy_unlock.proximity_required";
1180 1180
1181 #if defined(ENABLE_EXTENSIONS) && !defined(OS_ANDROID) && !defined(OS_IOS) 1181 #if defined(ENABLE_EXTENSIONS) && !defined(ANDROID_JAVA_UI) && !defined(OS_IOS)
1182 // These device IDs are used by the copresence component, to uniquely identify 1182 // These device IDs are used by the copresence component, to uniquely identify
1183 // this device to the server. For privacy, authenticated and unauthenticated 1183 // this device to the server. For privacy, authenticated and unauthenticated
1184 // calls are made using different device IDs. 1184 // calls are made using different device IDs.
1185 const char kCopresenceAuthenticatedDeviceId[] = 1185 const char kCopresenceAuthenticatedDeviceId[] =
1186 "apps.copresence.auth_device_id"; 1186 "apps.copresence.auth_device_id";
1187 const char kCopresenceAnonymousDeviceId[] = "apps.copresence.unauth_device_id"; 1187 const char kCopresenceAnonymousDeviceId[] = "apps.copresence.unauth_device_id";
1188 1188
1189 // Used to indicate whether or not the toolbar redesign bubble has been shown 1189 // Used to indicate whether or not the toolbar redesign bubble has been shown
1190 // and acknowledged, and the last time the bubble was shown. 1190 // and acknowledged, and the last time the bubble was shown.
1191 const char kToolbarIconSurfacingBubbleAcknowledged[] = 1191 const char kToolbarIconSurfacingBubbleAcknowledged[] =
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
1259 1259
1260 // On Chrome OS, total number of kernel crashes since the last report. 1260 // On Chrome OS, total number of kernel crashes since the last report.
1261 const char kStabilityKernelCrashCount[] = 1261 const char kStabilityKernelCrashCount[] =
1262 "user_experience_metrics.stability.kernel_crash_count"; 1262 "user_experience_metrics.stability.kernel_crash_count";
1263 1263
1264 // On Chrome OS, total number of unclean system shutdowns since the 1264 // On Chrome OS, total number of unclean system shutdowns since the
1265 // last report. 1265 // last report.
1266 const char kStabilitySystemUncleanShutdownCount[] = 1266 const char kStabilitySystemUncleanShutdownCount[] =
1267 "user_experience_metrics.stability.system_unclean_shutdowns"; 1267 "user_experience_metrics.stability.system_unclean_shutdowns";
1268 1268
1269 #if defined(OS_ANDROID) 1269 #if defined(ANDROID_JAVA_UI)
1270 // Activity type that is currently in the foreground for the UMA session. 1270 // Activity type that is currently in the foreground for the UMA session.
1271 // Uses the ActivityTypeIds::Type enum. 1271 // Uses the ActivityTypeIds::Type enum.
1272 const char kStabilityForegroundActivityType[] = 1272 const char kStabilityForegroundActivityType[] =
1273 "user_experience_metrics.stability.current_foreground_activity_type"; 1273 "user_experience_metrics.stability.current_foreground_activity_type";
1274 1274
1275 // Tracks which Activities were launched during the last session. 1275 // Tracks which Activities were launched during the last session.
1276 // See |metrics_service_android.cc| for its usage. 1276 // See |metrics_service_android.cc| for its usage.
1277 const char kStabilityLaunchedActivityFlags[] = 1277 const char kStabilityLaunchedActivityFlags[] =
1278 "user_experience_metrics.stability.launched_activity_flags"; 1278 "user_experience_metrics.stability.launched_activity_flags";
1279 1279
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
1492 1492
1493 #if defined(OS_ANDROID) 1493 #if defined(OS_ANDROID)
1494 // A boolean specifying whether remote dev tools debugging is enabled. 1494 // A boolean specifying whether remote dev tools debugging is enabled.
1495 const char kDevToolsRemoteEnabled[] = "devtools.remote_enabled"; 1495 const char kDevToolsRemoteEnabled[] = "devtools.remote_enabled";
1496 #endif 1496 #endif
1497 1497
1498 // Local hash of authentication password, used for off-line authentication 1498 // Local hash of authentication password, used for off-line authentication
1499 // when on-line authentication is not available. 1499 // when on-line authentication is not available.
1500 const char kGoogleServicesPasswordHash[] = "google.services.password_hash"; 1500 const char kGoogleServicesPasswordHash[] = "google.services.password_hash";
1501 1501
1502 #if !defined(OS_ANDROID) && !defined(OS_IOS) 1502 #if !defined(ANDROID_JAVA_UI) && !defined(OS_IOS)
1503 // Tracks the number of times that we have shown the sign in promo at startup. 1503 // Tracks the number of times that we have shown the sign in promo at startup.
1504 const char kSignInPromoStartupCount[] = "sync_promo.startup_count"; 1504 const char kSignInPromoStartupCount[] = "sync_promo.startup_count";
1505 1505
1506 // Boolean tracking whether the user chose to skip the sign in promo. 1506 // Boolean tracking whether the user chose to skip the sign in promo.
1507 const char kSignInPromoUserSkipped[] = "sync_promo.user_skipped"; 1507 const char kSignInPromoUserSkipped[] = "sync_promo.user_skipped";
1508 1508
1509 // Boolean that specifies if the sign in promo is allowed to show on first run. 1509 // Boolean that specifies if the sign in promo is allowed to show on first run.
1510 // This preference is specified in the master preference file to suppress the 1510 // This preference is specified in the master preference file to suppress the
1511 // sign in promo for some installations. 1511 // sign in promo for some installations.
1512 const char kSignInPromoShowOnFirstRunAllowed[] = 1512 const char kSignInPromoShowOnFirstRunAllowed[] =
1513 "sync_promo.show_on_first_run_allowed"; 1513 "sync_promo.show_on_first_run_allowed";
1514 1514
1515 // Boolean that specifies if we should show a bubble in the new tab page. 1515 // Boolean that specifies if we should show a bubble in the new tab page.
1516 // The bubble is used to confirm that the user is signed into sync. 1516 // The bubble is used to confirm that the user is signed into sync.
1517 const char kSignInPromoShowNTPBubble[] = "sync_promo.show_ntp_bubble"; 1517 const char kSignInPromoShowNTPBubble[] = "sync_promo.show_ntp_bubble";
1518 #endif 1518 #endif
1519 1519
1520 #if !defined(OS_CHROMEOS) && !defined(OS_ANDROID) && !defined(OS_IOS) 1520 #if !defined(OS_CHROMEOS) && !defined(ANDROID_JAVA_UI) && !defined(OS_IOS)
1521 // Boolean tracking whether the user chose to opt out of the x-device promo. 1521 // Boolean tracking whether the user chose to opt out of the x-device promo.
1522 const char kCrossDevicePromoOptedOut[] = "x_device_promo.opted_out"; 1522 const char kCrossDevicePromoOptedOut[] = "x_device_promo.opted_out";
1523 1523
1524 // Boolean tracking whether the x-device promo should be shown. 1524 // Boolean tracking whether the x-device promo should be shown.
1525 const char kCrossDevicePromoShouldBeShown[] = "x_device_promo.should_be_shown"; 1525 const char kCrossDevicePromoShouldBeShown[] = "x_device_promo.should_be_shown";
1526 1526
1527 // Int64, representing the time when we first observed a single GAIA account in 1527 // Int64, representing the time when we first observed a single GAIA account in
1528 // the cookie. If the most recent observation does not contain exactly one 1528 // the cookie. If the most recent observation does not contain exactly one
1529 // account, this pref does not exist. 1529 // account, this pref does not exist.
1530 const char kCrossDevicePromoObservedSingleAccountCookie[] = 1530 const char kCrossDevicePromoObservedSingleAccountCookie[] =
(...skipping 14 matching lines...) Expand all
1545 // Create web application shortcut dialog preferences. 1545 // Create web application shortcut dialog preferences.
1546 const char kWebAppCreateOnDesktop[] = "browser.web_app.create_on_desktop"; 1546 const char kWebAppCreateOnDesktop[] = "browser.web_app.create_on_desktop";
1547 const char kWebAppCreateInAppsMenu[] = "browser.web_app.create_in_apps_menu"; 1547 const char kWebAppCreateInAppsMenu[] = "browser.web_app.create_in_apps_menu";
1548 const char kWebAppCreateInQuickLaunchBar[] = 1548 const char kWebAppCreateInQuickLaunchBar[] =
1549 "browser.web_app.create_in_quick_launch_bar"; 1549 "browser.web_app.create_in_quick_launch_bar";
1550 1550
1551 // Dictionary that maps Geolocation network provider server URLs to 1551 // Dictionary that maps Geolocation network provider server URLs to
1552 // corresponding access token. 1552 // corresponding access token.
1553 const char kGeolocationAccessToken[] = "geolocation.access_token"; 1553 const char kGeolocationAccessToken[] = "geolocation.access_token";
1554 1554
1555 #if defined(OS_ANDROID) 1555 #if defined(ANDROID_JAVA_UI)
1556 // Boolean that controls the enabled-state of Geolocation in content. 1556 // Boolean that controls the enabled-state of Geolocation in content.
1557 const char kGeolocationEnabled[] = "geolocation.enabled"; 1557 const char kGeolocationEnabled[] = "geolocation.enabled";
1558 #endif 1558 #endif
1559 1559
1560 #if defined(ENABLE_GOOGLE_NOW) 1560 #if defined(ENABLE_GOOGLE_NOW)
1561 // Boolean that is true when Google services can use the user's location. 1561 // Boolean that is true when Google services can use the user's location.
1562 const char kGoogleGeolocationAccessEnabled[] = 1562 const char kGoogleGeolocationAccessEnabled[] =
1563 "googlegeolocationaccess.enabled"; 1563 "googlegeolocationaccess.enabled";
1564 #endif 1564 #endif
1565 1565
(...skipping 605 matching lines...) Expand 10 before | Expand all | Expand 10 after
2171 // Policy that indicates how to handle animated images. 2171 // Policy that indicates how to handle animated images.
2172 const char kAnimationPolicy[] = "settings.a11y.animation_policy"; 2172 const char kAnimationPolicy[] = "settings.a11y.animation_policy";
2173 #endif 2173 #endif
2174 2174
2175 const char kBackgroundTracingLastUpload[] = "background_tracing.last_upload"; 2175 const char kBackgroundTracingLastUpload[] = "background_tracing.last_upload";
2176 2176
2177 const char kAllowDinosaurEasterEgg[] = 2177 const char kAllowDinosaurEasterEgg[] =
2178 "allow_dinosaur_easter_egg"; 2178 "allow_dinosaur_easter_egg";
2179 2179
2180 } // namespace prefs 2180 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698