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

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

Issue 115149: Implement the popup blocking whitelist pref. This makes the whitelist actual... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 | Annotate | Revision Log
« base/values.h ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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 namespace prefs { 7 namespace prefs {
8 8
9 // *************** PROFILE PREFS *************** 9 // *************** PROFILE PREFS ***************
10 // These are attached to the user profile 10 // These are attached to the user profile
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 71
72 // The value to use for Accept-Languages HTTP header when making an HTTP 72 // The value to use for Accept-Languages HTTP header when making an HTTP
73 // request. 73 // request.
74 const wchar_t kAcceptLanguages[] = L"intl.accept_languages"; 74 const wchar_t kAcceptLanguages[] = L"intl.accept_languages";
75 75
76 // The value to use for showing locale-dependent encoding list for different 76 // The value to use for showing locale-dependent encoding list for different
77 // locale, it's initialized from the corresponding string resource that is 77 // locale, it's initialized from the corresponding string resource that is
78 // stored in non-translatable part of the resource bundle. 78 // stored in non-translatable part of the resource bundle.
79 const wchar_t kStaticEncodings[] = L"intl.static_encodings"; 79 const wchar_t kStaticEncodings[] = L"intl.static_encodings";
80 80
81 // The list of hostnames for which we whitelist popups (rather than blocking).
82 const wchar_t kPopupWhitelistedHosts[] = L"profile.popup_whitelisted_sites";
83
81 // WebKit preferences. 84 // WebKit preferences.
82 // A boolean flag to indicate whether WebKit standard font family is 85 // A boolean flag to indicate whether WebKit standard font family is
83 // serif or sans-serif. We don't have a UI for setting standard family. 86 // serif or sans-serif. We don't have a UI for setting standard family.
84 // Instead, we use this pref to map either serif or sans_serif to WebKit 87 // Instead, we use this pref to map either serif or sans_serif to WebKit
85 // standard font family. At the moment, we don't have a UI for this 88 // standard font family. At the moment, we don't have a UI for this
86 // flag, either. 89 // flag, either.
87 const wchar_t kWebKitStandardFontIsSerif[] = 90 const wchar_t kWebKitStandardFontIsSerif[] =
88 L"webkit.webprefs.standard_font_is_serif"; 91 L"webkit.webprefs.standard_font_is_serif";
89 const wchar_t kWebKitFixedFontFamily[] = L"webkit.webprefs.fixed_font_family"; 92 const wchar_t kWebKitFixedFontFamily[] = L"webkit.webprefs.fixed_font_family";
90 const wchar_t kWebKitSerifFontFamily[] = L"webkit.webprefs.serif_font_family"; 93 const wchar_t kWebKitSerifFontFamily[] = L"webkit.webprefs.serif_font_family";
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 const wchar_t kNumKeywords[] = L"user_experience_metrics.num_keywords"; 497 const wchar_t kNumKeywords[] = L"user_experience_metrics.num_keywords";
495 498
496 // Whether Extensions or User Scripts are enabled. 499 // Whether Extensions or User Scripts are enabled.
497 const wchar_t kEnableExtensions[] = L"extensions.enabled"; 500 const wchar_t kEnableExtensions[] = L"extensions.enabled";
498 const wchar_t kEnableUserScripts[] = L"extensions.user_scripts_enabled"; 501 const wchar_t kEnableUserScripts[] = L"extensions.user_scripts_enabled";
499 502
500 // New Tab Page URLs that should not be shown as most visited thumbnails. 503 // New Tab Page URLs that should not be shown as most visited thumbnails.
501 const wchar_t kNTPMostVisitedURLsBlacklist[] = L"ntp.most_visited_blacklist"; 504 const wchar_t kNTPMostVisitedURLsBlacklist[] = L"ntp.most_visited_blacklist";
502 505
503 } // namespace prefs 506 } // namespace prefs
OLDNEW
« base/values.h ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698