Home
last modified time | relevance | path

Searched refs:content_settings (Results 1 – 25 of 49) sorted by relevance

12

/external/chromium/chrome/browser/tab_contents/
Dtab_specific_content_settings_unittest.cc42 TabSpecificContentSettings content_settings(&test_delegate, &profile); in TEST() local
46 EXPECT_FALSE(content_settings.IsContentBlocked(CONTENT_SETTINGS_TYPE_IMAGES)); in TEST()
48 content_settings.IsContentBlocked(CONTENT_SETTINGS_TYPE_JAVASCRIPT)); in TEST()
50 content_settings.IsContentBlocked(CONTENT_SETTINGS_TYPE_PLUGINS)); in TEST()
52 content_settings.IsContentBlocked(CONTENT_SETTINGS_TYPE_COOKIES)); in TEST()
53 EXPECT_FALSE(content_settings.IsContentBlocked(CONTENT_SETTINGS_TYPE_POPUPS)); in TEST()
56 content_settings.OnCookieChanged( in TEST()
61 content_settings.OnContentBlocked(CONTENT_SETTINGS_TYPE_IMAGES, in TEST()
66 content_settings.SetPopupsBlocked(true); in TEST()
72 EXPECT_TRUE(content_settings.IsContentBlocked(CONTENT_SETTINGS_TYPE_IMAGES)); in TEST()
[all …]
/external/chromium/chrome/browser/geolocation/
Dgeolocation_content_settings_map_unittest.cc31 Source<GeolocationContentSettingsMap> content_settings(source); in Observe() local
33 last_notifier = content_settings.ptr(); in Observe()
133 GeolocationContentSettingsMap::AllOriginsSettings content_settings( in TEST_F() local
135 EXPECT_EQ(0U, content_settings.count(requester_0)); in TEST_F()
136 EXPECT_EQ(1U, content_settings.count(requester_0.GetOrigin())); in TEST_F()
138 content_settings[requester_0.GetOrigin()]); in TEST_F()
141 EXPECT_EQ(0U, content_settings.count(requester_1)); in TEST_F()
142 EXPECT_EQ(1U, content_settings.count(requester_1.GetOrigin())); in TEST_F()
143 one_origin_settings = content_settings[requester_1.GetOrigin()]; in TEST_F()
176 GeolocationContentSettingsMap::AllOriginsSettings content_settings( in TEST_F() local
[all …]
Dgeolocation_content_settings_map.cc113 AllOriginsSettings content_settings; in GetAllOriginsSettings() local
132 &content_settings[origin_as_url]); in GetAllOriginsSettings()
135 return content_settings; in GetAllOriginsSettings()
/external/chromium/chrome/browser/
Dcontent_setting_bubble_model_unittest.cc47 TabSpecificContentSettings* content_settings = in TEST_F() local
49 content_settings->OnContentBlocked(CONTENT_SETTINGS_TYPE_IMAGES, in TEST_F()
65 TabSpecificContentSettings* content_settings = in TEST_F() local
67 content_settings->OnContentBlocked(CONTENT_SETTINGS_TYPE_COOKIES, in TEST_F()
83 TabSpecificContentSettings* content_settings = in TEST_F() local
85 content_settings->OnContentBlocked(CONTENT_SETTINGS_TYPE_PLUGINS, in TEST_F()
119 TabSpecificContentSettings* content_settings = in TEST_F() local
121 content_settings->OnContentBlocked(CONTENT_SETTINGS_TYPE_PLUGINS, in TEST_F()
123 content_settings->OnContentBlocked(CONTENT_SETTINGS_TYPE_PLUGINS, in TEST_F()
163 TabSpecificContentSettings* content_settings = in TEST_F() local
[all …]
Dcontent_setting_image_model_unittest.cc30 TabSpecificContentSettings* content_settings = in TEST_F() local
39 content_settings->OnContentBlocked(CONTENT_SETTINGS_TYPE_IMAGES, in TEST_F()
50 TabSpecificContentSettings* content_settings = in TEST_F() local
62 content_settings->OnCookieChanged( in TEST_F()
Dcontent_setting_image_model.cc118 TabSpecificContentSettings* content_settings = in UpdateFromTabContents() local
120 if (!content_settings->IsContentBlocked(get_content_settings_type())) { in UpdateFromTabContents()
121 if (!content_settings->IsContentAccessed(get_content_settings_type()) || in UpdateFromTabContents()
Dcontent_setting_bubble_model.cc432 TabSpecificContentSettings* content_settings = in SetDomainsAndCustomLink() local
435 content_settings->geolocation_settings_state(); in SetDomainsAndCustomLink()
463 TabSpecificContentSettings* content_settings = in OnCustomLinkClicked() local
466 content_settings->geolocation_settings_state().state_map(); in OnCustomLinkClicked()
/external/chromium/chrome/browser/content_settings/
Dcontent_settings_base_provider.cc30 namespace content_settings { namespace
36 : content_settings(rhs.content_settings), in ExtendedContentSettings()
60 for (size_t i = 0; i < arraysize(settings.content_settings.settings); ++i) { in AllDefault()
61 if (settings.content_settings.settings[i] != CONTENT_SETTING_DEFAULT) in AllDefault()
166 setting = i->second.content_settings.settings[content_type]; in GetAllContentSettingsRules()
190 output = i->second.content_settings; in GetNonDefaultContentSettings()
198 if (i->second.content_settings.settings[j] != CONTENT_SETTING_DEFAULT) in GetNonDefaultContentSettings()
199 output.settings[j] = i->second.content_settings.settings[j]; in GetNonDefaultContentSettings()
209 output.settings[j] = i->second.content_settings.settings[j]; in GetNonDefaultContentSettings()
216 output.settings[j] = i->second.content_settings.settings[j]; in GetNonDefaultContentSettings()
[all …]
Dhost_content_settings_map.cc42 typedef linked_ptr<content_settings::DefaultProviderInterface>
49 typedef linked_ptr<content_settings::ProviderInterface> ProviderPtr;
53 typedef content_settings::ProviderInterface::Rules Rules;
54 typedef content_settings::ProviderInterface::Rules::iterator
56 typedef content_settings::ProviderInterface::Rules::const_iterator
72 new content_settings::PrefDefaultProvider(profile))); in HostContentSettingsMap()
75 new content_settings::PolicyDefaultProvider(profile))); in HostContentSettingsMap()
103 make_linked_ptr(new content_settings::PolicyProvider(profile))); in HostContentSettingsMap()
105 make_linked_ptr(new content_settings::PrefProvider(profile))); in HostContentSettingsMap()
125 content_settings::PrefDefaultProvider::RegisterUserPrefs(prefs); in RegisterUserPrefs()
[all …]
Dhost_content_settings_map.h28 namespace content_settings {
204 std::vector<linked_ptr<content_settings::DefaultProviderInterface> >
208 std::vector<linked_ptr<content_settings::ProviderInterface> >
Dstub_settings_observer.cc23 Source<HostContentSettingsMap> content_settings(source); in Observe() local
25 last_notifier = content_settings.ptr(); in Observe()
Dcontent_settings_base_provider.h16 namespace content_settings {
28 ContentSettings content_settings; member
Dcontent_settings_policy_provider.h27 namespace content_settings {
125 content_settings::ProviderInterface::ResourceIdentifier,
Dcontent_settings_pref_provider.cc88 namespace content_settings { namespace
424 (*map_to_modify)[pattern_str].content_settings = ContentSettings(); in SetContentSetting()
426 ContentSettings& settings = i->second.content_settings; in SetContentSetting()
536 i->second.content_settings.settings[content_type] != in ClearAllContentSettingsRules()
540 i->second.content_settings.settings[content_type] = in ClearAllContentSettingsRules()
649 &extended_settings.content_settings); in ReadExceptions()
Dcontent_settings_provider.h21 namespace content_settings {
Dcontent_settings_provider_unittest.cc10 namespace content_settings { namespace
/external/chromium/chrome/browser/notifications/
Ddesktop_notification_service.cc50 typedef content_settings::ProviderInterface::Rules Rules;
78 content_settings::NotificationProvider::ToGURL( in GetOriginsWithSettingFromContentSettingsRules()
273 content_settings::NotificationProvider::RegisterUserPrefs(user_prefs); in RegisterUserPrefs()
279 provider_.reset(new content_settings::NotificationProvider(profile_)); in InitPrefs()
325 content_settings::NotificationProvider::ToContentSettingsPattern(origin); in GrantPermission()
345 content_settings::NotificationProvider::ToContentSettingsPattern(origin); in DenyPermission()
438 content_settings::ProviderInterface::Rules content_setting_rules; in GetAllowedOrigins()
452 content_settings::ProviderInterface::Rules content_settings_rules; in GetBlockedOrigins()
/external/chromium/chrome/browser/ui/views/location_bar/
Dcontent_setting_image_view.cc80 TabSpecificContentSettings* content_settings = tab_contents ? in UpdateFromTabContents() local
82 if (!content_settings || content_settings->IsBlockageIndicated( in UpdateFromTabContents()
88 content_settings->SetBlockageHasBeenIndicated( in UpdateFromTabContents()
/external/chromium/chrome/browser/ui/webui/
Dcollected_cookies_ui_delegate.cc145 TabSpecificContentSettings* content_settings = in CollectedCookiesUIDelegate() local
151 Source<TabSpecificContentSettings>(content_settings)); in CollectedCookiesUIDelegate()
154 content_settings->GetAllowedCookiesTreeModel()); in CollectedCookiesUIDelegate()
156 content_settings->GetBlockedCookiesTreeModel()); in CollectedCookiesUIDelegate()
/external/chromium/chrome/browser/ui/views/
Dcollected_cookies_win.cc175 TabSpecificContentSettings* content_settings = in CollectedCookiesWin() local
178 Source<TabSpecificContentSettings>(content_settings)); in CollectedCookiesWin()
237 TabSpecificContentSettings* content_settings = in CreateAllowedPane() local
244 content_settings->GetAllowedCookiesTreeModel()); in CreateAllowedPane()
286 TabSpecificContentSettings* content_settings = in CreateBlockedPane() local
301 content_settings->GetBlockedCookiesTreeModel()); in CreateBlockedPane()
/external/chromium/chrome/browser/ui/cocoa/content_settings/
Dcollected_cookies_mac.mm5 #import "chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.h"
12 #import "chrome/browser/ui/cocoa/content_settings/cookie_details_view_controller.h"
81 TabSpecificContentSettings* content_settings =
84 Source<TabSpecificContentSettings>(content_settings));
355 TabSpecificContentSettings* content_settings =
357 allowedTreeModel_.reset(content_settings->GetAllowedCookiesTreeModel());
358 blockedTreeModel_.reset(content_settings->GetBlockedCookiesTreeModel());
Dcookie_details_view_controller_unittest.mm7 #include "chrome/browser/ui/cocoa/content_settings/cookie_details.h"
8 #include "chrome/browser/ui/cocoa/content_settings/cookie_details_view_controller.h"
Dcookie_details_view_controller.mm5 #import "chrome/browser/ui/cocoa/content_settings/cookie_details_view_controller.h"
9 #import "chrome/browser/ui/cocoa/content_settings/cookie_tree_node.h"
Dcollected_cookies_mac_unittest.mm9 #import "chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.h"
/external/chromium/chrome/browser/ui/gtk/
Dcollected_cookies_gtk.cc80 TabSpecificContentSettings* content_settings = in CollectedCookiesGtk() local
83 Source<TabSpecificContentSettings>(content_settings)); in CollectedCookiesGtk()
181 TabSpecificContentSettings* content_settings = in CreateAllowedPane() local
185 content_settings->GetAllowedCookiesTreeModel()); in CreateAllowedPane()
260 TabSpecificContentSettings* content_settings = in CreateBlockedPane() local
264 content_settings->GetBlockedCookiesTreeModel()); in CreateBlockedPane()

12