Lines Matching refs:tab_contents

15 #include "chrome/browser/tab_contents/tab_specific_content_settings.h"
19 #include "content/browser/tab_contents/tab_contents.h"
20 #include "content/browser/tab_contents/tab_contents_delegate.h"
28 ContentSettingTitleAndLinkModel(TabContents* tab_contents,
31 : ContentSettingBubbleModel(tab_contents, profile, content_type) {
44 tab_contents()->GetTabSpecificContentSettings();
93 if (tab_contents() &&
94 tab_contents()->GetTabSpecificContentSettings()->IsContentAccessed(
96 !tab_contents()->GetTabSpecificContentSettings()->IsContentBlocked(
123 if (tab_contents())
124 tab_contents()->delegate()->ShowContentSettingsPage(content_type());
131 ContentSettingTitleLinkAndCustomModel(TabContents* tab_contents,
134 : ContentSettingTitleAndLinkModel(tab_contents, profile, content_type) {
165 ContentSettingSingleRadioGroup(TabContents* tab_contents,
168 : ContentSettingTitleLinkAndCustomModel(tab_contents, profile,
204 GURL url = tab_contents()->GetURL();
314 ContentSettingCookiesBubbleModel(TabContents* tab_contents,
317 : ContentSettingSingleRadioGroup(tab_contents, profile, content_type) {
324 tab_contents()->AddInfoBar(
325 new CollectedCookiesInfoBarDelegate(tab_contents()));
331 if (tab_contents()) {
335 tab_contents()->GetTabSpecificContentSettings()),
337 tab_contents()->delegate()->ShowCollectedCookiesDialog(tab_contents());
344 ContentSettingPluginBubbleModel(TabContents* tab_contents,
347 : ContentSettingSingleRadioGroup(tab_contents, profile, content_type) {
349 set_custom_link_enabled(tab_contents && tab_contents->
358 DCHECK(tab_contents());
359 tab_contents()->render_view_host()->LoadBlockedPlugins();
361 tab_contents()->GetTabSpecificContentSettings()->
368 ContentSettingPopupBubbleModel(TabContents* tab_contents,
371 : ContentSettingSingleRadioGroup(tab_contents, profile, content_type) {
380 if (!tab_contents()->blocked_content_container())
383 tab_contents()->blocked_content_container()->GetBlockedContents(
395 popup_item.tab_contents = (*i);
401 if (tab_contents() && tab_contents()->blocked_content_container()) {
402 tab_contents()->blocked_content_container()->LaunchForContents(
403 bubble_content().popup_items[index].tab_contents);
411 ContentSettingDomainListBubbleModel(TabContents* tab_contents,
414 : ContentSettingTitleAndLinkModel(tab_contents, profile, content_type) {
433 tab_contents()->GetTabSpecificContentSettings();
458 if (!tab_contents())
462 const GURL& embedder_url = tab_contents()->GetURL();
464 tab_contents()->GetTabSpecificContentSettings();
480 TabContents* tab_contents,
484 return new ContentSettingCookiesBubbleModel(tab_contents, profile,
488 return new ContentSettingPopupBubbleModel(tab_contents, profile,
492 return new ContentSettingDomainListBubbleModel(tab_contents, profile,
496 return new ContentSettingPluginBubbleModel(tab_contents, profile,
499 return new ContentSettingSingleRadioGroup(tab_contents, profile,
504 TabContents* tab_contents,
507 : tab_contents_(tab_contents),
511 Source<TabContents>(tab_contents));