Home
last modified time | relevance | path

Searched refs:current_tab (Results 1 – 25 of 32) sorted by relevance

12

/external/chromium/chrome/browser/download/
Dsave_page_browsertest.cc63 TabContentsWrapper* current_tab = browser()->GetSelectedTabContentsWrapper(); in IN_PROC_BROWSER_TEST_F() local
64 ASSERT_TRUE(current_tab); in IN_PROC_BROWSER_TEST_F()
68 ASSERT_TRUE(current_tab->download_tab_helper()->SavePage( in IN_PROC_BROWSER_TEST_F()
91 TabContentsWrapper* current_tab = browser()->GetSelectedTabContentsWrapper(); in IN_PROC_BROWSER_TEST_F() local
92 ASSERT_TRUE(current_tab); in IN_PROC_BROWSER_TEST_F()
97 ASSERT_TRUE(current_tab->download_tab_helper()->SavePage( in IN_PROC_BROWSER_TEST_F()
118 TabContentsWrapper* current_tab = browser()->GetSelectedTabContentsWrapper(); in IN_PROC_BROWSER_TEST_F() local
119 ASSERT_TRUE(current_tab); in IN_PROC_BROWSER_TEST_F()
123 ASSERT_TRUE(current_tab->download_tab_helper()->SavePage( in IN_PROC_BROWSER_TEST_F()
162 TabContentsWrapper* current_tab = browser()->GetSelectedTabContentsWrapper(); in IN_PROC_BROWSER_TEST_F() local
[all …]
/external/chromium_org/chrome/browser/ui/
Dbrowser_commands.cc142 WebContents* current_tab = browser->tab_strip_model()->GetActiveWebContents(); in GetOrCloneTabForDisposition() local
146 current_tab = current_tab->Clone(); in GetOrCloneTabForDisposition()
148 current_tab, -1, content::PAGE_TRANSITION_LINK, in GetOrCloneTabForDisposition()
154 current_tab = current_tab->Clone(); in GetOrCloneTabForDisposition()
158 current_tab, -1, content::PAGE_TRANSITION_LINK, in GetOrCloneTabForDisposition()
166 return current_tab; in GetOrCloneTabForDisposition()
254 WebContents* current_tab = browser->tab_strip_model()->GetActiveWebContents(); in GetContentRestrictions() local
255 if (current_tab) { in GetContentRestrictions()
257 CoreTabHelper::FromWebContents(current_tab); in GetContentRestrictions()
260 current_tab->GetController().GetActiveEntry(); in GetContentRestrictions()
[all …]
/external/chromium/chrome/browser/extensions/
Dextension_crash_recovery_browsertest.cc170 TabContents* current_tab = browser()->GetSelectedTabContents(); in IN_PROC_BROWSER_TEST_F() local
171 ASSERT_TRUE(current_tab); in IN_PROC_BROWSER_TEST_F()
213 TabContents* current_tab = browser()->GetSelectedTabContents(); in IN_PROC_BROWSER_TEST_F() local
214 ASSERT_TRUE(current_tab); in IN_PROC_BROWSER_TEST_F()
244 TabContents* current_tab = browser()->GetSelectedTabContents(); in IN_PROC_BROWSER_TEST_F() local
245 ASSERT_TRUE(current_tab); in IN_PROC_BROWSER_TEST_F()
274 TabContents* current_tab = browser()->GetSelectedTabContents(); in IN_PROC_BROWSER_TEST_F() local
275 ASSERT_TRUE(current_tab); in IN_PROC_BROWSER_TEST_F()
289 ASSERT_NE(current_tab2, current_tab); in IN_PROC_BROWSER_TEST_F()
300 ASSERT_EQ(current_tab, browser()->GetSelectedTabContents()); in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/chrome/browser/sessions/
Dpersistent_tab_restore_service.cc572 Tab* current_tab = NULL; in CreateEntriesFromCommands() local
588 current_tab = NULL; in CreateEntriesFromCommands()
659 current_tab = &(current_window->tabs.back()); in CreateEntriesFromCommands()
664 current_tab = new Tab(); in CreateEntriesFromCommands()
665 id_to_entry[payload.id] = current_tab; in CreateEntriesFromCommands()
666 current_tab->timestamp = in CreateEntriesFromCommands()
668 entries.push_back(current_tab); in CreateEntriesFromCommands()
670 current_tab->current_navigation_index = payload.index; in CreateEntriesFromCommands()
675 if (!current_tab) { in CreateEntriesFromCommands()
679 current_tab->navigations.resize(current_tab->navigations.size() + 1); in CreateEntriesFromCommands()
[all …]
Dsession_restore_android.cc43 TabAndroid* current_tab = TabAndroid::FromWebContents(web_contents); in RestoreForeignSessionTab() local
44 DCHECK(current_tab); in RestoreForeignSessionTab()
45 current_tab->SwapTabContents(web_contents, new_web_contents); in RestoreForeignSessionTab()
/external/chromium/chrome/browser/ui/toolbar/
Dtoolbar_model.cc130 TabContents* current_tab = browser_->GetSelectedTabContents(); in GetNavigationController() local
131 return current_tab ? &current_tab->controller() : NULL; in GetNavigationController()
Dwrench_menu_model.cc99 TabContents* current_tab = browser_->GetSelectedTabContents(); in IsCommandIdChecked() local
100 if (!current_tab) in IsCommandIdChecked()
104 current_tab->encoding(), command_id); in IsCommandIdChecked()
/external/chromium/chrome/browser/sessions/
Dtab_restore_service.cc735 Tab* current_tab = NULL; in CreateEntriesFromCommands() local
751 current_tab = NULL; in CreateEntriesFromCommands()
821 current_tab = &(current_window->tabs.back()); in CreateEntriesFromCommands()
826 current_tab = new Tab(); in CreateEntriesFromCommands()
827 id_to_entry[payload.id] = current_tab; in CreateEntriesFromCommands()
828 current_tab->timestamp = Time::FromInternalValue(payload.timestamp); in CreateEntriesFromCommands()
829 entries->push_back(current_tab); in CreateEntriesFromCommands()
831 current_tab->current_navigation_index = payload.index; in CreateEntriesFromCommands()
836 if (!current_tab) { in CreateEntriesFromCommands()
840 current_tab->navigations.resize(current_tab->navigations.size() + 1); in CreateEntriesFromCommands()
[all …]
/external/chromium/chrome/browser/ui/views/tabs/
Dbase_tab_strip.cc176 BaseTab* current_tab = base_tab_at_tab_index(i); in GetModelIndexOfBaseTab() local
177 if (!current_tab->closing()) { in GetModelIndexOfBaseTab()
178 if (current_tab == tab) in GetModelIndexOfBaseTab()
181 } else if (current_tab == tab) { in GetModelIndexOfBaseTab()
262 BaseTab* current_tab = base_tab_at_tab_index(i); in CloseTab() local
263 if (current_tab == tab) in CloseTab()
265 if (!current_tab->closing()) in CloseTab()
/external/chromium/chrome/browser/ui/
Dbrowser.cc1210 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()
[all …]
/external/chromium_org/chrome/browser/extensions/
Dextension_crash_recovery_browsertest.cc234 WebContents* current_tab = in IN_PROC_BROWSER_TEST_F() local
236 ASSERT_TRUE(current_tab); in IN_PROC_BROWSER_TEST_F()
287 WebContents* current_tab = in IN_PROC_BROWSER_TEST_F() local
289 ASSERT_TRUE(current_tab); in IN_PROC_BROWSER_TEST_F()
470 WebContents* current_tab = in IN_PROC_BROWSER_TEST_F() local
472 ASSERT_TRUE(current_tab); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/ui/toolbar/
Dtoolbar_model_impl.cc261 WebContents* current_tab = delegate_->GetActiveWebContents(); in GetNavigationController() local
262 return current_tab ? &current_tab->GetController() : NULL; in GetNavigationController()
Dwrench_menu_model.cc135 WebContents* current_tab = in IsCommandIdChecked() local
137 if (!current_tab) in IsCommandIdChecked()
141 current_tab->GetEncoding(), command_id); in IsCommandIdChecked()
/external/chromium/chrome/browser/ui/gtk/tabs/
Dtab_strip_gtk.cc506 TabGtk* current_tab = tabstrip_->GetTabAt(i); in InitStartState() local
507 if (!current_tab->mini()) { in InitStartState()
508 if (current_tab->IsSelected()) { in InitStartState()
509 start_selected_width_ = current_tab->width(); in InitStartState()
511 start_unselected_width_ = current_tab->width(); in InitStartState()
825 TabGtk* current_tab = GetTabAt(i); in UpdateLoadingAnimations() local
826 if (current_tab->closing()) { in UpdateLoadingAnimations()
838 if (current_tab->ValidateLoadingAnimation(state)) { in UpdateLoadingAnimations()
840 gfx::Rect favicon_bounds = current_tab->favicon_bounds(); in UpdateLoadingAnimations()
842 favicon_bounds.x() + current_tab->x(), in UpdateLoadingAnimations()
[all …]
/external/chromium_org/chrome/browser/ui/gtk/tabs/
Dtab_strip_gtk.cc529 TabGtk* current_tab = tabstrip_->GetTabAt(i); in InitStartState() local
530 if (!current_tab->mini()) { in InitStartState()
531 if (current_tab->IsActive()) { in InitStartState()
532 start_selected_width_ = current_tab->width(); in InitStartState()
534 start_unselected_width_ = current_tab->width(); in InitStartState()
857 TabGtk* current_tab = GetTabAt(i); in UpdateLoadingAnimations() local
858 if (current_tab->closing()) { in UpdateLoadingAnimations()
870 if (current_tab->ValidateLoadingAnimation(state)) { in UpdateLoadingAnimations()
872 gfx::Rect favicon_bounds = current_tab->favicon_bounds(); in UpdateLoadingAnimations()
874 favicon_bounds.x() + current_tab->x(), in UpdateLoadingAnimations()
[all …]
/external/chromium/chrome/browser/task_manager/
Dtask_manager_browsertest.cc387 TabContents* current_tab = browser()->GetSelectedTabContents(); in IN_PROC_BROWSER_TEST_F() local
388 ASSERT_EQ(1U, current_tab->infobar_count()); in IN_PROC_BROWSER_TEST_F()
390 current_tab->GetInfoBarDelegateAt(0)->AsConfirmInfoBarDelegate(); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/ui/views/frame/
Dbrowser_frame_win.cc509 WebContents* current_tab = browser->tab_strip_model()->GetActiveWebContents(); in GetMetroCurrentTabInfo() local
510 DCHECK(current_tab); in GetMetroCurrentTabInfo()
513 UTF8ToWide(current_tab->GetURL().spec())); in GetMetroCurrentTabInfo()
Dbrowser_non_client_frame_view_ash.cc346 content::WebContents* current_tab = browser_view()->GetActiveWebContents(); in ShouldTabIconViewAnimate() local
347 return current_tab ? current_tab->IsLoading() : false; in ShouldTabIconViewAnimate()
Dapp_panel_browser_frame_view.cc247 WebContents* current_tab = browser_view()->GetActiveWebContents(); in ShouldTabIconViewAnimate() local
248 return current_tab ? current_tab->IsLoading() : false; in ShouldTabIconViewAnimate()
Dopaque_browser_frame_view.cc376 WebContents* current_tab = browser_view()->GetActiveWebContents(); in ShouldTabIconViewAnimate() local
377 return current_tab ? current_tab->IsLoading() : false; in ShouldTabIconViewAnimate()
/external/chromium/chrome/browser/ui/touch/frame/
Dtouch_browser_frame_view.cc230 const TabContents* current_tab = browser->GetSelectedTabContents(); in Observe() local
234 if (current_tab == source_tab && TabContentsHasFocus(source_tab)) in Observe()
/external/chromium/chrome/browser/ui/views/frame/
Dapp_panel_browser_frame_view.cc254 TabContents* current_tab = browser_view_->GetSelectedTabContents(); in ShouldTabIconViewAnimate() local
255 return current_tab ? current_tab->is_loading() : false; in ShouldTabIconViewAnimate()
/external/chromium/chrome/browser/bookmarks/
Dbookmark_utils.cc143 TabContents* current_tab = new_browser->GetSelectedTabContents(); in OpenAllImpl() local
144 DCHECK(new_browser && current_tab); in OpenAllImpl()
145 if (new_browser && current_tab) in OpenAllImpl()
146 *navigator = current_tab; in OpenAllImpl()
/external/chromium/chrome/browser/instant/
Dinstant_browsertest.cc471 TabContentsWrapper* current_tab = browser()->instant()->GetPreviewContents(); in IN_PROC_BROWSER_TEST_F() local
472 ASSERT_EQ(current_tab, initial_tab); in IN_PROC_BROWSER_TEST_F()
474 rwhv = current_tab->tab_contents()->GetRenderWidgetHostView(); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/download/
Dsave_page_browsertest.cc317 WebContents* current_tab = in GetCurrentTab() local
319 EXPECT_TRUE(current_tab); in GetCurrentTab()
320 return current_tab; in GetCurrentTab()

12