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

Side by Side Diff: chrome/browser/content_settings/content_settings_default_provider.cc

Issue 7740044: Implement fullscreen info bubble on Win and Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix license Created 9 years, 2 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/browser/content_settings/content_settings_default_provider.h" 5 #include "chrome/browser/content_settings/content_settings_default_provider.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/auto_reset.h" 10 #include "base/auto_reset.h"
(...skipping 19 matching lines...) Expand all
30 const ContentSetting kDefaultSettings[] = { 30 const ContentSetting kDefaultSettings[] = {
31 CONTENT_SETTING_ALLOW, // CONTENT_SETTINGS_TYPE_COOKIES 31 CONTENT_SETTING_ALLOW, // CONTENT_SETTINGS_TYPE_COOKIES
32 CONTENT_SETTING_ALLOW, // CONTENT_SETTINGS_TYPE_IMAGES 32 CONTENT_SETTING_ALLOW, // CONTENT_SETTINGS_TYPE_IMAGES
33 CONTENT_SETTING_ALLOW, // CONTENT_SETTINGS_TYPE_JAVASCRIPT 33 CONTENT_SETTING_ALLOW, // CONTENT_SETTINGS_TYPE_JAVASCRIPT
34 CONTENT_SETTING_ALLOW, // CONTENT_SETTINGS_TYPE_PLUGINS 34 CONTENT_SETTING_ALLOW, // CONTENT_SETTINGS_TYPE_PLUGINS
35 CONTENT_SETTING_BLOCK, // CONTENT_SETTINGS_TYPE_POPUPS 35 CONTENT_SETTING_BLOCK, // CONTENT_SETTINGS_TYPE_POPUPS
36 CONTENT_SETTING_ASK, // CONTENT_SETTINGS_TYPE_GEOLOCATION 36 CONTENT_SETTING_ASK, // CONTENT_SETTINGS_TYPE_GEOLOCATION
37 CONTENT_SETTING_ASK, // CONTENT_SETTINGS_TYPE_NOTIFICATIONS 37 CONTENT_SETTING_ASK, // CONTENT_SETTINGS_TYPE_NOTIFICATIONS
38 CONTENT_SETTING_ASK, // CONTENT_SETTINGS_TYPE_INTENTS 38 CONTENT_SETTING_ASK, // CONTENT_SETTINGS_TYPE_INTENTS
39 CONTENT_SETTING_ASK, // CONTENT_SETTINGS_TYPE_AUTO_SELECT_CERTIFICATE 39 CONTENT_SETTING_ASK, // CONTENT_SETTINGS_TYPE_AUTO_SELECT_CERTIFICATE
40 CONTENT_SETTING_ASK, // CONTENT_SETTINGS_TYPE_FULLSCREEN
40 }; 41 };
41 COMPILE_ASSERT(arraysize(kDefaultSettings) == CONTENT_SETTINGS_NUM_TYPES, 42 COMPILE_ASSERT(arraysize(kDefaultSettings) == CONTENT_SETTINGS_NUM_TYPES,
42 default_settings_incorrect_size); 43 default_settings_incorrect_size);
43 44
44 } // namespace 45 } // namespace
45 46
46 namespace content_settings { 47 namespace content_settings {
47 48
48 // static 49 // static
49 void DefaultProvider::RegisterUserPrefs(PrefService* prefs) { 50 void DefaultProvider::RegisterUserPrefs(PrefService* prefs) {
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 SetContentSetting( 310 SetContentSetting(
310 ContentSettingsPattern::Wildcard(), 311 ContentSettingsPattern::Wildcard(),
311 ContentSettingsPattern::Wildcard(), 312 ContentSettingsPattern::Wildcard(),
312 CONTENT_SETTINGS_TYPE_GEOLOCATION, 313 CONTENT_SETTINGS_TYPE_GEOLOCATION,
313 std::string(), 314 std::string(),
314 setting); 315 setting);
315 } 316 }
316 } 317 }
317 318
318 } // namespace content_settings 319 } // namespace content_settings
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/media/media_player.cc ('k') | chrome/browser/content_settings/content_settings_policy_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698