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

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

Issue 7740044: Implement fullscreen info bubble on Win and Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: respond to comments 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_policy_provider.h" 5 #include "chrome/browser/content_settings/content_settings_policy_provider.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/json/json_reader.h" 10 #include "base/json/json_reader.h"
(...skipping 14 matching lines...) Expand all
25 const char* kPrefToManageType[CONTENT_SETTINGS_NUM_TYPES] = { 25 const char* kPrefToManageType[CONTENT_SETTINGS_NUM_TYPES] = {
26 prefs::kManagedDefaultCookiesSetting, 26 prefs::kManagedDefaultCookiesSetting,
27 prefs::kManagedDefaultImagesSetting, 27 prefs::kManagedDefaultImagesSetting,
28 prefs::kManagedDefaultJavaScriptSetting, 28 prefs::kManagedDefaultJavaScriptSetting,
29 prefs::kManagedDefaultPluginsSetting, 29 prefs::kManagedDefaultPluginsSetting,
30 prefs::kManagedDefaultPopupsSetting, 30 prefs::kManagedDefaultPopupsSetting,
31 prefs::kManagedDefaultGeolocationSetting, 31 prefs::kManagedDefaultGeolocationSetting,
32 prefs::kManagedDefaultNotificationsSetting, 32 prefs::kManagedDefaultNotificationsSetting,
33 NULL, // No policy for default value of content type intents 33 NULL, // No policy for default value of content type intents
34 NULL, // No policy for default value of content type auto-select-certificate 34 NULL, // No policy for default value of content type auto-select-certificate
35 NULL, // No policy for default value of fullscreen requests
35 }; 36 };
36 37
37 struct PrefsForManagedContentSettingsMapEntry { 38 struct PrefsForManagedContentSettingsMapEntry {
38 const char* pref_name; 39 const char* pref_name;
39 ContentSettingsType content_type; 40 ContentSettingsType content_type;
40 ContentSetting setting; 41 ContentSetting setting;
41 }; 42 };
42 43
43 const PrefsForManagedContentSettingsMapEntry 44 const PrefsForManagedContentSettingsMapEntry
44 kPrefsForManagedContentSettingsMap[] = { 45 kPrefsForManagedContentSettingsMap[] = {
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 NOTREACHED() << "Unexpected notification"; 482 NOTREACHED() << "Unexpected notification";
482 return; 483 return;
483 } 484 }
484 NotifyObservers(ContentSettingsPattern(), 485 NotifyObservers(ContentSettingsPattern(),
485 ContentSettingsPattern(), 486 ContentSettingsPattern(),
486 CONTENT_SETTINGS_TYPE_DEFAULT, 487 CONTENT_SETTINGS_TYPE_DEFAULT,
487 std::string()); 488 std::string());
488 } 489 }
489 490
490 } // namespace content_settings 491 } // namespace content_settings
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698