• Home
  • Raw
  • Download

Lines Matching refs:current_tab

1210   TabContentsWrapper* current_tab = GetSelectedTabContentsWrapper();  in GetOrCloneTabForDisposition()  local
1212 current_tab = current_tab->Clone(); in GetOrCloneTabForDisposition()
1214 current_tab, -1, PageTransition::LINK, in GetOrCloneTabForDisposition()
1218 return current_tab->tab_contents(); in GetOrCloneTabForDisposition()
1281 TabContentsWrapper* current_tab = GetSelectedTabContentsWrapper(); in GoBack() local
1282 if (current_tab->controller().CanGoBack()) { in GoBack()
1286 if (current_tab->tab_contents()->showing_interstitial_page() && in GoBack()
1287 (new_tab != current_tab->tab_contents())) in GoBack()
1312 TabContents* current_tab = GetSelectedTabContents(); in ReloadInternal() local
1313 if (current_tab && current_tab->showing_interstitial_page()) { in ReloadInternal()
1314 NavigationEntry* entry = current_tab->controller().GetActiveEntry(); in ReloadInternal()
1621 TabContents* current_tab = GetSelectedTabContents(); in SavePage() local
1622 if (current_tab && current_tab->contents_mime_type() == "application/pdf") in SavePage()
1802 TabContentsWrapper* current_tab = GetSelectedTabContentsWrapper(); in OpenCreateShortcutsDialog() local
1803 DCHECK(current_tab && in OpenCreateShortcutsDialog()
1804 web_app::IsValidUrl(current_tab->tab_contents()->GetURL())) << in OpenCreateShortcutsDialog()
1807 NavigationEntry* entry = current_tab->controller().GetLastCommittedEntry(); in OpenCreateShortcutsDialog()
1817 current_tab->extension_tab_helper()->GetApplicationInfo(entry->page_id()); in OpenCreateShortcutsDialog()
3193 TabContents* current_tab = GetSelectedTabContents(); in OnStartDownload() local
3195 if (platform_util::IsVisible(current_tab->GetNativeView()) && in OnStartDownload()
3197 DownloadStartedAnimation::Show(current_tab); in OnStartDownload()
3705 TabContents* current_tab = GetSelectedTabContents(); in UpdateCommandsForTabState() local
3707 if (!current_tab || !current_tab_wrapper) // May be NULL during tab restore. in UpdateCommandsForTabState()
3711 NavigationController& nc = current_tab->controller(); in UpdateCommandsForTabState()
3715 CanReloadContents(current_tab)); in UpdateCommandsForTabState()
3717 CanReloadContents(current_tab)); in UpdateCommandsForTabState()
3727 current_tab->controller().CanViewSource()); in UpdateCommandsForTabState()
3729 current_tab->ShouldDisplayURL() && current_tab->GetURL().is_valid()); in UpdateCommandsForTabState()
3741 current_tab->contents_mime_type())); in UpdateCommandsForTabState()
3748 web_app::IsValidUrl(current_tab->GetURL())); in UpdateCommandsForTabState()
3757 TabContents* current_tab = GetSelectedTabContents(); in UpdateCommandsForContentRestrictionState() local
3758 if (current_tab) { in UpdateCommandsForContentRestrictionState()
3759 restrictions = current_tab->content_restrictions(); in UpdateCommandsForContentRestrictionState()
3760 NavigationEntry* active_entry = current_tab->controller().GetActiveEntry(); in UpdateCommandsForContentRestrictionState()