Home | History | Annotate | Download | only in automation

Lines Matching refs:tab

126   AutomationInterstitialPage(TabContents* tab,
129 : InterstitialPage(tab, true, url),
476 // Appending tab failed. Clean up and send failure response.
553 NavigationController* tab = tab_tracker_->GetResource(handle);
555 // Simulate what a user would do. Activate the tab and then navigate.
556 // We could allow navigating in a background tab in future.
557 Browser* browser = FindAndActivateTab(tab);
560 new NavigationNotificationObserver(tab, this, reply_message,
588 NavigationController* tab = tab_tracker_->GetResource(handle);
590 // Simulate what a user would do. Activate the tab and then navigate.
591 // We could allow navigating in a background tab in future.
592 Browser* browser = FindAndActivateTab(tab);
606 NavigationController* tab = tab_tracker_->GetResource(handle);
607 Browser* browser = FindAndActivateTab(tab);
610 tab, this, reply_message, 1, false, false);
626 NavigationController* tab = tab_tracker_->GetResource(tab_handle);
627 LoginHandlerMap::iterator iter = login_handler_map_.find(tab);
635 tab, this, reply_message, 1, false, false);
649 NavigationController* tab = tab_tracker_->GetResource(tab_handle);
650 LoginHandlerMap::iterator iter = login_handler_map_.find(tab);
656 tab, this, reply_message, 1, false, false);
671 NavigationController* tab = tab_tracker_->GetResource(tab_handle);
672 LoginHandlerMap::iterator iter = login_handler_map_.find(tab);
675 // The LoginHandler will be in our map IFF the tab needs auth.
687 NavigationController* tab = tab_tracker_->GetResource(tab_handle);
689 tab->profile()->GetHistoryService(Profile::EXPLICIT_ACCESS);
691 DCHECK(history_service) << "Tab " << tab_handle << "'s profile " <<
1026 NavigationController* tab = tab_tracker_->GetResource(handle);
1027 NavigationEntry* entry = tab->GetActiveEntry();
1041 NavigationController* tab = tab_tracker_->GetResource(handle);
1042 Browser* browser = Browser::GetBrowserForController(tab, NULL);
1043 *tabstrip_index = browser->tabstrip_model()->GetIndexOfController(tab);
1052 NavigationController* tab = tab_tracker_->GetResource(handle);
1054 *url = tab->GetActiveEntry()->virtual_url();
1246 NavigationController* tab = tab_tracker_->GetResource(handle);
1247 DownloadManager* dlm = tab->profile()->GetDownloadManager();
1339 NavigationController* tab = tab_tracker_->GetResource(tab_handle);
1341 new NavigationControllerRestoredObserver(this, tab, reply_message));
1355 NavigationController* tab = tab_tracker_->GetResource(handle);
1356 NavigationEntry* entry = tab->GetActiveEntry();
1374 NavigationController* tab = tab_tracker_->GetResource(handle);
1375 NavigationEntry* entry = tab->GetActiveEntry();
1381 tab->tab_contents()->showing_interstitial_page())
1401 NavigationController* tab = tab_tracker_->GetResource(handle);
1402 NavigationEntry* entry = tab->GetActiveEntry();
1404 TabContents* tab_contents = tab->tab_contents();
1409 new NavigationNotificationObserver(tab, this, reply_message, 1,
1451 NavigationController* tab = NULL;
1452 TabContents* tab_contents = GetTabContentsForHandle(tab_handle, &tab);
1454 FindAndActivateTab(tab);
1945 NavigationController* tab = tab_tracker_->GetResource(handle);
1946 Browser* browser = FindAndActivateTab(tab);
1948 new NavigationNotificationObserver(tab, this, reply_message,
1963 NavigationController* tab = tab_tracker_->GetResource(handle);
1964 Browser* browser = FindAndActivateTab(tab);
1966 new NavigationNotificationObserver(tab, this, reply_message,
2396 reply.SendError(StringPrintf("No such tab at index %d", tab_index));
2532 // one dictionary item per tab.
2536 DictionaryValue* tab = new DictionaryValue;
2537 tab->SetInteger("index", i);
2538 tab->SetString("url", tc->GetURL().spec());
2539 tab->SetInteger("renderer_pid",
2541 tab->Set("infobars", GetInfobarsInfo(tc));
2542 tab->SetBoolean("pinned", browser->IsTabPinned(i));
2543 tabs->Append(tab);
3262 AutomationJSONReply(this, reply_message).SendError("no tab at tab_index");
3555 *error_message = StringPrintf("No tab at index %d.", tab_index);
3987 reply.SendError("No tab at that index.");
4046 reply.SendError("No tab at that index.");
4747 // The key events will be sent to the browser window, we need the current tab
4945 // is set, launch as a regular tab.
4953 "Cannot identify selected tab contents.");
5022 // This class will send the message immediately if no tab is loading.
5058 TabContents* tab = browser->GetTabContentsAt(tab_index);
5059 if (tab->controller().session_id().id() == id) {
5068 reply.SendError("Could not find tab among current browser windows");
5250 .SendError("Tab has no associated RenderViewHost");
5298 TabContents* tab = browser->GetTabContentsAt(i);
5299 if (tab->controller().session_id().id() == id) {
5420 // Gets the current used encoding name of the page in the specified tab.