Home
last modified time | relevance | path

Searched refs:ContentSetting (Results 1 – 25 of 52) sorted by relevance

123

/external/chromium/chrome/browser/content_settings/
Dcontent_settings_mock_provider.h21 ContentSetting setting,
27 virtual ContentSetting ProvideDefaultSetting(
30 ContentSetting setting);
36 ContentSetting setting_;
51 ContentSetting setting,
59 virtual ContentSetting GetContentSetting(
72 ContentSetting content_setting);
117 void set_setting(ContentSetting setting) { in set_setting()
121 ContentSetting setting() const { in setting()
146 ContentSetting setting_;
Dcontent_settings_provider.h30 virtual ContentSetting ProvideDefaultSetting(
37 ContentSetting setting) = 0;
56 ContentSetting setting) in Rule()
63 ContentSetting content_setting;
81 virtual ContentSetting GetContentSetting(
98 ContentSetting content_setting) = 0;
Dhost_content_settings_map.h44 typedef std::pair<ContentSettingsPattern, ContentSetting> PatternSettingPair;
54 ContentSetting GetDefaultContentSetting(
63 ContentSetting GetContentSetting(
75 ContentSetting GetNonDefaultContentSetting(
111 ContentSetting setting);
123 ContentSetting setting);
134 ContentSetting setting);
Dcontent_settings_base_provider.h20 typedef std::map<ContentSettingsTypeResourceIdentifierPair, ContentSetting>
41 static ContentSetting ClickToPlayFixup(ContentSettingsType content_type,
42 ContentSetting setting);
55 virtual ContentSetting GetContentSetting(
66 ContentSetting content_setting) = 0;
92 ContentSetting content_setting);
Dcontent_settings_mock_provider.cc11 ContentSetting setting, in MockDefaultProvider()
23 ContentSetting MockDefaultProvider::ProvideDefaultSetting( in ProvideDefaultSetting()
30 ContentSetting setting) { in UpdateDefaultSetting()
56 ContentSetting setting, in MockProvider()
69 ContentSetting MockProvider::GetContentSetting( in GetContentSetting()
87 ContentSetting content_setting) { in SetContentSetting()
Dcontent_settings_policy_provider.h36 virtual ContentSetting ProvideDefaultSetting(
39 ContentSetting setting);
103 ContentSetting content_setting);
105 virtual ContentSetting GetContentSetting(
126 ContentSetting> ContentSettingsRule;
Dhost_content_settings_map.cc131 ContentSetting HostContentSettingsMap::GetDefaultContentSetting( in GetDefaultContentSetting()
133 ContentSetting setting = CONTENT_SETTING_DEFAULT; in GetDefaultContentSetting()
137 ContentSetting provided_setting = in GetDefaultContentSetting()
149 ContentSetting HostContentSettingsMap::GetContentSetting( in GetContentSetting()
153 ContentSetting setting = GetNonDefaultContentSetting(url, in GetContentSetting()
161 ContentSetting HostContentSettingsMap::GetNonDefaultContentSetting( in GetNonDefaultContentSetting()
170 ContentSetting provided_setting(CONTENT_SETTING_DEFAULT); in GetNonDefaultContentSetting()
251 ContentSetting setting) { in SetDefaultContentSetting()
263 ContentSetting setting) { in SetContentSetting()
276 ContentSetting setting) { in AddExceptionForURL()
Dcontent_settings_notification_provider.h41 virtual ContentSetting GetContentSetting(
52 ContentSetting content_setting);
89 ContentSetting GetContentSetting(const GURL& origin) const;
Dcontent_settings_pref_provider.h39 virtual ContentSetting ProvideDefaultSetting(
42 ContentSetting setting);
119 ContentSetting content_setting);
Dcontent_settings_base_provider.cc67 ContentSetting BaseProvider::GetContentSetting( in GetContentSetting()
156 ContentSetting setting; in GetAllContentSettingsRules()
235 ContentSetting content_setting) { in UpdateContentSettingsMap()
244 ContentSetting BaseProvider::ClickToPlayFixup(ContentSettingsType content_type, in ClickToPlayFixup()
245 ContentSetting setting) { in ClickToPlayFixup()
Dcontent_settings_notification_provider.cc25 const ContentSetting kDefaultSetting = CONTENT_SETTING_ASK;
97 ContentSetting NotificationProvider::GetContentSetting( in GetContentSetting()
113 ContentSetting content_setting) { in SetContentSetting()
123 ContentSetting current_setting = GetContentSetting(origin); in SetContentSetting()
326 ContentSetting NotificationProvider::GetContentSetting( in GetContentSetting()
/external/chromium/chrome/browser/geolocation/
Dgeolocation_content_settings_map.h35 typedef std::map<GURL, ContentSetting> OneOriginSettings;
47 ContentSetting GetDefaultContentSetting() const;
59 ContentSetting GetContentSetting(const GURL& requesting_url,
70 void SetDefaultContentSetting(ContentSetting setting);
86 ContentSetting setting);
102 static const ContentSetting kDefaultSetting;
Dgeolocation_content_settings_map.cc37 const ContentSetting
57 ContentSetting GeolocationContentSettingsMap::GetDefaultContentSetting() const { in GetDefaultContentSetting()
63 const ContentSetting default_content_setting = IntToContentSetting( in GetDefaultContentSetting()
78 ContentSetting GeolocationContentSettingsMap::GetContentSetting( in GetContentSetting()
139 ContentSetting setting) { in SetDefaultContentSetting()
151 ContentSetting setting) { in SetContentSetting()
Dgeolocation_settings_state.h24 typedef std::map<GURL, ContentSetting> StateMap;
51 typedef std::map<ContentSetting, std::set<std::string> >
/external/chromium/chrome/browser/
Dcontent_setting_combo_model.cc16 const ContentSetting kNoSessionSettings[] = { CONTENT_SETTING_ALLOW,
20 const ContentSetting kSessionSettings[] = { CONTENT_SETTING_ALLOW,
25 const ContentSetting kAskSettings[] = { CONTENT_SETTING_ALLOW,
63 ContentSetting ContentSettingComboModel::SettingForIndex(int index) { in SettingForIndex()
72 int ContentSettingComboModel::IndexForSetting(ContentSetting setting) { in IndexForSetting()
Dcontent_setting_combo_model.h22 ContentSetting SettingForIndex(int index);
24 int IndexForSetting(ContentSetting);
/external/chromium/chrome/common/
Dcontent_settings.h13 enum ContentSetting { enum
24 ContentSetting IntToContentSetting(int content_setting);
33 explicit ContentSettings(ContentSetting default_setting) { in ContentSettings()
38 ContentSetting settings[CONTENT_SETTINGS_NUM_TYPES];
Dcommon_param_traits.cc12 void ParamTraits<ContentSetting>::Write(Message* m, const param_type& p) { in Write()
16 bool ParamTraits<ContentSetting>::Read(const Message* m, void** iter, in Read()
25 void ParamTraits<ContentSetting>::Log(const param_type& p, std::string* l) { in Log()
Dcontent_settings.cc7 ContentSetting IntToContentSetting(int content_setting) { in IntToContentSetting()
10 CONTENT_SETTING_DEFAULT : static_cast<ContentSetting>(content_setting); in IntToContentSetting()
Dcommon_param_traits.h19 struct ParamTraits<ContentSetting> {
20 typedef ContentSetting param_type;
/external/chromium/chrome/browser/notifications/
Dnotifications_prefs_cache.h45 void SetCacheDefaultContentSetting(ContentSetting setting);
51 ContentSetting CachedDefaultContentSetting() { in CachedDefaultContentSetting()
73 ContentSetting default_content_setting_;
Ddesktop_notification_service.cc46 const ContentSetting kDefaultSetting = CONTENT_SETTING_ASK;
54 ContentSetting setting, in GetOriginsWithSettingFromContentSettingsRules()
283 ContentSetting default_content_setting = CONTENT_SETTING_DEFAULT; in InitPrefs()
370 const ContentSetting default_content_setting = in Observe()
416 ContentSetting DesktopNotificationService::GetDefaultContentSetting() { in GetDefaultContentSetting()
422 ContentSetting setting) { in SetDefaultContentSetting()
491 ContentSetting DesktopNotificationService::GetContentSetting( in GetContentSetting()
493 ContentSetting provided_setting = provider_->GetContentSetting( in GetContentSetting()
520 ContentSetting setting = GetContentSetting(origin); in RequestPermission()
Ddesktop_notification_service.h101 ContentSetting GetDefaultContentSetting();
102 void SetDefaultContentSetting(ContentSetting setting);
125 ContentSetting GetContentSetting(const GURL& origin);
Dnotification_exceptions_table_model.cc19 Entry(const GURL& origin, ContentSetting setting);
23 ContentSetting setting;
127 ContentSetting in_setting) in Entry()
/external/chromium/chrome/browser/ui/webui/options/
Dcontent_settings_handler.cc65 std::string ContentSettingToString(ContentSetting setting) { in ContentSettingToString()
84 ContentSetting ContentSettingFromString(const std::string& name) { in ContentSettingFromString()
125 ContentSetting setting) { in GetExceptionForPage()
141 ContentSetting setting) { in GetGeolocationExceptionForPage()
163 ContentSetting setting) { in GetNotificationExceptionForPage()
359 ContentSetting default_setting; in GetSettingDefaultFromModel()
451 ContentSetting parent_setting = in UpdateGeolocationExceptionsView()
573 ContentSetting default_setting = ContentSettingFromString(setting); in SetContentFilter()
619 ContentSetting content_setting = ContentSettingFromString(setting); in RemoveException()

123