/external/chromium/chrome/browser/tab_contents/ |
D | tab_specific_content_settings_unittest.cc | 42 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/ |
D | geolocation_content_settings_map_unittest.cc | 31 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 …]
|
D | geolocation_content_settings_map.cc | 113 AllOriginsSettings content_settings; in GetAllOriginsSettings() local 132 &content_settings[origin_as_url]); in GetAllOriginsSettings() 135 return content_settings; in GetAllOriginsSettings()
|
/external/chromium/chrome/browser/ |
D | content_setting_bubble_model_unittest.cc | 47 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 …]
|
D | content_setting_image_model_unittest.cc | 30 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()
|
D | content_setting_image_model.cc | 118 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()
|
D | content_setting_bubble_model.cc | 432 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/ |
D | content_settings_base_provider.cc | 30 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 …]
|
D | host_content_settings_map.cc | 42 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 …]
|
D | host_content_settings_map.h | 28 namespace content_settings { 204 std::vector<linked_ptr<content_settings::DefaultProviderInterface> > 208 std::vector<linked_ptr<content_settings::ProviderInterface> >
|
D | stub_settings_observer.cc | 23 Source<HostContentSettingsMap> content_settings(source); in Observe() local 25 last_notifier = content_settings.ptr(); in Observe()
|
D | content_settings_base_provider.h | 16 namespace content_settings { 28 ContentSettings content_settings; member
|
D | content_settings_policy_provider.h | 27 namespace content_settings { 125 content_settings::ProviderInterface::ResourceIdentifier,
|
D | content_settings_pref_provider.cc | 88 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()
|
D | content_settings_provider.h | 21 namespace content_settings {
|
D | content_settings_provider_unittest.cc | 10 namespace content_settings { namespace
|
/external/chromium/chrome/browser/notifications/ |
D | desktop_notification_service.cc | 50 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/ |
D | content_setting_image_view.cc | 80 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/ |
D | collected_cookies_ui_delegate.cc | 145 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/ |
D | collected_cookies_win.cc | 175 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/ |
D | collected_cookies_mac.mm | 5 #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());
|
D | cookie_details_view_controller_unittest.mm | 7 #include "chrome/browser/ui/cocoa/content_settings/cookie_details.h" 8 #include "chrome/browser/ui/cocoa/content_settings/cookie_details_view_controller.h"
|
D | cookie_details_view_controller.mm | 5 #import "chrome/browser/ui/cocoa/content_settings/cookie_details_view_controller.h" 9 #import "chrome/browser/ui/cocoa/content_settings/cookie_tree_node.h"
|
D | collected_cookies_mac_unittest.mm | 9 #import "chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.h"
|
/external/chromium/chrome/browser/ui/gtk/ |
D | collected_cookies_gtk.cc | 80 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()
|