HomeSort by relevance Sort by last modified time
    Searched refs:tab_index (Results 1 - 25 of 114) sorted by null

1 2 3 4 5

  /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...]
  /external/chromium_org/chrome/test/functional/
webrtc_call.py 87 self.WaitUntilHangUpVerified(tab_index=1)
89 self.Disconnect(tab_index=0)
90 self.Disconnect(tab_index=1)
93 self.AssertNoFailures(tab_index=0)
94 self.AssertNoFailures(tab_index=1)
118 renderer_process = self._GetChromeRendererProcess(tab_index=0)
141 self.assertEquals('ok-got-stream', self.GetUserMedia(tab_index=0))
142 self._StartDetectingVideo(tab_index=0, video_element='local-view')
144 self._WaitForVideo(tab_index=0, expect_playing=True)
150 self.GetUserMedia(tab_index=0
    [all...]
webrtc_test_base.py 37 def GetUserMedia(self, tab_index, action='accept',
42 tab_index: The tab to request user media on.
54 'getUserMedia("%s")' % constraints, tab_index=tab_index))
56 self.WaitForInfobarCount(1, tab_index=tab_index)
57 self.PerformActionOnInfobar(action, infobar_index=0, tab_index=tab_index)
58 self.WaitForGetUserMediaResult(tab_index=0)
60 result = self.GetUserMediaResult(tab_index=0
    [all...]
webrtc_brutality_test.py 29 self.GetUserMedia(tab_index=0, action='accept')
31 self._GetUserMediaWithoutTakingAction(tab_index=0)
32 self.ReloadTab(tab_index=0)
45 self.GetUserMedia(tab_index=0, action='accept')
47 self._GetUserMediaWithoutTakingAction(tab_index=0)
52 self.GetUserMedia(tab_index=0, action='accept')
53 self.ReloadTab(tab_index=0)
58 self._GetUserMediaWithoutTakingAction(tab_index=0)
59 self.CloseTab(tab_index=0)
64 self.GetUserMedia(tab_index=0, action='accept'
    [all...]
webrtc_apprtc_call.py 33 self.WaitForInfobarCount(1, tab_index=0)
34 self.PerformActionOnInfobar('accept', infobar_index=0, tab_index=0)
36 self._WaitForCallEstablishment(tab_index=0)
47 self.WaitForInfobarCount(1, tab_index=0)
48 self.WaitForInfobarCount(1, tab_index=1)
50 self.PerformActionOnInfobar('accept', infobar_index=0, tab_index=0)
54 self.PerformActionOnInfobar('accept', infobar_index=0, tab_index=1)
56 self._WaitForCallEstablishment(tab_index=0)
57 self._WaitForCallEstablishment(tab_index=1)
59 def _WaitForCallEstablishment(self, tab_index)
    [all...]
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...]
webrtc_audio_quality.py 117 self.Connect('user_1', tab_index=0)
118 self.Connect('user_2', tab_index=1)
120 self.CreatePeerConnection(tab_index=0)
121 self.AddWebAudioFile(tab_index=0, input_relative_path=input_relative_path)
130 self.PlayWebAudioFile(tab_index=0)
137 self.WaitUntilHangUpVerified(tab_index=1)
139 self.Disconnect(tab_index=0)
140 self.Disconnect(tab_index=1)
143 self.AssertNoFailures(tab_index=0)
144 self.AssertNoFailures(tab_index=1
    [all...]
webrtc_video_quality.py 115 self.assertEquals('ok-got-stream', self.GetUserMedia(tab_index=0))
116 self.assertEquals('ok-got-stream', self.GetUserMedia(tab_index=1))
117 self.Connect('user_1', tab_index=0)
118 self.Connect('user_2', tab_index=1)
120 self.CreatePeerConnection(tab_index=0)
121 self.AddUserMediaLocalStream(tab_index=0)
128 tab_index=1),
138 self.WaitUntilHangUpVerified(tab_index=1)
140 self.Disconnect(tab_index=0)
141 self.Disconnect(tab_index=1
    [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,
media_stream_infobar.py 77 self.WaitForGetUserMediaResult(tab_index=0)
79 return self.GetUserMediaResult(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 152 void SuppressEventByType(int tab_index, const wchar_t* type, bool suppress) {
153 ASSERT_LT(tab_index, browser()->tab_strip_model()->count());
156 browser()->tab_strip_model()->GetWebContentsAt(tab_index),
162 void SuppressEvents(int tab_index, bool keydown, bool keypress,
165 SuppressEventByType(tab_index, L"keydown", keydown));
167 SuppressEventByType(tab_index, L"keypress", keypress));
169 SuppressEventByType(tab_index, L"keyup", keyup));
171 SuppressEventByType(tab_index, L"textInput", textinput));
174 void SuppressAllEvents(int tab_index, bool suppress) {
175 SuppressEvents(tab_index, suppress, suppress, suppress, suppress)
380 int tab_index = browser()->tab_strip_model()->active_index(); local
474 int tab_index = browser()->tab_strip_model()->active_index(); local
520 int tab_index = browser()->tab_strip_model()->active_index(); local
621 int tab_index = browser()->tab_strip_model()->active_index(); local
796 int tab_index = browser()->tab_strip_model()->active_index(); local
834 int tab_index = browser()->tab_strip_model()->active_index(); local
876 int tab_index = browser()->tab_strip_model()->active_index(); local
    [all...]
  /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,
  /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_android.cc 38 int tab_index,
54 int tab_index) {
61 int* tab_index) {
79 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);
extension_tab_util.h 61 int tab_index,
73 int tab_index);
87 // Gets the |tab_strip_model| and |tab_index| for the given |web_contents|.
90 int* tab_index);
94 // Any out parameter (|browser|, |tab_strip|, |contents|, & |tab_index|) may
100 int* 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,
  /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;

Completed in 370 milliseconds

1 2 3 4 5