Home
last modified time | relevance | path

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

/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/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/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/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/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/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/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/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()
Dopaque_browser_frame_view.cc459 TabContents* current_tab = browser_view_->GetSelectedTabContents(); in ShouldTabIconViewAnimate() local
460 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/chrome/browser/ui/gtk/
Dgtk_util.cc1234 TabContents* current_tab = GetBrowserWindowSelectedTabContents(window); in DoCutCopyPaste() local
1235 if (current_tab && widget == current_tab->GetContentNativeView()) { in DoCutCopyPaste()
1236 (current_tab->render_view_host()->*method)(); in DoCutCopyPaste()
/external/chromium/chrome/browser/
Dbrowser_browsertest.cc563 TabContents* current_tab = browser()->GetSelectedTabContents(); in IN_PROC_BROWSER_TEST_F() local
566 Source<TabContents> source(current_tab); in IN_PROC_BROWSER_TEST_F()
/external/chromium/chrome/browser/ui/cocoa/
Dbrowser_window_controller.mm944 TabContents* current_tab = browser_->GetSelectedTabContents();
945 if (!current_tab) {
948 const std::string encoding = current_tab->encoding();