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

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 commens 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/command_line.h" 10 #include "base/command_line.h"
(...skipping 18 matching lines...) Expand all
29 const char* kPrefToManageType[CONTENT_SETTINGS_NUM_TYPES] = { 29 const char* kPrefToManageType[CONTENT_SETTINGS_NUM_TYPES] = {
30 prefs::kManagedDefaultCookiesSetting, 30 prefs::kManagedDefaultCookiesSetting,
31 prefs::kManagedDefaultImagesSetting, 31 prefs::kManagedDefaultImagesSetting,
32 prefs::kManagedDefaultJavaScriptSetting, 32 prefs::kManagedDefaultJavaScriptSetting,
33 prefs::kManagedDefaultPluginsSetting, 33 prefs::kManagedDefaultPluginsSetting,
34 prefs::kManagedDefaultPopupsSetting, 34 prefs::kManagedDefaultPopupsSetting,
35 prefs::kManagedDefaultGeolocationSetting, 35 prefs::kManagedDefaultGeolocationSetting,
36 prefs::kManagedDefaultNotificationsSetting, 36 prefs::kManagedDefaultNotificationsSetting,
37 NULL, // No policy for default value of content type intents 37 NULL, // No policy for default value of content type intents
38 NULL, // No policy for default value of content type auto-select-certificate 38 NULL, // No policy for default value of content type auto-select-certificate
39 NULL, // No policy for default value of fullscreen requests
39 }; 40 };
40 41
41 struct PrefsForManagedContentSettingsMapEntry { 42 struct PrefsForManagedContentSettingsMapEntry {
42 const char* pref_name; 43 const char* pref_name;
43 ContentSettingsType content_type; 44 ContentSettingsType content_type;
44 ContentSetting setting; 45 ContentSetting setting;
45 }; 46 };
46 47
47 const PrefsForManagedContentSettingsMapEntry 48 const PrefsForManagedContentSettingsMapEntry
48 kPrefsForManagedContentSettingsMap[] = { 49 kPrefsForManagedContentSettingsMap[] = {
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 NOTREACHED() << "Unexpected notification"; 485 NOTREACHED() << "Unexpected notification";
485 return; 486 return;
486 } 487 }
487 NotifyObservers(ContentSettingsPattern(), 488 NotifyObservers(ContentSettingsPattern(),
488 ContentSettingsPattern(), 489 ContentSettingsPattern(),
489 CONTENT_SETTINGS_TYPE_DEFAULT, 490 CONTENT_SETTINGS_TYPE_DEFAULT,
490 std::string()); 491 std::string());
491 } 492 }
492 493
493 } // namespace content_settings 494 } // namespace content_settings
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698