/external/chromium_org/chrome/test/pyautolib/ |
chromotinglib.py | 30 def _ExecuteJavascript(self, command, tab_index, windex): 36 tab_index, windex) 42 def _WaitForJavascriptCondition(self, condition, tab_index, windex, 53 '(%s) ? "1" : ""' % condition, tab_index, windex), timeout) 58 def _ExecuteAndWaitForMode(self, command, mode, tab_index, windex): 64 if not self._ExecuteJavascript(command, tab_index, windex): 68 tab_index, windex) 70 def _ExecuteAndWaitForMajorMode(self, command, mode, tab_index, windex): 76 if not self._ExecuteJavascript(command, tab_index, windex): 80 tab_index, windex [all...] |
pyautolib.h | 85 int window_index = 0, int tab_index = 0); 88 int tab_index = 0);
|
/external/chromium/chrome/browser/ |
browser_keyevents_browsertest.cc | 141 void SuppressEventByType(int tab_index, const wchar_t* type, bool suppress) { 142 ASSERT_LT(tab_index, browser()->tab_count()); 145 browser()->GetTabContentsAt(tab_index)->render_view_host(), 152 void SuppressEvents(int tab_index, bool keydown, bool keypress, 155 SuppressEventByType(tab_index, L"keydown", keydown)); 157 SuppressEventByType(tab_index, L"keypress", keypress)); 159 SuppressEventByType(tab_index, L"keyup", keyup)); 161 SuppressEventByType(tab_index, L"textInput", textinput)); 164 void SuppressAllEvents(int tab_index, bool suppress) { 165 SuppressEvents(tab_index, suppress, suppress, suppress, suppress) 358 int tab_index = browser()->active_index(); local 443 int tab_index = browser()->active_index(); local 488 int tab_index = browser()->active_index(); local 585 int tab_index = browser()->active_index(); local 750 int tab_index = browser()->active_index(); local 787 int tab_index = browser()->active_index(); local 828 int tab_index = browser()->active_index(); local [all...] |
/external/chromium_org/chrome/browser/ |
browser_keyevents_browsertest.cc | 151 void SuppressEventByType(int tab_index, const wchar_t* type, bool suppress) { 152 ASSERT_LT(tab_index, browser()->tab_strip_model()->count()); 155 browser()->tab_strip_model()->GetWebContentsAt(tab_index), 161 void SuppressEvents(int tab_index, bool keydown, bool keypress, 164 SuppressEventByType(tab_index, L"keydown", keydown)); 166 SuppressEventByType(tab_index, L"keypress", keypress)); 168 SuppressEventByType(tab_index, L"keyup", keyup)); 170 SuppressEventByType(tab_index, L"textInput", textinput)); 173 void SuppressAllEvents(int tab_index, bool suppress) { 174 SuppressEvents(tab_index, suppress, suppress, suppress, suppress) 370 int tab_index = browser()->tab_strip_model()->active_index(); local 464 int tab_index = browser()->tab_strip_model()->active_index(); local 510 int tab_index = browser()->tab_strip_model()->active_index(); local 611 int tab_index = browser()->tab_strip_model()->active_index(); local 784 int tab_index = browser()->tab_strip_model()->active_index(); local 822 int tab_index = browser()->tab_strip_model()->active_index(); local 864 int tab_index = browser()->tab_strip_model()->active_index(); local [all...] |
/external/chromium_org/chrome/test/functional/ |
secure_shell.py | 66 self.WaitForDomNode(login_ui_frame, tab_index=1, 68 self.WaitForDomNode('id("field-description")', tab_index=1, 85 self.WaitForHtermText('continue connecting \(yes/no\)\?', tab_index=1, 87 welcome_text = self.GetHtermRowsText(0, 8, tab_index=1) 92 self.SendKeysToHterm('yes\\n', tab_index=1) 93 self.WaitForHtermText('Password:', tab_index=1, 95 self.SendKeysToHterm('test0000\\n', tab_index=1) 96 self.WaitForHtermText('chronos@localhost $', tab_index=1, 100 self.SendKeysToHterm('exit\\n', tab_index=1) 104 self.WaitForHtermText('code 0', tab_index=1 [all...] |
nacl_sdk.py | 266 self.CloseTab(tab_index=index) 276 Takes (tab_index, name, url) as parameters. 283 tab_index = None 287 tab_index = tab['index'] 290 if tab_index: 291 verify_func(tab_index, name, url) 293 def _VerifyElementPresent(self, element_id, expected_value, tab_index, msg, 300 tab_index: Tab index to work on. 315 lambda: self.ExecuteJavascript(js_code, tab_index), 334 def _VerifyInputEventsExample(self, tab_index, name, url) [all...] |
infobars.py | 44 def _GetTabInfo(self, windex=0, tab_index=0): 49 return self.GetBrowserInfo()['windows'][windex]['tabs'][tab_index] 73 def _VerifyGeolocationInfobar(self, windex, tab_index): 81 tab_info = self._GetTabInfo(windex, tab_index) 95 self._VerifyGeolocationInfobar(windex=0, tab_index=0) 104 for tab_index in range(1, 2): 107 self.WaitForInfobarCount(1, windex=0, tab_index=tab_index)) 108 self._VerifyGeolocationInfobar(windex=0, tab_index=tab_index) [all...] |
test_utils.py | 73 tab_index=0, windex=0, url=None): 83 tab_index: The tab index, default is 0. 88 test.NavigateToURL(url, windex, tab_index) 93 test.ExecuteJavascript(email_id, tab_index, windex) 94 test.ExecuteJavascript(password, tab_index, windex) 95 test.assertTrue(test.SubmitForm('gaia_loginform', tab_index, windex)) 98 def VerifyGoogleAccountCredsFilled(test, username, password, tab_index=0, 106 tab_index: The tab index, default is 0. 110 tab_index, windex) 112 tab_index, windex [all...] |
passwords.py | 64 def _ClickOnLoginPage(self, window_index, tab_index): 77 self.ExecuteJavascript(click_js, tab_index, window_index) 90 tab_index, window_index) != '' and 92 tab_index, window_index) != '')) 144 tab_index=0, windex=0) 160 self, creds2['username'], creds2['password'], tab_index=1) 164 self, self.INFOBAR_TYPE, tab_index=1), tab_index=1) 187 tab_index=0, windex=0) 191 tab_index=1, windex=0 [all...] |
chromeos_crosh.py | 71 self.WaitForHtermText(text='crosh> ', tab_index=1, windex=windex, 74 self.GetHtermRowsText(start=0, end=2, tab_index=1, 79 self.SendKeysToHterm('exit\\n', tab_index=1, windex=windex) 81 tab_index=1, windex=windex, 138 self.SendKeysToHterm('help\\n', tab_index=4, windex=0) 139 self.WaitForHtermText(text='help_advanced', tab_index=4, windex=0,
|
stress.py | 161 for tab_index in xrange(tab_count - 1, 0, -1): 162 self.CloseTab(tab_index) 172 for tab_index in range(self.GetTabCount()): 173 self.ReloadTab(tab_index) 194 for tab_index in range(1, 10): 195 if tab_index < 6: 199 self.NavigateToURL(self.flash_url2, tab_index, 0) 200 self.AppendTab(pyauto.GURL(self.flash_url2), tab_index) 215 for tab_index in range(1, 5): 216 if tab_index < 6 [all...] |
chromeos_longterm_test.py | 36 for tab_index, tab in enumerate(tabs): 39 self.ActivateTab(tab_index, window_index) 40 return [tab_index, window_index]
|
/external/chromium_org/chrome/browser/ui/toolbar/ |
recent_tabs_builder_test_helper.h | 44 int tab_index); 47 int tab_index); 50 int tab_index); 64 int tab_index,
|
recent_tabs_builder_test_helper.cc | 155 int tab_index) { 156 return sessions_[session_index].windows[window_index].tabs[tab_index].id; 161 int tab_index) { 163 .tabs[tab_index].timestamp; 168 int tab_index) { 170 sessions_[session_index].windows[window_index].tabs[tab_index].title; 175 GetTabID(session_index, window_index, tab_index))); 259 int tab_index, 263 SessionID::id_type tab_id = GetTabID(session_index, window_index, tab_index); 278 session_index, window_index, tab_index))); [all...] |
/external/chromium_org/chrome/test/functional/media/ |
media_stat_perf.py | 60 self.CallJavascriptFunc('startTest', [file_url], tab_index=1)) 70 self.GetDOMValue("decodedFPS.join(',')", tab_index=1).split(',')] 71 dropped_frames = self.GetDOMValue('droppedFrames', tab_index=1) 74 self.GetDOMValue("droppedFPS.join(',')", tab_index=1).split(',')] 81 self.CloseTab(tab_index=1)
|
/external/chromium_org/chrome/browser/extensions/ |
extension_tab_util.h | 59 int tab_index, 71 int tab_index); 85 // Gets the |tab_strip_model| and |tab_index| for the given |web_contents|. 88 int* tab_index); 92 // Any out parameter (|browser|, |tab_strip|, |contents|, & |tab_index|) may 98 int* tab_index);
|
extension_tab_util_android.cc | 44 int tab_index, 61 int tab_index) { 69 int* tab_index) { 89 int* tab_index) {
|
extension_tab_util.cc | 89 int tab_index, 96 return controller->CreateTabValue(extension, tab_index); 98 DictionaryValue *result = CreateTabValue(contents, tab_strip, tab_index); 121 int tab_index) { 126 return controller->CreateTabValue(NULL, tab_index); 129 ExtensionTabUtil::GetTabStripModel(contents, &tab_strip, &tab_index); 134 result->SetInteger(keys::kIndexKey, tab_index); 138 tab_strip && tab_index == tab_strip->active_index()); 140 tab_strip && tab_index == tab_strip->active_index()); 142 tab_strip && tab_strip->IsTabSelected(tab_index)); [all...] |
browser_extension_window_controller.cc | 60 const extensions::Extension* extension, int tab_index) const { 63 tab_strip->GetWebContentsAt(tab_index), tab_strip, tab_index);
|
/external/chromium/chrome/browser/automation/ |
automation_provider_json.cc | 81 int browser_index, tab_index; local 86 if (!args->GetInteger("tab_index", &tab_index)) { 87 *error = "'tab_index' missing or invalid"; 90 *tab = automation_util::GetTabContentsAt(browser_index, tab_index);
|
/external/chromium_org/chrome/browser/ui/ |
browser_tabrestore.h | 26 // system. If select is true, the tab is selected. |tab_index| gives the index 30 // extension. If |pin| is true and |tab_index|/ is the last pinned tab, then 39 int tab_index,
|
singleton_tabs.cc | 94 int tab_index = (start_index + i) % tab_count; local 96 params->browser->tab_strip_model()->GetWebContentsAt(tab_index); 125 return tab_index;
|
/external/chromium_org/chrome/test/automation/ |
browser_proxy.h | 36 // Activates the tab corresponding to (zero-based) tab_index. Returns true if 38 bool ActivateTab(int tab_index) WARN_UNUSED_RESULT; 66 scoped_refptr<TabProxy> GetTab(int tab_index) const;
|
/external/chromium_org/chrome/test/perf/ |
memory_test.cc | 154 int tab_index = counter % num_target_tabs; // A pseudo-random tab. local 155 tab = window->GetTab(tab_index); 160 int tab_index, tab_count; local 161 EXPECT_TRUE(window->GetActiveTabIndex(&tab_index)); 163 tab_index = (tab_index + 1) % tab_count; 164 tab = window->GetTab(tab_index);
|
/external/chromium/chrome/browser/extensions/ |
extension_tabs_module.h | 34 int tab_index); 37 // Gets the |tab_strip_model| and |tab_index| for the given |tab_contents|. 40 int* tab_index); 43 // Any out parameter (|browser|, |tab_strip|, |contents|, & |tab_index|) may 49 int* tab_index);
|