/external/chromium/chrome/browser/ui/webui/ |
bookmarks_ui_uitest.cc | 20 bool WaitForBookmarksUI(TabProxy* tab) { 21 return WaitUntilJavaScriptCondition(tab, L"", 33 scoped_refptr<TabProxy> tab = browser->GetActiveTab(); 34 EXPECT_TRUE(tab.get()); 35 if (!tab.get()) 37 bool success = tab->NavigateToURL(GURL(chrome::kChromeUIBookmarksURL)); 41 success = WaitForBookmarksUI(tab); 45 return tab; 48 void AssertIsBookmarksPage(TabProxy* tab) { 49 // tab->GetCurrentURL is not up to date 71 scoped_refptr<TabProxy> tab = browser->GetActiveTab(); local 96 scoped_refptr<TabProxy> tab = browser->GetActiveTab(); local 119 scoped_refptr<TabProxy> tab = browser->GetActiveTab(); local 152 scoped_refptr<TabProxy> tab = GetBookmarksUITab(); local [all...] |
print_preview_ui_uitest.cc | 26 void AssertIsPrintPage(TabProxy* tab) { 28 ASSERT_TRUE(tab->GetTabTitle(&title)); 41 scoped_refptr<TabProxy> tab = browser->GetActiveTab(); local 42 ASSERT_TRUE(tab.get()); 44 // Go to the print preview tab via URL. 46 AssertIsPrintPage(tab); 56 // Make sure there is 1 tab and print is enabled. Create print preview tab. 68 scoped_refptr<TabProxy> tab = browser->GetActiveTab(); local 69 ASSERT_TRUE(tab.get()) [all...] |
/external/chromium_org/chrome/browser/resources/options/ |
subpages_tab_controls.css | 5 .subpages-nav-tabs .tab { 10 .subpages-nav-tabs .active-tab { 21 * bold, we actually put two labels inside each tab: an inactive label and an 23 * size the tab even when it's not visible. This keeps the tab size constant. 25 .subpages-nav-tabs .active-tab-label, 26 .subpages-nav-tabs .tab-label:hover { 30 .subpages-nav-tabs .tab-label { 36 html[dir=rtl] .subpages-nav-tabs .tab-label { 40 .subpages-nav-tabs .active-tab-label [all...] |
/external/chromium/chrome/browser/ui/views/tabs/ |
base_tab_strip.cc | 20 // Animation delegate used when a dragged tab is released. When done sets the 25 explicit ResetDraggingStateDelegate(BaseTab* tab) : tab_(tab) { 44 // AnimationDelegate used when removing a tab. Does the necessary cleanup when 49 RemoveTabDelegate(BaseTabStrip* tab_strip, BaseTab* tab) 51 tab_(tab) { 60 // . The tab we reference was dragged back into the tab strip. In this case 61 // we don't want to remove the tab (closing is false). 63 // (DestroyDraggedSourceTab). In this case we need to remove the tab 129 BaseTab* tab = CreateTab(); local 147 BaseTab* tab = tab_data_[from_tab_data_index].tab; local 158 BaseTab* tab = GetBaseTabAtModelIndex(model_index); local 214 BaseTab* tab = base_tab_at_tab_index(i); local 406 BaseTab* tab = GetBaseTabAtModelIndex(model_index); local [all...] |
/external/chromium/chrome/browser/ |
collected_cookies_uitest.cc | 36 scoped_refptr<TabProxy> tab(browser->GetTab(0)); 37 ASSERT_TRUE(tab.get()); 44 ASSERT_TRUE(tab->NavigateToURL(test_server.GetURL("files/cookie1.html"))); 47 ASSERT_TRUE(tab->ShowCollectedCookiesDialog()); 48 ASSERT_TRUE(tab->ShowCollectedCookiesDialog()); 64 scoped_refptr<TabProxy> tab(browser->GetTab(0)); 65 ASSERT_TRUE(tab.get()); 72 ASSERT_TRUE(tab->NavigateToURL(test_server.GetURL("files/cookie1.html"))); 75 ASSERT_TRUE(tab->ShowCollectedCookiesDialog()); 78 ASSERT_TRUE(tab->NavigateToURL(test_server.GetURL("files/cookie2.html"))) [all...] |
/external/chromium_org/tools/telemetry/telemetry/page/actions/ |
media_action.py | 17 def WillRunAction(self, page, tab): 19 self.LoadJS(tab, 'media_action.js') 21 def RunAction(self, page, tab, previous_action): 22 super(MediaAction, self).RunAction(page, tab, previous_action) 24 def LoadJS(self, tab, js_file_name): 25 """Loads and executes a JS file in the tab.""" 28 tab.ExecuteJavaScript(js) 30 def WaitForEvent(self, tab, selector, event_name, timeout, 35 tab: The tab to check for event on [all...] |
scroll.py | 13 def WillRunAction(self, page, tab): 18 tab.ExecuteJavaScript(js) 23 tab.EvaluateJavaScript( 33 tab.ExecuteJavaScript(""" 38 def RunAction(self, page, tab, previous_action): 51 tab.ExecuteJavaScript(""" 60 tab.ExecuteJavaScript(""" 68 util.WaitFor(lambda: tab.EvaluateJavaScript( 77 def BindMeasurementJavaScript(self, tab, start_js, stop_js): 79 tab.ExecuteJavaScript("" [all...] |
reload.py | 11 def RunAction(self, page, tab, previous_action): 12 tab.ExecuteJavaScript('window.location.reload()') 13 page_module.Page.WaitForPageToLoad(self, tab, 60) 14 tab.WaitForDocumentReadyStateToBeInteractiveOrBetter()
|
click_element.py | 13 def RunAction(self, page, tab, previous_action): 19 tab.ExecuteJavaScript(code) 26 util.FindElementAndPerformAction(tab, self.text, callback_code) 32 tab.PerformActionAndWaitForNavigate(DoClick) 34 old_url = tab.EvaluateJavaScript('document.location.href') 36 util.WaitFor(lambda: tab.EvaluateJavaScript( 41 page_module.Page.WaitForPageToLoad(self, tab, 60) 42 tab.WaitForDocumentReadyStateToBeInteractiveOrBetter()
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/processes/show_tabs/ |
popup.js | 9 var current = currentWindow.tabs.filter(function(tab) { 10 return tab.active; 14 var outputDiv = document.getElementById("tab-list"); 32 var tab = windowList[i].tabs[j]; 33 if (tab.id != selectedTab.id) { 34 tabs.push(tab); 39 // Display tab in list if it is in the same process 40 tabs.forEach(function(tab) { 41 chrome.experimental.processes.getProcessIdForTab(tab.id, 44 displayTabInfo(tab.windowId, tab, outputDiv) [all...] |
/external/chromium/chrome/browser/resources/options/ |
subpages_tab_controls.css | 7 .subpages-nav-tabs .tab { 12 .subpages-nav-tabs .active-tab { 22 * bold, we actually put two labels inside each tab: an inactive label and an 24 * size the tab even when it's not visible. This keeps the tab size constant. 26 .subpages-nav-tabs .active-tab-label { 30 .subpages-nav-tabs .tab-label { 36 html[dir=rtl] .subpages-nav-tabs .tab-label { 40 .subpages-nav-tabs .active-tab-label, 41 .subpages-nav-tabs .active-tab .tab-label [all...] |
/external/chromium_org/tools/perf/measurements/ |
media.py | 22 def DidNavigateToPage(self, page, tab): 24 self._media_metric = media.MediaMetric(tab) 25 self._media_metric.Start(page, tab) 27 def MeasurePage(self, page, tab, results): 29 self._media_metric.Stop(page, tab) 30 self._media_metric.AddResults(tab, results)
|
memory.py | 37 def DidNavigateToPage(self, page, tab): 39 h.Start(page, tab) 61 def MeasurePage(self, page, tab, results): 63 h.GetValue(page, tab, results) 65 if tab.browser.is_profiler_active('tcmalloc-heap'): 70 tab.ExecuteJavaScript(""" 77 def DidRunTest(self, tab, results): 79 self._memory_metric.AddResults(tab, results)
|
/external/chromium/chrome/browser/ui/views/location_bar/ |
click_handler.cc | 28 TabContents* tab = location_bar_->GetTabContentsWrapper()->tab_contents(); 29 NavigationEntry* nav_entry = tab->controller().GetActiveEntry(); 34 tab->ShowPageInfo(nav_entry->url(), nav_entry->ssl(), true);
|
/external/chromium_org/chrome/browser/ui/views/location_bar/ |
page_info_helper.cc | 33 WebContents* tab = location_bar_->GetWebContents(); 34 if (!tab) 36 const NavigationController& controller = tab->GetController(); 45 tab, nav_entry->GetURL(), nav_entry->GetSSL());
|
/external/chromium_org/tools/perf/profile_creators/ |
small_profile_creator.py | 19 tab = self._browser.tabs[0] 21 tab.Navigate(page.url) 22 tab.WaitForDocumentReadyStateToBeComplete() 23 tab.Disconnect()
|
/external/chromium_org/tools/telemetry/telemetry/core/chrome/ |
form_based_credentials_backend.py | 9 def _WaitForLoginFormToLoad(backend, login_form_id, tab): 11 return tab.EvaluateJavaScript( 13 backend.IsAlreadyLoggedIn(tab) 19 def _SubmitFormAndWait(form_id, tab): 21 tab.ExecuteJavaScript(js) 24 return tab.EvaluateJavaScript( 34 def IsAlreadyLoggedIn(self, tab): 66 def LoginNeeded(self, tab, config): 84 tab.Navigate(self.url) 85 _WaitForLoginFormToLoad(self, self.login_form_id, tab) [all...] |
inspector_memory_unittest.py | 14 # Due to an issue with CrOS, we create a new tab here rather than 16 tab = self._browser.tabs.New() 18 tab.Navigate( 20 tab.WaitForDocumentReadyStateToBeComplete() 22 counts = tab.dom_stats
|
/external/chromium/chrome/browser/notifications/ |
notifications_interactive_uitest.cc | 27 scoped_refptr<TabProxy> tab(browser->GetActiveTab()); 28 ASSERT_TRUE(tab.get()); 30 tab->NavigateToURL(test_server.GetURL( 37 ASSERT_TRUE(tab->ExecuteAndExtractBool( 43 EXPECT_TRUE(tab->WaitForInfoBarCount(1)); 54 scoped_refptr<TabProxy> tab(browser->GetActiveTab()); 55 ASSERT_TRUE(tab.get()); 60 tab->NavigateToURL(test_server.GetURL( 65 ASSERT_TRUE(tab->GetInfoBarCount(&info_bar_count));
|
/external/chromium/chrome/browser/resources/net_internals/ |
tabswitcherview.css | 6 .tab-switcher-view { 10 .tab-switcher-view ul { 16 .tab-switcher-view { 22 .tab-switcher-view li { 27 html[dir=rtl] .tab-switcher-view li { 31 .tab-switcher-view a { 43 .tab-switcher-view a:hover { 48 .tab-switcher-view a:visited, 49 .tab-switcher-view a { 53 .tab-switcher-view .selected [all...] |
/packages/apps/Browser/src/com/android/browser/ |
UI.java | 57 public void addTab(Tab tab); 59 public void removeTab(Tab tab); 61 public void setActiveTab(Tab tab); 63 public void updateTabs(List<Tab> tabs); 65 public void detachTab(Tab tab); 67 public void attachTab(Tab tab) [all...] |
/external/chromium/chrome/browser/extensions/ |
extension_sidebar_api.h | 27 Profile* profile, TabContents* tab, const std::string& content_id, 39 virtual bool RunImpl(TabContents* tab, 46 virtual bool RunImpl(TabContents* tab, 54 virtual bool RunImpl(TabContents* tab, 62 virtual bool RunImpl(TabContents* tab, 70 virtual bool RunImpl(TabContents* tab, 78 virtual bool RunImpl(TabContents* tab, 86 virtual bool RunImpl(TabContents* tab, 94 virtual bool RunImpl(TabContents* tab, 102 virtual bool RunImpl(TabContents* tab, [all...] |
/external/chromium_org/chrome/test/perf/ |
indexeddb_uitest.cc | 38 scoped_refptr<TabProxy> tab(GetActiveTab()); 39 ASSERT_TRUE(tab.get()); 40 ASSERT_EQ(AUTOMATION_MSG_NAVIGATION_SUCCESS, tab->NavigateToURL(test_url)); 43 ASSERT_TRUE(WaitUntilTestCompletes(tab.get(), test_url)); 45 PrintResults(tab.get()); 59 bool WaitUntilTestCompletes(TabProxy* tab, const GURL& test_url) { 60 return WaitUntilCookieValue(tab, test_url, "__done", 64 bool GetResults(TabProxy* tab, ResultsMap* results) { 66 bool succeeded = tab->ExecuteAndExtractString( 80 void PrintResults(TabProxy* tab) { [all...] |
/external/chromium_org/chrome/browser/extensions/api/declarative_content/ |
declarative_content_apitest.cc | 40 content::WebContents* const tab = member in class:extensions::__anon7209::content 42 const int tab_id = ExtensionTabUtil::GetTabId(tab); 44 NavigateInRenderer(tab, GURL("http://test1/")); 51 NavigateInRenderer(tab, GURL("http://not_checked/")); 56 tab, "document.body.innerHTML = '<input type=\"password\">';")); 59 ASSERT_TRUE(content::ExecuteScript(tab, std::string())); 64 tab, "document.body.innerHTML = 'Hello world';")); 67 ASSERT_TRUE(content::ExecuteScript(tab, std::string()));
|
/external/chromium_org/chrome/browser/sessions/ |
session_id.h | 14 // Uniquely identifies a tab or window for the duration of a session. 23 // was used as the contents of a tab), returns a tab id. This value is 24 // immutable for a given tab. It will be unique across Chrome within the 27 static id_type IdForTab(const content::WebContents* tab); 30 // was used as the contents of a tab), and has ever been attached to a Browser 31 // window, returns Browser::session_id().id() for that Browser. If the tab is 37 static id_type IdForWindowContainingTab(const content::WebContents* tab);
|