Searched defs:old_contents (Results 1 - 19 of 19) sorted by relevance

/external/chromium_org/chrome/browser/ui/tab_contents/
H A Dcore_tab_helper_delegate.cc11 content::WebContents* old_contents,
10 SwapTabContents( content::WebContents* old_contents, content::WebContents* new_contents, bool did_start_load, bool did_finish_load) argument
/external/chromium_org/chrome/browser/ui/tabs/
H A Dtab_strip_model_observer.cc26 void TabStripModelObserver::ActiveTabChanged(WebContents* old_contents, argument
48 WebContents* old_contents,
47 TabReplacedAt(TabStripModel* tab_strip_model, WebContents* old_contents, WebContents* new_contents, int index) argument
H A Dtab_strip_model_order_controller.cc96 content::WebContents* old_contents,
101 if (old_contents) {
102 int index = tabstrip_->GetIndexOfWebContents(old_contents);
108 if (tabstrip_->ShouldResetGroupOnSelect(old_contents))
109 tabstrip_->ForgetGroup(old_contents);
115 ((old_contents == NULL && new_opener == NULL) ||
116 new_opener != old_contents) &&
95 ActiveTabChanged( content::WebContents* old_contents, content::WebContents* new_contents, int index, int reason) argument
H A Dtab_strip_model.cc343 WebContents* old_contents = GetWebContentsAtImpl(index); local
345 ForgetOpenersAndGroupsReferencing(old_contents);
350 TabReplacedAt(this, old_contents, new_contents, index));
359 ActiveTabChanged(old_contents,
364 return old_contents;
375 WebContents* old_contents = GetWebContentsAtImpl(index); local
378 null_contents->GetController().CopyStateFrom(old_contents->GetController());
387 delete old_contents;
838 if (WebContents* old_contents = GetActiveWebContents()) {
840 ResizeWebContents(contents, old_contents
1311 NotifyIfActiveTabChanged(WebContents* old_contents, NotifyTypes notify_types) argument
1331 NotifyIfActiveOrSelectionChanged( WebContents* old_contents, NotifyTypes notify_types, const ui::ListSelectionModel& old_model) argument
1346 WebContents* old_contents = GetActiveWebContents(); local
[all...]
/external/chromium_org/chrome/browser/ui/ash/launcher/
H A Dbrowser_status_monitor.cc255 void BrowserStatusMonitor::ActiveTabChanged(content::WebContents* old_contents, argument
260 // Use |new_contents|. |old_contents| could be NULL.
271 if (old_contents &&
273 browser->tab_strip_model()->GetIndexOfWebContents(old_contents)))
274 UpdateAppItemState(old_contents, state);
287 content::WebContents* old_contents,
290 DCHECK(old_contents && new_contents);
296 UpdateAppItemState(old_contents,
298 RemoveWebContentsObserver(old_contents);
286 TabReplacedAt(TabStripModel* tab_strip_model, content::WebContents* old_contents, content::WebContents* new_contents, int index) argument
/external/chromium_org/chrome/browser/ui/
H A Dbrowser_navigator_browsertest.cc351 WebContents* old_contents = local
356 EXPECT_NE(old_contents,
366 WebContents* old_contents = local
375 EXPECT_EQ(old_contents, new_contents);
H A Dfast_unload_controller.cc303 content::WebContents* old_contents,
306 TabDetachedImpl(old_contents);
302 TabReplacedAt(TabStripModel* tab_strip_model, content::WebContents* old_contents, content::WebContents* new_contents, int index) argument
H A Dunload_controller.cc237 content::WebContents* old_contents,
240 TabDetachedImpl(old_contents);
236 TabReplacedAt(TabStripModel* tab_strip_model, content::WebContents* old_contents, content::WebContents* new_contents, int index) argument
H A Dbrowser_command_controller.cc803 WebContents* old_contents,
806 RemoveInterstitialObservers(old_contents);
802 TabReplacedAt(TabStripModel* tab_strip_model, WebContents* old_contents, WebContents* new_contents, int index) argument
H A Dbrowser.cc989 void Browser::ActiveTabChanged(WebContents* old_contents, argument
1003 window_->OnActiveTabChanged(old_contents, new_contents, index, reason);
1005 fullscreen_controller_->OnTabDetachedFromView(old_contents);
1017 if (chrome_updater_factory_.HasWeakPtrs() && old_contents)
1073 WebContents* old_contents,
1076 TabDetachedAtImpl(old_contents, index, DETACH_TYPE_REPLACE);
1077 fullscreen_controller_->OnTabClosing(old_contents);
1081 session_service->TabClosing(old_contents);
1798 void Browser::SwapTabContents(content::WebContents* old_contents, argument
1802 int index = tab_strip_model_->GetIndexOfWebContents(old_contents);
1072 TabReplacedAt(TabStripModel* tab_strip_model, WebContents* old_contents, WebContents* new_contents, int index) argument
[all...]
/external/chromium_org/chrome/browser/ui/views/extensions/
H A Dextension_popup.cc181 void ExtensionPopup::ActiveTabChanged(content::WebContents* old_contents, argument
/external/chromium_org/chrome/browser/extensions/api/tabs/
H A Dtabs_event_router.cc289 void TabsEventRouter::ActiveTabChanged(WebContents* old_contents, argument
519 WebContents* old_contents,
525 const int old_tab_id = ExtensionTabUtil::GetTabId(old_contents);
538 UnregisterForTabNotifications(old_contents);
518 TabReplacedAt(TabStripModel* tab_strip_model, WebContents* old_contents, WebContents* new_contents, int index) argument
/external/chromium_org/chrome/browser/ui/fullscreen/
H A Dfullscreen_controller.cc285 void FullscreenController::OnTabDetachedFromView(WebContents* old_contents) { argument
286 if (!IsFullscreenForCapturedTab(old_contents))
293 // When the user later selects the tab to show |old_contents| again, UI code
300 if (!old_contents->GetDelegate())
305 if (old_contents->GetCapturerCount() == 0 ||
306 old_contents->GetPreferredSize().IsEmpty()) {
311 old_contents->GetFullscreenRenderWidgetHostView();
313 current_fs_view->SetSize(old_contents->GetPreferredSize());
314 ResizeWebContents(old_contents, old_contents
[all...]
/external/chromium_org/chrome/browser/ui/toolbar/
H A Dwrench_menu_model.cc481 void WrenchMenuModel::ActiveTabChanged(WebContents* old_contents, argument
491 WebContents* old_contents,
490 TabReplacedAt(TabStripModel* tab_strip_model, WebContents* old_contents, WebContents* new_contents, int index) argument
/external/chromium_org/chrome/browser/android/
H A Dtab_android.cc288 void TabAndroid::SwapTabContents(content::WebContents* old_contents, argument
/external/chromium_org/chrome/browser/extensions/api/web_navigation/
H A Dweb_navigation_api.cc115 content::WebContents* old_contents,
119 WebNavigationTabObserver::Get(old_contents);
123 DCHECK(GetViewType(old_contents) != VIEW_TYPE_TAB_CONTENTS);
129 if (!frame_navigation_state.IsValidUrl(old_contents->GetURL()) ||
133 helpers::DispatchOnTabReplaced(old_contents, profile_, new_contents);
113 TabReplacedAt( TabStripModel* tab_strip_model, content::WebContents* old_contents, content::WebContents* new_contents, int index) argument
/external/chromium_org/chrome/browser/ui/views/tabs/
H A Dbrowser_tab_strip_controller.cc477 WebContents* old_contents,
476 TabReplacedAt(TabStripModel* tab_strip_model, WebContents* old_contents, WebContents* new_contents, int model_index) argument
/external/chromium_org/chrome/browser/ui/webui/ntp/
H A Dapp_launcher_handler.cc532 WebContents* old_contents = NULL; local
534 old_contents = browser->tab_strip_model()->GetActiveWebContents();
537 old_contents ? CURRENT_TAB : NEW_FOREGROUND_TAB);
542 if (new_contents != old_contents && browser &&
544 chrome::CloseWebContents(browser, old_contents, true);
/external/chromium_org/chrome/browser/ui/views/frame/
H A Dbrowser_view.cc761 void BrowserView::OnActiveTabChanged(content::WebContents* old_contents, argument
796 if (old_contents && PermissionBubbleManager::FromWebContents(old_contents))
797 PermissionBubbleManager::FromWebContents(old_contents)->SetView(NULL);

Completed in 303 milliseconds