Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(885)

Side by Side Diff: tools/telemetry/docs/pydoc/telemetry.internal.backends.chrome.tab_list_backend.html

Issue 1647513002: Delete tools/telemetry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1
2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
3 <html><head><title>Python: module telemetry.internal.backends.chrome.tab_list_ba ckend</title>
4 <meta charset="utf-8">
5 </head><body bgcolor="#f0f0f8">
6
7 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
8 <tr bgcolor="#7799ee">
9 <td valign=bottom>&nbsp;<br>
10 <font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong><a hre f="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry .internal.html"><font color="#ffffff">internal</font></a>.<a href="telemetry.int ernal.backends.html"><font color="#ffffff">backends</font></a>.<a href="telemetr y.internal.backends.chrome.html"><font color="#ffffff">chrome</font></a>.tab_lis t_backend</strong></big></big></font></td
11 ><td align=right valign=bottom
12 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href= "../telemetry/internal/backends/chrome/tab_list_backend.py">telemetry/internal/b ackends/chrome/tab_list_backend.py</a></font></td></tr></table>
13 <p><tt>#&nbsp;Copyright&nbsp;2013&nbsp;The&nbsp;Chromium&nbsp;Authors.&nbsp; All&nbsp;rights&nbsp;reserved.<br>
14 #&nbsp;Use&nbsp;of&nbsp;this&nbsp;source&nbsp;code&nbsp;is&nbsp;governed&nbsp;by &nbsp;a&nbsp;BSD-style&nbsp;license&nbsp;that&nbsp;can&nbsp;be<br>
15 #&nbsp;found&nbsp;in&nbsp;the&nbsp;LICENSE&nbsp;file.</tt></p>
16 <p>
17 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
18 <tr bgcolor="#aa55cc">
19 <td colspan=3 valign=bottom>&nbsp;<br>
20 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big ></font></td></tr>
21
22 <tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td> &nbsp;</td>
23 <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=t op><a href="telemetry.core.exceptions.html">telemetry.core.exceptions</a><br>
24 <a href="telemetry.internal.backends.chrome_inspector.inspector_backend_list.htm l">telemetry.internal.backends.chrome_inspector.inspector_backend_list</a><br>
25 </td><td width="25%" valign=top><a href="json.html">json</a><br>
26 <a href="telemetry.internal.browser.tab.html">telemetry.internal.browser.tab</a> <br>
27 </td><td width="25%" valign=top><a href="telemetry.core.util.html">telemetry.cor e.util</a><br>
28 </td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
29 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
30 <tr bgcolor="#ee77aa">
31 <td colspan=3 valign=bottom>&nbsp;<br>
32 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big ></font></td></tr>
33
34 <tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td> &nbsp;</td>
35 <td width="100%"><dl>
36 <dt><font face="helvetica, arial"><a href="telemetry.core.exceptions.html#Error" >telemetry.core.exceptions.Error</a>(<a href="exceptions.html#Exception">excepti ons.Exception</a>)
37 </font></dt><dd>
38 <dl>
39 <dt><font face="helvetica, arial"><a href="telemetry.internal.backends.chrome.ta b_list_backend.html#TabUnexpectedResponseException">TabUnexpectedResponseExcepti on</a>
40 </font></dt></dl>
41 </dd>
42 <dt><font face="helvetica, arial"><a href="telemetry.internal.backends.chrome_in spector.inspector_backend_list.html#InspectorBackendList">telemetry.internal.bac kends.chrome_inspector.inspector_backend_list.InspectorBackendList</a>(<a href=" _abcoll.html#Sequence">_abcoll.Sequence</a>)
43 </font></dt><dd>
44 <dl>
45 <dt><font face="helvetica, arial"><a href="telemetry.internal.backends.chrome.ta b_list_backend.html#TabListBackend">TabListBackend</a>
46 </font></dt></dl>
47 </dd>
48 </dl>
49 <p>
50 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
51 <tr bgcolor="#ffc8d8">
52 <td colspan=3 valign=bottom>&nbsp;<br>
53 <font color="#000000" face="helvetica, arial"><a name="TabListBackend">class <st rong>TabListBackend</strong></a>(<a href="telemetry.internal.backends.chrome_ins pector.inspector_backend_list.html#InspectorBackendList">telemetry.internal.back ends.chrome_inspector.inspector_backend_list.InspectorBackendList</a>)</font></t d></tr>
54
55 <tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
56 <td colspan=2><tt>A&nbsp;dynamic&nbsp;sequence&nbsp;of&nbsp;tab.Tabs&nbsp;in&nbs p;UI&nbsp;order.<br>&nbsp;</tt></td></tr>
57 <tr><td>&nbsp;</td>
58 <td width="100%"><dl><dt>Method resolution order:</dt>
59 <dd><a href="telemetry.internal.backends.chrome.tab_list_backend.html#TabListBac kend">TabListBackend</a></dd>
60 <dd><a href="telemetry.internal.backends.chrome_inspector.inspector_backend_list .html#InspectorBackendList">telemetry.internal.backends.chrome_inspector.inspect or_backend_list.InspectorBackendList</a></dd>
61 <dd><a href="_abcoll.html#Sequence">_abcoll.Sequence</a></dd>
62 <dd><a href="_abcoll.html#Sized">_abcoll.Sized</a></dd>
63 <dd><a href="_abcoll.html#Iterable">_abcoll.Iterable</a></dd>
64 <dd><a href="_abcoll.html#Container">_abcoll.Container</a></dd>
65 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
66 </dl>
67 <hr>
68 Methods defined here:<br>
69 <dl><dt><a name="TabListBackend-ActivateTab"><strong>ActivateTab</strong></a>(se lf, tab_id, timeout<font color="#909090">=30</font>)</dt><dd><tt>Activates&nbsp; the&nbsp;tab&nbsp;with&nbsp;the&nbsp;given&nbsp;debugger_url.<br>
70 &nbsp;<br>
71 Raises:<br>
72 &nbsp;&nbsp;devtools_http.DevToolsClientConnectionError<br>
73 &nbsp;&nbsp;devtools_client_backend.TabNotFoundError<br>
74 &nbsp;&nbsp;<a href="#TabUnexpectedResponseException">TabUnexpectedResponseExcep tion</a></tt></dd></dl>
75
76 <dl><dt><a name="TabListBackend-CloseTab"><strong>CloseTab</strong></a>(self, ta b_id, timeout<font color="#909090">=300</font>)</dt><dd><tt>Closes&nbsp;the&nbsp ;tab&nbsp;with&nbsp;the&nbsp;given&nbsp;debugger_url.<br>
77 &nbsp;<br>
78 Raises:<br>
79 &nbsp;&nbsp;devtools_http.DevToolsClientConnectionError<br>
80 &nbsp;&nbsp;devtools_client_backend.TabNotFoundError<br>
81 &nbsp;&nbsp;<a href="#TabUnexpectedResponseException">TabUnexpectedResponseExcep tion</a><br>
82 &nbsp;&nbsp;exceptions.TimeoutException</tt></dd></dl>
83
84 <dl><dt><a name="TabListBackend-CreateWrapper"><strong>CreateWrapper</strong></a >(self, inspector_backend)</dt></dl>
85
86 <dl><dt><a name="TabListBackend-Get"><strong>Get</strong></a>(self, index, ret)< /dt><dd><tt>Returns&nbsp;self[index]&nbsp;if&nbsp;it&nbsp;exists,&nbsp;or&nbsp;r et&nbsp;if&nbsp;index&nbsp;is&nbsp;out&nbsp;of&nbsp;bounds.</tt></dd></dl>
87
88 <dl><dt><a name="TabListBackend-New"><strong>New</strong></a>(self, timeout)</dt ><dd><tt>Makes&nbsp;a&nbsp;new&nbsp;tab.<br>
89 &nbsp;<br>
90 Returns:<br>
91 &nbsp;&nbsp;A&nbsp;Tab&nbsp;object.<br>
92 &nbsp;<br>
93 Raises:<br>
94 &nbsp;&nbsp;devtools_http.DevToolsClientConnectionError</tt></dd></dl>
95
96 <dl><dt><a name="TabListBackend-ShouldIncludeContext"><strong>ShouldIncludeConte xt</strong></a>(self, context)</dt></dl>
97
98 <dl><dt><a name="TabListBackend-__init__"><strong>__init__</strong></a>(self, br owser_backend)</dt></dl>
99
100 <hr>
101 Data and other attributes defined here:<br>
102 <dl><dt><strong>__abstractmethods__</strong> = frozenset([])</dl>
103
104 <hr>
105 Methods inherited from <a href="telemetry.internal.backends.chrome_inspector.ins pector_backend_list.html#InspectorBackendList">telemetry.internal.backends.chrom e_inspector.inspector_backend_list.InspectorBackendList</a>:<br>
106 <dl><dt><a name="TabListBackend-GetBackendFromContextId"><strong>GetBackendFromC ontextId</strong></a>(self, context_id)</dt></dl>
107
108 <dl><dt><a name="TabListBackend-GetContextInfo"><strong>GetContextInfo</strong>< /a>(self, context_id)</dt></dl>
109
110 <dl><dt><a name="TabListBackend-GetTabById"><strong>GetTabById</strong></a>(self , identifier)</dt></dl>
111
112 <dl><dt><a name="TabListBackend-IterContextIds"><strong>IterContextIds</strong>< /a>(self)</dt></dl>
113
114 <dl><dt><a name="TabListBackend-__getitem__"><strong>__getitem__</strong></a>(se lf, index)</dt><dd><tt>#&nbsp;TODO(nednguyen):&nbsp;Remove&nbsp;this&nbsp;method &nbsp;and&nbsp;turn&nbsp;inspector_backend_list&nbsp;API&nbsp;to<br>
115 #&nbsp;dictionary-like&nbsp;API&nbsp;(crbug.com/398467)</tt></dd></dl>
116
117 <dl><dt><a name="TabListBackend-__iter__"><strong>__iter__</strong></a>(self)</d t></dl>
118
119 <dl><dt><a name="TabListBackend-__len__"><strong>__len__</strong></a>(self)</dt> </dl>
120
121 <hr>
122 Data descriptors inherited from <a href="telemetry.internal.backends.chrome_insp ector.inspector_backend_list.html#InspectorBackendList">telemetry.internal.backe nds.chrome_inspector.inspector_backend_list.InspectorBackendList</a>:<br>
123 <dl><dt><strong>app</strong></dt>
124 </dl>
125 <hr>
126 Methods inherited from <a href="_abcoll.html#Sequence">_abcoll.Sequence</a>:<br>
127 <dl><dt><a name="TabListBackend-__contains__"><strong>__contains__</strong></a>( self, value)</dt></dl>
128
129 <dl><dt><a name="TabListBackend-__reversed__"><strong>__reversed__</strong></a>( self)</dt></dl>
130
131 <dl><dt><a name="TabListBackend-count"><strong>count</strong></a>(self, value)</ dt><dd><tt>S.<a href="#TabListBackend-count">count</a>(value)&nbsp;-&gt;&nbsp;in teger&nbsp;--&nbsp;return&nbsp;number&nbsp;of&nbsp;occurrences&nbsp;of&nbsp;valu e</tt></dd></dl>
132
133 <dl><dt><a name="TabListBackend-index"><strong>index</strong></a>(self, value)</ dt><dd><tt>S.<a href="#TabListBackend-index">index</a>(value)&nbsp;-&gt;&nbsp;in teger&nbsp;--&nbsp;return&nbsp;first&nbsp;index&nbsp;of&nbsp;value.<br>
134 Raises&nbsp;ValueError&nbsp;if&nbsp;the&nbsp;value&nbsp;is&nbsp;not&nbsp;present .</tt></dd></dl>
135
136 <hr>
137 Class methods inherited from <a href="_abcoll.html#Sized">_abcoll.Sized</a>:<br>
138 <dl><dt><a name="TabListBackend-__subclasshook__"><strong>__subclasshook__</stro ng></a>(cls, C)<font color="#909090"><font face="helvetica, arial"> from <a href ="abc.html#ABCMeta">abc.ABCMeta</a></font></font></dt></dl>
139
140 <hr>
141 Data descriptors inherited from <a href="_abcoll.html#Sized">_abcoll.Sized</a>:< br>
142 <dl><dt><strong>__dict__</strong></dt>
143 <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)< /tt></dd>
144 </dl>
145 <dl><dt><strong>__weakref__</strong></dt>
146 <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp ;(if&nbsp;defined)</tt></dd>
147 </dl>
148 <hr>
149 Data and other attributes inherited from <a href="_abcoll.html#Sized">_abcoll.Si zed</a>:<br>
150 <dl><dt><strong>__metaclass__</strong> = &lt;class 'abc.ABCMeta'&gt;<dd><tt>Meta class&nbsp;for&nbsp;defining&nbsp;Abstract&nbsp;Base&nbsp;Classes&nbsp;(ABCs).<b r>
151 &nbsp;<br>
152 Use&nbsp;this&nbsp;metaclass&nbsp;to&nbsp;create&nbsp;an&nbsp;ABC.&nbsp;&nbsp;An &nbsp;ABC&nbsp;can&nbsp;be&nbsp;subclassed<br>
153 directly,&nbsp;and&nbsp;then&nbsp;acts&nbsp;as&nbsp;a&nbsp;mix-in&nbsp;class.&nb sp;&nbsp;You&nbsp;can&nbsp;also&nbsp;register<br>
154 unrelated&nbsp;concrete&nbsp;classes&nbsp;(even&nbsp;built-in&nbsp;classes)&nbsp ;and&nbsp;unrelated<br>
155 ABCs&nbsp;as&nbsp;'virtual&nbsp;subclasses'&nbsp;--&nbsp;these&nbsp;and&nbsp;the ir&nbsp;descendants&nbsp;will<br>
156 be&nbsp;considered&nbsp;subclasses&nbsp;of&nbsp;the&nbsp;registering&nbsp;ABC&nb sp;by&nbsp;the&nbsp;built-in<br>
157 issubclass()&nbsp;function,&nbsp;but&nbsp;the&nbsp;registering&nbsp;ABC&nbsp;won 't&nbsp;show&nbsp;up&nbsp;in<br>
158 their&nbsp;MRO&nbsp;(Method&nbsp;Resolution&nbsp;Order)&nbsp;nor&nbsp;will&nbsp; method<br>
159 implementations&nbsp;defined&nbsp;by&nbsp;the&nbsp;registering&nbsp;ABC&nbsp;be& nbsp;callable&nbsp;(not<br>
160 even&nbsp;via&nbsp;super()).</tt></dl>
161
162 </td></tr></table> <p>
163 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
164 <tr bgcolor="#ffc8d8">
165 <td colspan=3 valign=bottom>&nbsp;<br>
166 <font color="#000000" face="helvetica, arial"><a name="TabUnexpectedResponseExce ption">class <strong>TabUnexpectedResponseException</strong></a>(<a href="teleme try.core.exceptions.html#Error">telemetry.core.exceptions.Error</a>)</font></td> </tr>
167
168 <tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
169 <td width="100%"><dl><dt>Method resolution order:</dt>
170 <dd><a href="telemetry.internal.backends.chrome.tab_list_backend.html#TabUnexpec tedResponseException">TabUnexpectedResponseException</a></dd>
171 <dd><a href="telemetry.core.exceptions.html#Error">telemetry.core.exceptions.Err or</a></dd>
172 <dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
173 <dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
174 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
175 </dl>
176 <hr>
177 Methods inherited from <a href="telemetry.core.exceptions.html#Error">telemetry. core.exceptions.Error</a>:<br>
178 <dl><dt><a name="TabUnexpectedResponseException-AddDebuggingMessage"><strong>Add DebuggingMessage</strong></a>(self, msg)</dt><dd><tt>Adds&nbsp;a&nbsp;message&nb sp;to&nbsp;the&nbsp;description&nbsp;of&nbsp;the&nbsp;exception.<br>
179 &nbsp;<br>
180 Many&nbsp;Telemetry&nbsp;exceptions&nbsp;arise&nbsp;from&nbsp;failures&nbsp;in&n bsp;another&nbsp;application.&nbsp;These<br>
181 failures&nbsp;are&nbsp;difficult&nbsp;to&nbsp;pinpoint.&nbsp;This&nbsp;method&nb sp;allows&nbsp;Telemetry&nbsp;classes&nbsp;to<br>
182 append&nbsp;useful&nbsp;debugging&nbsp;information&nbsp;to&nbsp;the&nbsp;excepti on.&nbsp;This&nbsp;method&nbsp;also&nbsp;logs<br>
183 information&nbsp;about&nbsp;the&nbsp;location&nbsp;from&nbsp;where&nbsp;it&nbsp; was&nbsp;called.</tt></dd></dl>
184
185 <dl><dt><a name="TabUnexpectedResponseException-__init__"><strong>__init__</stro ng></a>(self, msg<font color="#909090">=''</font>)</dt></dl>
186
187 <dl><dt><a name="TabUnexpectedResponseException-__str__"><strong>__str__</strong ></a>(self)</dt></dl>
188
189 <hr>
190 Data descriptors inherited from <a href="telemetry.core.exceptions.html#Error">t elemetry.core.exceptions.Error</a>:<br>
191 <dl><dt><strong>__weakref__</strong></dt>
192 <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp ;(if&nbsp;defined)</tt></dd>
193 </dl>
194 <hr>
195 Data and other attributes inherited from <a href="exceptions.html#Exception">exc eptions.Exception</a>:<br>
196 <dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt ;<dd><tt>T.<a href="#TabUnexpectedResponseException-__new__">__new__</a>(S,&nbsp ;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;object&nbsp;with&nbsp;type&nbsp;S,&nbsp;a& nbsp;subtype&nbsp;of&nbsp;T</tt></dl>
197
198 <hr>
199 Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseEx ception</a>:<br>
200 <dl><dt><a name="TabUnexpectedResponseException-__delattr__"><strong>__delattr__ </strong></a>(...)</dt><dd><tt>x.<a href="#TabUnexpectedResponseException-__dela ttr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></d l>
201
202 <dl><dt><a name="TabUnexpectedResponseException-__getattribute__"><strong>__geta ttribute__</strong></a>(...)</dt><dd><tt>x.<a href="#TabUnexpectedResponseExcept ion-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</ tt></dd></dl>
203
204 <dl><dt><a name="TabUnexpectedResponseException-__getitem__"><strong>__getitem__ </strong></a>(...)</dt><dd><tt>x.<a href="#TabUnexpectedResponseException-__geti tem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>
205
206 <dl><dt><a name="TabUnexpectedResponseException-__getslice__"><strong>__getslice __</strong></a>(...)</dt><dd><tt>x.<a href="#TabUnexpectedResponseException-__ge tslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
207 &nbsp;<br>
208 Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd ></dl>
209
210 <dl><dt><a name="TabUnexpectedResponseException-__reduce__"><strong>__reduce__</ strong></a>(...)</dt></dl>
211
212 <dl><dt><a name="TabUnexpectedResponseException-__repr__"><strong>__repr__</stro ng></a>(...)</dt><dd><tt>x.<a href="#TabUnexpectedResponseException-__repr__">__ repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>
213
214 <dl><dt><a name="TabUnexpectedResponseException-__setattr__"><strong>__setattr__ </strong></a>(...)</dt><dd><tt>x.<a href="#TabUnexpectedResponseException-__seta ttr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nb sp;value</tt></dd></dl>
215
216 <dl><dt><a name="TabUnexpectedResponseException-__setstate__"><strong>__setstate __</strong></a>(...)</dt></dl>
217
218 <dl><dt><a name="TabUnexpectedResponseException-__unicode__"><strong>__unicode__ </strong></a>(...)</dt></dl>
219
220 <hr>
221 Data descriptors inherited from <a href="exceptions.html#BaseException">exceptio ns.BaseException</a>:<br>
222 <dl><dt><strong>__dict__</strong></dt>
223 </dl>
224 <dl><dt><strong>args</strong></dt>
225 </dl>
226 <dl><dt><strong>message</strong></dt>
227 </dl>
228 </td></tr></table></td></tr></table>
229 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698