/external/chromium/chrome/browser/download/ |
D | save_page_browsertest.cc | 63 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/ |
D | browser_commands.cc | 142 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/ |
D | extension_crash_recovery_browsertest.cc | 170 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/ |
D | persistent_tab_restore_service.cc | 572 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 …]
|
D | session_restore_android.cc | 43 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/ |
D | toolbar_model.cc | 130 TabContents* current_tab = browser_->GetSelectedTabContents(); in GetNavigationController() local 131 return current_tab ? ¤t_tab->controller() : NULL; in GetNavigationController()
|
D | wrench_menu_model.cc | 99 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/ |
D | tab_restore_service.cc | 735 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/ |
D | base_tab_strip.cc | 176 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/ |
D | browser.cc | 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() [all …]
|
/external/chromium_org/chrome/browser/extensions/ |
D | extension_crash_recovery_browsertest.cc | 234 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/ |
D | toolbar_model_impl.cc | 261 WebContents* current_tab = delegate_->GetActiveWebContents(); in GetNavigationController() local 262 return current_tab ? ¤t_tab->GetController() : NULL; in GetNavigationController()
|
D | wrench_menu_model.cc | 135 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/ |
D | tab_strip_gtk.cc | 506 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/ |
D | tab_strip_gtk.cc | 529 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/ |
D | task_manager_browsertest.cc | 387 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/ |
D | browser_frame_win.cc | 509 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()
|
D | browser_non_client_frame_view_ash.cc | 346 content::WebContents* current_tab = browser_view()->GetActiveWebContents(); in ShouldTabIconViewAnimate() local 347 return current_tab ? current_tab->IsLoading() : false; in ShouldTabIconViewAnimate()
|
D | app_panel_browser_frame_view.cc | 247 WebContents* current_tab = browser_view()->GetActiveWebContents(); in ShouldTabIconViewAnimate() local 248 return current_tab ? current_tab->IsLoading() : false; in ShouldTabIconViewAnimate()
|
D | opaque_browser_frame_view.cc | 376 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/ |
D | touch_browser_frame_view.cc | 230 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/ |
D | app_panel_browser_frame_view.cc | 254 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/ |
D | bookmark_utils.cc | 143 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/ |
D | instant_browsertest.cc | 471 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/ |
D | save_page_browsertest.cc | 317 WebContents* current_tab = in GetCurrentTab() local 319 EXPECT_TRUE(current_tab); in GetCurrentTab() 320 return current_tab; in GetCurrentTab()
|