| 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=
"file:/Users/nduca/Local/chrome/src/tools/telemetry/telemetry/core/chrome/browse
r_backend.py">/Users/nduca/Local/chrome/src/tools/telemetry/telemetry/core/chrom
e/browser_backend.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 </td><td width="25%" valign=top><a href="telemetry.core.chrome.misc_web_contents
_backend.html">telemetry.core.chrome.misc_web_contents_backend</a><br> |
| 27 <a href="telemetry.unittest.options_for_unittests.html">telemetry.unittest.optio
ns_for_unittests</a><br> |
| 28 <a href="re.html">re</a><br> |
| 29 <a href="socket.html">socket</a><br> |
| 30 </td><td width="25%" valign=top><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 <a href="telemetry.core.chrome.tracing_backend.html">telemetry.core.chrome.traci
ng_backend</a><br> |
| 33 <a href="urllib2.html">urllib2</a><br> |
| 34 </td><td width="25%" valign=top><a href="telemetry.core.user_agent.html">telemet
ry.core.user_agent</a><br> |
| 35 <a href="telemetry.core.util.html">telemetry.core.util</a><br> |
| 36 <a href="telemetry.core.wpr_modes.html">telemetry.core.wpr_modes</a><br> |
| 37 <a href="telemetry.core.wpr_server.html">telemetry.core.wpr_server</a><br> |
| 38 </td></tr></table></td></tr></table><p> |
| 39 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 40 <tr bgcolor="#ee77aa"> |
| 41 <td colspan=3 valign=bottom> <br> |
| 42 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big
></font></td></tr> |
| 43 |
| 44 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td>
</td> |
| 45 <td width="100%"><dl> |
| 46 <dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.
object</a> |
| 47 </font></dt><dd> |
| 48 <dl> |
| 49 <dt><font face="helvetica, arial"><a href="telemetry.core.chrome.browser_backend
.html#BrowserBackend">BrowserBackend</a> |
| 50 </font></dt><dt><font face="helvetica, arial"><a href="telemetry.core.chrome.bro
wser_backend.html#DoNothingForwarder">DoNothingForwarder</a> |
| 51 </font></dt></dl> |
| 52 </dd> |
| 53 <dt><font face="helvetica, arial"><a href="exceptions.html#Exception">exceptions
.Exception</a>(<a href="exceptions.html#BaseException">exceptions.BaseException<
/a>) |
| 54 </font></dt><dd> |
| 55 <dl> |
| 56 <dt><font face="helvetica, arial"><a href="telemetry.core.chrome.browser_backend
.html#ExtensionsNotSupportedException">ExtensionsNotSupportedException</a> |
| 57 </font></dt></dl> |
| 58 </dd> |
| 59 </dl> |
| 60 <p> |
| 61 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 62 <tr bgcolor="#ffc8d8"> |
| 63 <td colspan=3 valign=bottom> <br> |
| 64 <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> |
| 65 |
| 66 <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| 67 <td colspan=2><tt>A base class for browser backends.&nb
sp;Provides basic functionality<br> |
| 68 once a remote-debugger port has been established.<
br> </tt></td></tr> |
| 69 <tr><td> </td> |
| 70 <td width="100%">Methods defined here:<br> |
| 71 <dl><dt><a name="BrowserBackend-Close"><strong>Close</strong></a>(self)</dt></dl
> |
| 72 |
| 73 <dl><dt><a name="BrowserBackend-CreateForwarder"><strong>CreateForwarder</strong
></a>(self, *port_pairs)</dt></dl> |
| 74 |
| 75 <dl><dt><a name="BrowserBackend-GetBrowserStartupArgs"><strong>GetBrowserStartup
Args</strong></a>(self)</dt></dl> |
| 76 |
| 77 <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> |
| 78 |
| 79 <dl><dt><a name="BrowserBackend-GetRemotePort"><strong>GetRemotePort</strong></a
>(self, _)</dt></dl> |
| 80 |
| 81 <dl><dt><a name="BrowserBackend-GetStandardOutput"><strong>GetStandardOutput</st
rong></a>(self)</dt></dl> |
| 82 |
| 83 <dl><dt><a name="BrowserBackend-GetTraceResultAndReset"><strong>GetTraceResultAn
dReset</strong></a>(self)</dt></dl> |
| 84 |
| 85 <dl><dt><a name="BrowserBackend-IsBrowserRunning"><strong>IsBrowserRunning</stro
ng></a>(self)</dt></dl> |
| 86 |
| 87 <dl><dt><a name="BrowserBackend-Request"><strong>Request</strong></a>(self, path
, timeout<font color="#909090">=None</font>)</dt></dl> |
| 88 |
| 89 <dl><dt><a name="BrowserBackend-SetBrowser"><strong>SetBrowser</strong></a>(self
, browser)</dt></dl> |
| 90 |
| 91 <dl><dt><a name="BrowserBackend-StartTracing"><strong>StartTracing</strong></a>(
self, custom_categories<font color="#909090">=None</font>)</dt><dd><tt>custom_ca
tegories is an optional string containing a l
ist of<br> |
| 92 comma separated categories that will be traced&nbs
p;instead of the<br> |
| 93 default category set. Example: use<br> |
| 94 "webkit,cc,disabled-by-default-cc.debug" to trace only those
three<br> |
| 95 event categories.</tt></dd></dl> |
| 96 |
| 97 <dl><dt><a name="BrowserBackend-StopTracing"><strong>StopTracing</strong></a>(se
lf)</dt></dl> |
| 98 |
| 99 <dl><dt><a name="BrowserBackend-__init__"><strong>__init__</strong></a>(self, is
_content_shell, supports_extensions, options)</dt></dl> |
| 100 |
| 101 <hr> |
| 102 Data descriptors defined here:<br> |
| 103 <dl><dt><strong>__dict__</strong></dt> |
| 104 <dd><tt>dictionary for instance variables (if defined)<
/tt></dd> |
| 105 </dl> |
| 106 <dl><dt><strong>__weakref__</strong></dt> |
| 107 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> |
| 108 </dl> |
| 109 <dl><dt><strong>browser</strong></dt> |
| 110 </dl> |
| 111 <dl><dt><strong>chrome_branch_number</strong></dt> |
| 112 </dl> |
| 113 <dl><dt><strong>extension_dict_backend</strong></dt> |
| 114 </dl> |
| 115 <dl><dt><strong>misc_web_contents_backend</strong></dt> |
| 116 <dd><tt>Access to chrome://oobe/login page which is&nbs
p;neither a tab nor an<br> |
| 117 extension.</tt></dd> |
| 118 </dl> |
| 119 <dl><dt><strong>supports_extensions</strong></dt> |
| 120 <dd><tt>True if this browser backend supports exte
nsions.</tt></dd> |
| 121 </dl> |
| 122 <dl><dt><strong>supports_tab_control</strong></dt> |
| 123 </dl> |
| 124 <dl><dt><strong>supports_tracing</strong></dt> |
| 125 </dl> |
| 126 <dl><dt><strong>tab_list_backend</strong></dt> |
| 127 </dl> |
| 128 <dl><dt><strong>wpr_mode</strong></dt> |
| 129 </dl> |
| 130 <hr> |
| 131 Data and other attributes defined here:<br> |
| 132 <dl><dt><strong>WEBPAGEREPLAY_HOST</strong> = '127.0.0.1'</dl> |
| 133 |
| 134 </td></tr></table> <p> |
| 135 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 136 <tr bgcolor="#ffc8d8"> |
| 137 <td colspan=3 valign=bottom> <br> |
| 138 <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> |
| 139 |
| 140 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> |
| 141 <td width="100%">Methods defined here:<br> |
| 142 <dl><dt><a name="DoNothingForwarder-Close"><strong>Close</strong></a>(self)</dt>
</dl> |
| 143 |
| 144 <dl><dt><a name="DoNothingForwarder-__init__"><strong>__init__</strong></a>(self
, *port_pairs)</dt></dl> |
| 145 |
| 146 <hr> |
| 147 Data descriptors defined here:<br> |
| 148 <dl><dt><strong>__dict__</strong></dt> |
| 149 <dd><tt>dictionary for instance variables (if defined)<
/tt></dd> |
| 150 </dl> |
| 151 <dl><dt><strong>__weakref__</strong></dt> |
| 152 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> |
| 153 </dl> |
| 154 <dl><dt><strong>url</strong></dt> |
| 155 </dl> |
| 156 </td></tr></table> <p> |
| 157 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 158 <tr bgcolor="#ffc8d8"> |
| 159 <td colspan=3 valign=bottom> <br> |
| 160 <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> |
| 161 |
| 162 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> |
| 163 <td width="100%"><dl><dt>Method resolution order:</dt> |
| 164 <dd><a href="telemetry.core.chrome.browser_backend.html#ExtensionsNotSupportedEx
ception">ExtensionsNotSupportedException</a></dd> |
| 165 <dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd> |
| 166 <dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd> |
| 167 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| 168 </dl> |
| 169 <hr> |
| 170 Data descriptors defined here:<br> |
| 171 <dl><dt><strong>__weakref__</strong></dt> |
| 172 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> |
| 173 </dl> |
| 174 <hr> |
| 175 Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception<
/a>:<br> |
| 176 <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> |
| 177 |
| 178 <hr> |
| 179 Data and other attributes inherited from <a href="exceptions.html#Exception">exc
eptions.Exception</a>:<br> |
| 180 <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> |
| 181 |
| 182 <hr> |
| 183 Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseEx
ception</a>:<br> |
| 184 <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> |
| 185 |
| 186 <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> |
| 187 |
| 188 <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> |
| 189 |
| 190 <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> |
| 191 <br> |
| 192 Use of negative indices is not supported.</tt></dd
></dl> |
| 193 |
| 194 <dl><dt><a name="ExtensionsNotSupportedException-__reduce__"><strong>__reduce__<
/strong></a>(...)</dt></dl> |
| 195 |
| 196 <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> |
| 197 |
| 198 <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> |
| 199 |
| 200 <dl><dt><a name="ExtensionsNotSupportedException-__setstate__"><strong>__setstat
e__</strong></a>(...)</dt></dl> |
| 201 |
| 202 <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> |
| 203 |
| 204 <dl><dt><a name="ExtensionsNotSupportedException-__unicode__"><strong>__unicode_
_</strong></a>(...)</dt></dl> |
| 205 |
| 206 <hr> |
| 207 Data descriptors inherited from <a href="exceptions.html#BaseException">exceptio
ns.BaseException</a>:<br> |
| 208 <dl><dt><strong>__dict__</strong></dt> |
| 209 </dl> |
| 210 <dl><dt><strong>args</strong></dt> |
| 211 </dl> |
| 212 <dl><dt><strong>message</strong></dt> |
| 213 </dl> |
| 214 </td></tr></table></td></tr></table> |
| 215 </body></html> |
| OLD | NEW |