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

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

Issue 1748773002: Simplify the default browser infobar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: new approach without ditching the cancel button Created 4 years, 8 months 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/macros.h" 7 #include "base/macros.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "chrome/common/pref_font_webkit_names.h" 9 #include "chrome/common/pref_font_webkit_names.h"
10 10
(...skipping 951 matching lines...) Expand 10 before | Expand all | Expand 10 after
962 const char kPluginsAlwaysAuthorize[] = "plugins.always_authorize"; 962 const char kPluginsAlwaysAuthorize[] = "plugins.always_authorize";
963 963
964 #if defined(ENABLE_PLUGIN_INSTALLATION) 964 #if defined(ENABLE_PLUGIN_INSTALLATION)
965 // Dictionary holding plugins metadata. 965 // Dictionary holding plugins metadata.
966 const char kPluginsMetadata[] = "plugins.metadata"; 966 const char kPluginsMetadata[] = "plugins.metadata";
967 967
968 // Last update time of plugins resource cache. 968 // Last update time of plugins resource cache.
969 const char kPluginsResourceCacheUpdate[] = "plugins.resource_cache_update"; 969 const char kPluginsResourceCacheUpdate[] = "plugins.resource_cache_update";
970 #endif 970 #endif
971 971
972 // Boolean that indicates whether we should check if we are the default browser 972 // Int64 containing the internal value of the time at which the default browser
973 // on start-up. 973 // infobar was last dismissed by the user.
974 const char kCheckDefaultBrowser[] = "browser.check_default_browser"; 974 const char kDefaultBrowserLastDeclined[] =
975 // Boolean that indicates whether the kCheckDefaultBrowser preference should be 975 "browser.default_browser_infobar_last_declined";
976 // reset on start-up. 976 // Boolean that indicates whether the kDefaultBrowserLastDeclined preference
977 // should be reset on start-up.
977 const char kResetCheckDefaultBrowser[] = 978 const char kResetCheckDefaultBrowser[] =
978 "browser.should_reset_check_default_browser"; 979 "browser.should_reset_check_default_browser";
979 980
980 // Policy setting whether default browser check should be disabled and default 981 // Policy setting whether default browser check should be disabled and default
981 // browser registration should take place. 982 // browser registration should take place.
982 const char kDefaultBrowserSettingEnabled[] = 983 const char kDefaultBrowserSettingEnabled[] =
983 "browser.default_browser_setting_enabled"; 984 "browser.default_browser_setting_enabled";
984 985
985 #if defined(OS_MACOSX) 986 #if defined(OS_MACOSX)
986 // Boolean that indicates whether the application should show the info bar 987 // Boolean that indicates whether the application should show the info bar
(...skipping 1206 matching lines...) Expand 10 before | Expand all | Expand 10 after
2193 const char kMediaRouterEnableCloudServices[] = 2194 const char kMediaRouterEnableCloudServices[] =
2194 "media_router.cloudservices.enabled"; 2195 "media_router.cloudservices.enabled";
2195 #endif // defined(GOOGLE_CHROME_BUILD) 2196 #endif // defined(GOOGLE_CHROME_BUILD)
2196 // Whether or not the Media Router first run flow has been acknowledged by the 2197 // Whether or not the Media Router first run flow has been acknowledged by the
2197 // user. 2198 // user.
2198 const char kMediaRouterFirstRunFlowAcknowledged[] = 2199 const char kMediaRouterFirstRunFlowAcknowledged[] =
2199 "media_router.firstrunflow.acknowledged"; 2200 "media_router.firstrunflow.acknowledged";
2200 #endif 2201 #endif
2201 2202
2202 } // namespace prefs 2203 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698