HomeSort by relevance Sort by last modified time
    Searched refs:tab_descriptor (Results 1 - 7 of 7) sorted by null

  /external/autotest/client/cros/multimedia/
browser_facade_native.py 36 def close_tab(self, tab_descriptor):
39 @param tab_descriptor: Indicate which tab to be closed.
42 tab = self._resource.get_tab_by_descriptor(tab_descriptor)
44 self._resource.close_tab(tab_descriptor)
facade_resource.py 106 tab_descriptor = hex(id(tab))
107 self._tabs[tab_descriptor] = tab
108 return tab_descriptor
120 def get_tab_by_descriptor(self, tab_descriptor):
126 return self._tabs[tab_descriptor]
130 def close_tab(self, tab_descriptor):
133 @param tab_descriptor: Indicate which tab to be closed.
136 if tab_descriptor not in self._tabs:
137 raise RuntimeError('There is no tab for %s' % tab_descriptor)
138 tab = self._tabs[tab_descriptor]
    [all...]
display_facade_native.py 141 tab_descriptor = self.load_url('chrome://settings-frame/display')
142 tab = self._resource.get_tab_by_descriptor(tab_descriptor)
149 self.close_tab(tab_descriptor)
200 tab_descriptor = self.load_url('chrome://settings-frame/display')
201 tab = self._resource.get_tab_by_descriptor(tab_descriptor)
248 self.close_tab(tab_descriptor)
586 tab_descriptor = self.load_url('file://%s' % path)
587 return tab_descriptor
590 def load_color_sequence(self, tab_descriptor, color_sequence):
592 tab_descriptor is returned by any open tab API of display facade
    [all...]
display_facade_adapter.py 89 def load_color_sequence(self, tab_descriptor, color_sequence):
91 tab_descriptor is returned by any open tab API of display facade.
93 tab_descriptor = load_url('about:blank')
94 load_color_sequence(tab_descriptor, color)
96 @param tab_descriptor: Indicate which tab to test.
100 return self._display_component.load_color_sequence(tab_descriptor,
104 def close_tab(self, tab_descriptor):
106 tab_descriptor is returned by any open tab API of display facade.
109 tab_descriptor = load_url(url)
110 close_tab(tab_descriptor)
    [all...]
  /external/autotest/server/cros/multimedia/
browser_facade_adapter.py 44 def close_tab(self, tab_descriptor):
47 @param tab_descriptor: Indicate which tab to be closed.
50 self._browser_proxy.close_tab(tab_descriptor)
display_facade_adapter.py 97 def load_color_sequence(self, tab_descriptor, color_sequence):
99 tab_descriptor is returned by any open tab API of display facade.
101 tab_descriptor = load_url('about:blank')
102 load_color_sequence(tab_descriptor, color)
104 @param tab_descriptor: Indicate which tab to test.
108 return self._display_proxy.load_color_sequence(tab_descriptor,
112 def close_tab(self, tab_descriptor):
114 tab_descriptor is returned by any open tab API of display facade.
117 tab_descriptor = load_url(url)
118 close_tab(tab_descriptor)
    [all...]
  /external/autotest/server/site_tests/audio_MediaBasicVerification/
audio_MediaBasicVerification.py 64 tab_descriptor = browser_facade.new_tab(audio_test_file)
74 browser_facade.close_tab(tab_descriptor)

Completed in 57 milliseconds