OLD | NEW |
| (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> <br> | |
10 <font color="#ffffff" face="helvetica, arial"> <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># Copyright 2013 The Chromium Authors.
All rights reserved.<br> | |
14 # Use of this source code is governed by
a BSD-style license that can be<br> | |
15 # found in the LICENSE 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> <br> | |
20 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big
></font></td></tr> | |
21 | |
22 <tr><td bgcolor="#aa55cc"><tt> </tt></td><td>
</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> <br> | |
32 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big
></font></td></tr> | |
33 | |
34 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td>
</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> <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> </tt></td> | |
56 <td colspan=2><tt>A dynamic sequence of tab.Tabs in&nbs
p;UI order.<br> </tt></td></tr> | |
57 <tr><td> </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
the tab with the given debugger_url.<br> | |
70 <br> | |
71 Raises:<br> | |
72 devtools_http.DevToolsClientConnectionError<br> | |
73 devtools_client_backend.TabNotFoundError<br> | |
74 <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 the 
;tab with the given debugger_url.<br> | |
77 <br> | |
78 Raises:<br> | |
79 devtools_http.DevToolsClientConnectionError<br> | |
80 devtools_client_backend.TabNotFoundError<br> | |
81 <a href="#TabUnexpectedResponseException">TabUnexpectedResponseExcep
tion</a><br> | |
82 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 self[index] if it exists, or r
et if index is out of bounds.</tt></dd></dl> | |
87 | |
88 <dl><dt><a name="TabListBackend-New"><strong>New</strong></a>(self, timeout)</dt
><dd><tt>Makes a new tab.<br> | |
89 <br> | |
90 Returns:<br> | |
91 A Tab object.<br> | |
92 <br> | |
93 Raises:<br> | |
94 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># TODO(nednguyen): Remove this method
and turn inspector_backend_list API to<br> | |
115 # dictionary-like API (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) -> in
teger -- return number of occurrences of 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) -> in
teger -- return first index of value.<br> | |
134 Raises ValueError if the value is not 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 for instance variables (if defined)<
/tt></dd> | |
144 </dl> | |
145 <dl><dt><strong>__weakref__</strong></dt> | |
146 <dd><tt>list of weak references to the object 
;(if 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> = <class 'abc.ABCMeta'><dd><tt>Meta
class for defining Abstract Base Classes (ABCs).<b
r> | |
151 <br> | |
152 Use this metaclass to create an ABC. An
ABC can be subclassed<br> | |
153 directly, and then acts as a mix-in class.&nb
sp; You can also register<br> | |
154 unrelated concrete classes (even built-in classes) 
;and unrelated<br> | |
155 ABCs as 'virtual subclasses' -- these and the
ir descendants will<br> | |
156 be considered subclasses of the registering ABC&nb
sp;by the built-in<br> | |
157 issubclass() function, but the registering ABC won
't show up in<br> | |
158 their MRO (Method Resolution Order) nor will
method<br> | |
159 implementations defined by the registering ABC be&
nbsp;callable (not<br> | |
160 even via 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> <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> </tt></td><td> </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 a message&nb
sp;to the description of the exception.<br> | |
179 <br> | |
180 Many Telemetry exceptions arise from failures in&n
bsp;another application. These<br> | |
181 failures are difficult to pinpoint. This method&nb
sp;allows Telemetry classes to<br> | |
182 append useful debugging information to the excepti
on. This method also logs<br> | |
183 information about the location from where it
was 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 of weak references to the object 
;(if 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> = <built-in method __new__ of type object>
;<dd><tt>T.<a href="#TabUnexpectedResponseException-__new__">__new__</a>(S, 
;...) -> a new object with type S, a&
nbsp;subtype of 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') <==> del 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') <==> 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) <==> 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, j) <==> x[i:j]<br> | |
207 <br> | |
208 Use of negative indices is not 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>() <==> 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', value) <==> x.name =&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> | |
OLD | NEW |