Lines Matching refs:web_contents

35 #include "content/public/browser/web_contents.h"
89 WebContents* web_contents,
92 : ContentSettingBubbleModel(web_contents, profile, content_type),
122 if (web_contents() &&
124 web_contents())->IsContentAllowed(content_type()) &&
126 web_contents())->IsContentBlocked(content_type())) {
180 WebContents* web_contents,
192 WebContents* web_contents,
196 delegate, web_contents, profile, content_type) {
216 WebContents* web_contents,
236 WebContents* web_contents,
239 : ContentSettingTitleLinkAndCustomModel(delegate, web_contents, profile,
263 GURL url = web_contents()->GetURL();
274 TabSpecificContentSettings::FromWebContents(web_contents());
410 WebContents* web_contents,
422 WebContents* web_contents,
426 delegate, web_contents, profile, content_type) {
434 if (settings_changed() && web_contents()) {
436 InfoBarService::FromWebContents(web_contents()));
441 if (!web_contents())
446 TabSpecificContentSettings::FromWebContents(web_contents())),
448 delegate()->ShowCollectedCookiesDialog(web_contents());
454 WebContents* web_contents,
466 WebContents* web_contents,
470 delegate, web_contents, profile, content_type) {
476 web_contents &&
478 web_contents)->load_plugins_link_enabled());
491 DCHECK(web_contents());
495 web_contents(), true, std::string());
498 TabSpecificContentSettings::FromWebContents(web_contents())->
505 WebContents* web_contents,
517 WebContents* web_contents,
521 delegate, web_contents, profile, content_type) {
528 PopupBlockerTabHelper::FromWebContents(web_contents())
547 if (web_contents()) {
548 PopupBlockerTabHelper::FromWebContents(web_contents())->
558 WebContents* web_contents,
592 WebContents* web_contents,
595 delegate, web_contents, profile, CONTENT_SETTINGS_TYPE_MEDIASTREAM),
605 TabSpecificContentSettings::FromWebContents(web_contents);
616 if (!web_contents())
637 InfoBarService::FromWebContents(web_contents()));
674 TabSpecificContentSettings::FromWebContents(web_contents());
763 TabSpecificContentSettings::FromWebContents(web_contents());
806 TabSpecificContentSettings::FromWebContents(web_contents());
902 WebContents* web_contents,
915 WebContents* web_contents,
919 delegate, web_contents, profile, content_type) {
937 TabSpecificContentSettings::FromWebContents(web_contents());
963 if (!web_contents())
967 const GURL& embedder_url = web_contents()->GetURL();
969 TabSpecificContentSettings::FromWebContents(web_contents());
990 WebContents* web_contents,
1002 WebContents* web_contents,
1006 delegate, web_contents, profile, content_type) {
1013 DCHECK(web_contents());
1014 web_contents()->SendToAllFrames(
1016 web_contents()->GetMainFrame()->Send(new ChromeViewMsg_ReloadFrame(
1017 web_contents()->GetMainFrame()->GetRoutingID()));
1022 WebContents* web_contents,
1027 delegate, web_contents, profile, content_type),
1035 TabSpecificContentSettings::FromWebContents(web_contents);
1071 GURL url = web_contents->GetURL();
1111 TabSpecificContentSettings::FromWebContents(web_contents())->
1115 content::Source<WebContents>(web_contents()),
1125 TabSpecificContentSettings::FromWebContents(web_contents())->
1131 TabSpecificContentSettings::FromWebContents(web_contents())->
1138 TabSpecificContentSettings::FromWebContents(web_contents())->
1155 WebContents* web_contents,
1168 WebContents* web_contents,
1172 delegate, web_contents, profile, content_type) {
1189 TabSpecificContentSettings::FromWebContents(web_contents());
1215 if (!web_contents())
1220 TabSpecificContentSettings::FromWebContents(web_contents());
1241 WebContents* web_contents,
1245 return new ContentSettingCookiesBubbleModel(delegate, web_contents, profile,
1249 return new ContentSettingPopupBubbleModel(delegate, web_contents, profile,
1253 return new ContentSettingDomainListBubbleModel(delegate, web_contents,
1257 return new ContentSettingMediaStreamBubbleModel(delegate, web_contents,
1261 return new ContentSettingPluginBubbleModel(delegate, web_contents, profile,
1265 return new ContentSettingMixedScriptBubbleModel(delegate, web_contents,
1271 return new ContentSettingRPHBubbleModel(delegate, web_contents, profile,
1275 return new ContentSettingMidiSysExBubbleModel(delegate, web_contents,
1278 return new ContentSettingSingleRadioGroup(delegate, web_contents, profile,
1283 WebContents* web_contents,
1286 : web_contents_(web_contents),
1291 content::Source<WebContents>(web_contents));