Home | History | Annotate | Download | only in functional

Lines Matching refs:windex

28   def _GetSearchEngineWithKeyword(self, keyword, windex=0):
33 windex: The window index, default is 0.
38 match_list = ([x for x in self.GetSearchEngineInfo(windex=windex)
44 def _SetPreferences(self, dict, windex=0):
49 windex: The window index, defaults to 0 (the first window).
52 self.SetPrefs(key, dict[key], windex=windex)
54 def _SetStartUpPage(self, url, windex=0):
59 windex: The window index, default is 0.
63 self._SetPreferences(_dict, windex=windex)
64 prefs_info = self.GetPrefsInfo(windex=windex).Prefs(
68 def _SetHomePage(self, url, windex=0):
73 windex: The window index, default is 0.
78 self._SetPreferences(_dict, windex=windex)
80 self.GetPrefsInfo(windex=windex).Prefs(pyauto.kHomePage))
82 def _SetSessionRestoreURLs(self, set_restore, windex=0):
87 windex: The window index, default is 0.
89 self.NavigateToURL('http://www.google.com/', windex)
90 self.AppendTab(pyauto.GURL('http://news.google.com/'), windex)
91 num_tabs = self.GetTabCount(windex)
93 self._SetPreferences(dict, windex=windex)
95 def _AddSearchEngine(self, title, keyword, url, windex=0):
102 windex: The window index, default is 0.
104 self.AddSearchEngine(title, keyword, url, windex=windex)
105 name = self._GetSearchEngineWithKeyword(keyword, windex=windex)
205 self._SetStartUpPage('http://www.google.com', windex=1)
211 self._SetStartUpPage('http://www.yahoo.com', windex=2)
226 self._SetHomePage('http://www.google.com', windex=1)
229 self._SetHomePage('http://www.yahoo.com', windex=2)
245 self._SetSessionRestoreURLs(self._RESTORE_LASTOPEN_URL_VALUE, windex=1)
248 self._SetSessionRestoreURLs(self._RESTORE_DEFAULT_URL_VALUE, windex=2)
269 self.MakeSearchEngineDefault('hulu.com', windex=1)
275 self.MakeSearchEngineDefault('youtube.com', windex=2)
291 self._AddSearchEngine('foo', 'foo.com', 'http://foo/?q=%s', windex=1)
294 self._AddSearchEngine('foo', 'foo.com', 'http://foo/?q=%s', windex=2)
296 self.DeleteSearchEngine('foo.com', windex=1)