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

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

Issue 541103002: Introduce ChromeZoomLevelPref, make zoom level prefs independent of profile prefs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments (use WeakPtr in callback). Created 6 years, 3 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/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 1001 matching lines...) Expand 10 before | Expand all | Expand 10 after
1012 1012
1013 // Boolean that is true if we should unconditionally block third-party cookies, 1013 // Boolean that is true if we should unconditionally block third-party cookies,
1014 // regardless of other content settings. 1014 // regardless of other content settings.
1015 const char kBlockThirdPartyCookies[] = "profile.block_third_party_cookies"; 1015 const char kBlockThirdPartyCookies[] = "profile.block_third_party_cookies";
1016 1016
1017 // Boolean that is true when all locally stored site data (e.g. cookies, local 1017 // Boolean that is true when all locally stored site data (e.g. cookies, local
1018 // storage, etc..) should be deleted on exit. 1018 // storage, etc..) should be deleted on exit.
1019 const char kClearSiteDataOnExit[] = "profile.clear_site_data_on_exit"; 1019 const char kClearSiteDataOnExit[] = "profile.clear_site_data_on_exit";
1020 1020
1021 // Double that indicates the default zoom level. 1021 // Double that indicates the default zoom level.
1022 const char kDefaultZoomLevel[] = "profile.default_zoom_level"; 1022 const char kDefaultZoomLevel[] = "partition.default_zoom_level";
1023 // TODO(wjmaclean): Remove this.
1024 const char kProfileDefaultZoomLevel[] = "profile.default_zoom_level";
1023 1025
1024 // Dictionary that maps hostnames to zoom levels. Hosts not in this pref will 1026 // Dictionary that maps hostnames to zoom levels. Hosts not in this pref will
1025 // be displayed at the default zoom level. 1027 // be displayed at the default zoom level.
1026 const char kPerHostZoomLevels[] = "profile.per_host_zoom_levels"; 1028 const char kPerHostZoomLevels[] = "partition.per_host_zoom_levels";
1029 // TODO(wjmaclean): Remove this.
1030 const char kProfilePerHostZoomLevels[] = "profile.per_host_zoom_levels";
1027 1031
1028 // A dictionary that tracks the default data model to use for each section of 1032 // A dictionary that tracks the default data model to use for each section of
1029 // the dialog. 1033 // the dialog.
1030 const char kAutofillDialogAutofillDefault[] = "autofill.data_model_default"; 1034 const char kAutofillDialogAutofillDefault[] = "autofill.data_model_default";
1031 1035
1032 // Whether a user opted out of making purchases with Google Wallet; changed via 1036 // Whether a user opted out of making purchases with Google Wallet; changed via
1033 // the autofill dialog's account chooser and set explicitly on dialog submission 1037 // the autofill dialog's account chooser and set explicitly on dialog submission
1034 // (but not cancel). If this isn't set, the dialog assumes it's the first run. 1038 // (but not cancel). If this isn't set, the dialog assumes it's the first run.
1035 const char kAutofillDialogPayWithoutWallet[] = "autofill.pay_without_wallet"; 1039 const char kAutofillDialogPayWithoutWallet[] = "autofill.pay_without_wallet";
1036 1040
(...skipping 1280 matching lines...) Expand 10 before | Expand all | Expand 10 after
2317 // Whether DNS Quick Check is disabled in proxy resolution. 2321 // Whether DNS Quick Check is disabled in proxy resolution.
2318 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; 2322 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled";
2319 2323
2320 // Whether Guest Mode is enabled within the browser. 2324 // Whether Guest Mode is enabled within the browser.
2321 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled"; 2325 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled";
2322 2326
2323 // Whether Adding a new Person is enabled within the user manager. 2327 // Whether Adding a new Person is enabled within the user manager.
2324 const char kBrowserAddPersonEnabled[] = "profile.add_person_enabled"; 2328 const char kBrowserAddPersonEnabled[] = "profile.add_person_enabled";
2325 2329
2326 } // namespace prefs 2330 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698