OLD | NEW |
| (Empty) |
1 | |
2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> | |
3 <html><head><title>Python: module telemetry.core.chrome.browser_backend</title> | |
4 </head><body bgcolor="#f0f0f8"> | |
5 | |
6 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> | |
7 <tr bgcolor="#7799ee"> | |
8 <td valign=bottom> <br> | |
9 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a hre
f="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry
.core.html"><font color="#ffffff">core</font></a>.<a href="telemetry.core.chrome
.html"><font color="#ffffff">chrome</font></a>.browser_backend</strong></big></b
ig></font></td | |
10 ><td align=right valign=bottom | |
11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href=
"../telemetry/core/chrome/browser_backend.py">telemetry/core/chrome/browser_back
end.py</a></font></td></tr></table> | |
12 <p><tt># Copyright (c) 2012 The Chromium Autho
rs. All rights reserved.<br> | |
13 # Use of this source code is governed by
a BSD-style license that can be<br> | |
14 # found in the LICENSE file.</tt></p> | |
15 <p> | |
16 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | |
17 <tr bgcolor="#aa55cc"> | |
18 <td colspan=3 valign=bottom> <br> | |
19 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big
></font></td></tr> | |
20 | |
21 <tr><td bgcolor="#aa55cc"><tt> </tt></td><td>
</td> | |
22 <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> | |
23 <a href="telemetry.core.chrome.extension_dict_backend.html">telemetry.core.chrom
e.extension_dict_backend</a><br> | |
24 <a href="httplib.html">httplib</a><br> | |
25 <a href="json.html">json</a><br> | |
26 <a href="telemetry.core.chrome.misc_web_contents_backend.html">telemetry.core.ch
rome.misc_web_contents_backend</a><br> | |
27 </td><td width="25%" valign=top><a href="telemetry.unittest.options_for_unittest
s.html">telemetry.unittest.options_for_unittests</a><br> | |
28 <a href="re.html">re</a><br> | |
29 <a href="socket.html">socket</a><br> | |
30 <a href="sys.html">sys</a><br> | |
31 <a href="telemetry.core.chrome.tab_list_backend.html">telemetry.core.chrome.tab_
list_backend</a><br> | |
32 </td><td width="25%" valign=top><a href="telemetry.core.chrome.tracing_backend.h
tml">telemetry.core.chrome.tracing_backend</a><br> | |
33 <a href="urllib2.html">urllib2</a><br> | |
34 <a href="telemetry.core.user_agent.html">telemetry.core.user_agent</a><br> | |
35 <a href="telemetry.core.util.html">telemetry.core.util</a><br> | |
36 <a href="telemetry.core.web_contents.html">telemetry.core.web_contents</a><br> | |
37 </td><td width="25%" valign=top><a href="telemetry.core.wpr_modes.html">telemetr
y.core.wpr_modes</a><br> | |
38 <a href="telemetry.core.wpr_server.html">telemetry.core.wpr_server</a><br> | |
39 </td></tr></table></td></tr></table><p> | |
40 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | |
41 <tr bgcolor="#ee77aa"> | |
42 <td colspan=3 valign=bottom> <br> | |
43 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big
></font></td></tr> | |
44 | |
45 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td>
</td> | |
46 <td width="100%"><dl> | |
47 <dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.
object</a> | |
48 </font></dt><dd> | |
49 <dl> | |
50 <dt><font face="helvetica, arial"><a href="telemetry.core.chrome.browser_backend
.html#BrowserBackend">BrowserBackend</a> | |
51 </font></dt><dt><font face="helvetica, arial"><a href="telemetry.core.chrome.bro
wser_backend.html#DoNothingForwarder">DoNothingForwarder</a> | |
52 </font></dt></dl> | |
53 </dd> | |
54 <dt><font face="helvetica, arial"><a href="exceptions.html#Exception">exceptions
.Exception</a>(<a href="exceptions.html#BaseException">exceptions.BaseException<
/a>) | |
55 </font></dt><dd> | |
56 <dl> | |
57 <dt><font face="helvetica, arial"><a href="telemetry.core.chrome.browser_backend
.html#ExtensionsNotSupportedException">ExtensionsNotSupportedException</a> | |
58 </font></dt></dl> | |
59 </dd> | |
60 </dl> | |
61 <p> | |
62 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | |
63 <tr bgcolor="#ffc8d8"> | |
64 <td colspan=3 valign=bottom> <br> | |
65 <font color="#000000" face="helvetica, arial"><a name="BrowserBackend">class <st
rong>BrowserBackend</strong></a>(<a href="__builtin__.html#object">__builtin__.o
bject</a>)</font></td></tr> | |
66 | |
67 <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> | |
68 <td colspan=2><tt>A base class for browser backends.&nb
sp;Provides basic functionality<br> | |
69 once a remote-debugger port has been established.<
br> </tt></td></tr> | |
70 <tr><td> </td> | |
71 <td width="100%">Methods defined here:<br> | |
72 <dl><dt><a name="BrowserBackend-Close"><strong>Close</strong></a>(self)</dt></dl
> | |
73 | |
74 <dl><dt><a name="BrowserBackend-CreateForwarder"><strong>CreateForwarder</strong
></a>(self, *port_pairs)</dt></dl> | |
75 | |
76 <dl><dt><a name="BrowserBackend-GetBrowserStartupArgs"><strong>GetBrowserStartup
Args</strong></a>(self)</dt></dl> | |
77 | |
78 <dl><dt><a name="BrowserBackend-GetProcessName"><strong>GetProcessName</strong><
/a>(self, cmd_line)</dt><dd><tt>Returns a user-friendly name 
;for the process of the given |cmd_line|.</tt></dd
></dl> | |
79 | |
80 <dl><dt><a name="BrowserBackend-GetRemotePort"><strong>GetRemotePort</strong></a
>(self, _)</dt></dl> | |
81 | |
82 <dl><dt><a name="BrowserBackend-GetStackTrace"><strong>GetStackTrace</strong></a
>(self)</dt></dl> | |
83 | |
84 <dl><dt><a name="BrowserBackend-GetStandardOutput"><strong>GetStandardOutput</st
rong></a>(self)</dt></dl> | |
85 | |
86 <dl><dt><a name="BrowserBackend-GetTraceResultAndReset"><strong>GetTraceResultAn
dReset</strong></a>(self)</dt></dl> | |
87 | |
88 <dl><dt><a name="BrowserBackend-IsBrowserRunning"><strong>IsBrowserRunning</stro
ng></a>(self)</dt></dl> | |
89 | |
90 <dl><dt><a name="BrowserBackend-Request"><strong>Request</strong></a>(self, path
, timeout<font color="#909090">=None</font>)</dt></dl> | |
91 | |
92 <dl><dt><a name="BrowserBackend-SetBrowser"><strong>SetBrowser</strong></a>(self
, browser)</dt></dl> | |
93 | |
94 <dl><dt><a name="BrowserBackend-StartTracing"><strong>StartTracing</strong></a>(
self, custom_categories<font color="#909090">=None</font>, timeout<font color="#
909090">=60</font>)</dt><dd><tt>custom_categories is an optional&
nbsp;string containing a list of<br> | |
95 comma separated categories that will be traced&nbs
p;instead of the<br> | |
96 default category set. Example: use<br> | |
97 "webkit,cc,disabled-by-default-cc.debug" to trace only those
three<br> | |
98 event categories.</tt></dd></dl> | |
99 | |
100 <dl><dt><a name="BrowserBackend-StopTracing"><strong>StopTracing</strong></a>(se
lf)</dt></dl> | |
101 | |
102 <dl><dt><a name="BrowserBackend-__init__"><strong>__init__</strong></a>(self, is
_content_shell, supports_extensions, options)</dt></dl> | |
103 | |
104 <hr> | |
105 Data descriptors defined here:<br> | |
106 <dl><dt><strong>__dict__</strong></dt> | |
107 <dd><tt>dictionary for instance variables (if defined)<
/tt></dd> | |
108 </dl> | |
109 <dl><dt><strong>__weakref__</strong></dt> | |
110 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> | |
111 </dl> | |
112 <dl><dt><strong>browser</strong></dt> | |
113 </dl> | |
114 <dl><dt><strong>chrome_branch_number</strong></dt> | |
115 </dl> | |
116 <dl><dt><strong>extension_dict_backend</strong></dt> | |
117 </dl> | |
118 <dl><dt><strong>misc_web_contents_backend</strong></dt> | |
119 <dd><tt>Access to chrome://oobe/login page which is&nbs
p;neither a tab nor an<br> | |
120 extension.</tt></dd> | |
121 </dl> | |
122 <dl><dt><strong>supports_extensions</strong></dt> | |
123 <dd><tt>True if this browser backend supports exte
nsions.</tt></dd> | |
124 </dl> | |
125 <dl><dt><strong>supports_tab_control</strong></dt> | |
126 </dl> | |
127 <dl><dt><strong>supports_tracing</strong></dt> | |
128 </dl> | |
129 <dl><dt><strong>tab_list_backend</strong></dt> | |
130 </dl> | |
131 <dl><dt><strong>wpr_mode</strong></dt> | |
132 </dl> | |
133 <hr> | |
134 Data and other attributes defined here:<br> | |
135 <dl><dt><strong>WEBPAGEREPLAY_HOST</strong> = '127.0.0.1'</dl> | |
136 | |
137 </td></tr></table> <p> | |
138 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | |
139 <tr bgcolor="#ffc8d8"> | |
140 <td colspan=3 valign=bottom> <br> | |
141 <font color="#000000" face="helvetica, arial"><a name="DoNothingForwarder">class
<strong>DoNothingForwarder</strong></a>(<a href="__builtin__.html#object">__bui
ltin__.object</a>)</font></td></tr> | |
142 | |
143 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> | |
144 <td width="100%">Methods defined here:<br> | |
145 <dl><dt><a name="DoNothingForwarder-Close"><strong>Close</strong></a>(self)</dt>
</dl> | |
146 | |
147 <dl><dt><a name="DoNothingForwarder-__init__"><strong>__init__</strong></a>(self
, *port_pairs)</dt></dl> | |
148 | |
149 <hr> | |
150 Data descriptors defined here:<br> | |
151 <dl><dt><strong>__dict__</strong></dt> | |
152 <dd><tt>dictionary for instance variables (if defined)<
/tt></dd> | |
153 </dl> | |
154 <dl><dt><strong>__weakref__</strong></dt> | |
155 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> | |
156 </dl> | |
157 <dl><dt><strong>url</strong></dt> | |
158 </dl> | |
159 </td></tr></table> <p> | |
160 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | |
161 <tr bgcolor="#ffc8d8"> | |
162 <td colspan=3 valign=bottom> <br> | |
163 <font color="#000000" face="helvetica, arial"><a name="ExtensionsNotSupportedExc
eption">class <strong>ExtensionsNotSupportedException</strong></a>(<a href="exce
ptions.html#Exception">exceptions.Exception</a>)</font></td></tr> | |
164 | |
165 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> | |
166 <td width="100%"><dl><dt>Method resolution order:</dt> | |
167 <dd><a href="telemetry.core.chrome.browser_backend.html#ExtensionsNotSupportedEx
ception">ExtensionsNotSupportedException</a></dd> | |
168 <dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd> | |
169 <dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd> | |
170 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> | |
171 </dl> | |
172 <hr> | |
173 Data descriptors defined here:<br> | |
174 <dl><dt><strong>__weakref__</strong></dt> | |
175 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> | |
176 </dl> | |
177 <hr> | |
178 Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception<
/a>:<br> | |
179 <dl><dt><a name="ExtensionsNotSupportedException-__init__"><strong>__init__</str
ong></a>(...)</dt><dd><tt>x.<a href="#ExtensionsNotSupportedException-__init__">
__init__</a>(...) initializes x; see help(type(x)) for&
nbsp;signature</tt></dd></dl> | |
180 | |
181 <hr> | |
182 Data and other attributes inherited from <a href="exceptions.html#Exception">exc
eptions.Exception</a>:<br> | |
183 <dl><dt><strong>__new__</strong> = <built-in method __new__ of type object>
;<dd><tt>T.<a href="#ExtensionsNotSupportedException-__new__">__new__</a>(S,&nbs
p;...) -> a new <a href="__builtin__.html#object">object<
/a> with type S, a subtype of T</tt></dl> | |
184 | |
185 <hr> | |
186 Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseEx
ception</a>:<br> | |
187 <dl><dt><a name="ExtensionsNotSupportedException-__delattr__"><strong>__delattr_
_</strong></a>(...)</dt><dd><tt>x.<a href="#ExtensionsNotSupportedException-__de
lattr__">__delattr__</a>('name') <==> del x.name</tt></dd><
/dl> | |
188 | |
189 <dl><dt><a name="ExtensionsNotSupportedException-__getattribute__"><strong>__get
attribute__</strong></a>(...)</dt><dd><tt>x.<a href="#ExtensionsNotSupportedExce
ption-__getattribute__">__getattribute__</a>('name') <==> x.name
</tt></dd></dl> | |
190 | |
191 <dl><dt><a name="ExtensionsNotSupportedException-__getitem__"><strong>__getitem_
_</strong></a>(...)</dt><dd><tt>x.<a href="#ExtensionsNotSupportedException-__ge
titem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl> | |
192 | |
193 <dl><dt><a name="ExtensionsNotSupportedException-__getslice__"><strong>__getslic
e__</strong></a>(...)</dt><dd><tt>x.<a href="#ExtensionsNotSupportedException-__
getslice__">__getslice__</a>(i, j) <==> x[i:j]<br> | |
194 <br> | |
195 Use of negative indices is not supported.</tt></dd
></dl> | |
196 | |
197 <dl><dt><a name="ExtensionsNotSupportedException-__reduce__"><strong>__reduce__<
/strong></a>(...)</dt></dl> | |
198 | |
199 <dl><dt><a name="ExtensionsNotSupportedException-__repr__"><strong>__repr__</str
ong></a>(...)</dt><dd><tt>x.<a href="#ExtensionsNotSupportedException-__repr__">
__repr__</a>() <==> repr(x)</tt></dd></dl> | |
200 | |
201 <dl><dt><a name="ExtensionsNotSupportedException-__setattr__"><strong>__setattr_
_</strong></a>(...)</dt><dd><tt>x.<a href="#ExtensionsNotSupportedException-__se
tattr__">__setattr__</a>('name', value) <==> x.name =&
nbsp;value</tt></dd></dl> | |
202 | |
203 <dl><dt><a name="ExtensionsNotSupportedException-__setstate__"><strong>__setstat
e__</strong></a>(...)</dt></dl> | |
204 | |
205 <dl><dt><a name="ExtensionsNotSupportedException-__str__"><strong>__str__</stron
g></a>(...)</dt><dd><tt>x.<a href="#ExtensionsNotSupportedException-__str__">__s
tr__</a>() <==> str(x)</tt></dd></dl> | |
206 | |
207 <dl><dt><a name="ExtensionsNotSupportedException-__unicode__"><strong>__unicode_
_</strong></a>(...)</dt></dl> | |
208 | |
209 <hr> | |
210 Data descriptors inherited from <a href="exceptions.html#BaseException">exceptio
ns.BaseException</a>:<br> | |
211 <dl><dt><strong>__dict__</strong></dt> | |
212 </dl> | |
213 <dl><dt><strong>args</strong></dt> | |
214 </dl> | |
215 <dl><dt><strong>message</strong></dt> | |
216 </dl> | |
217 </td></tr></table></td></tr></table> | |
218 </body></html> | |
OLD | NEW |