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

Side by Side Diff: tools/telemetry/docs/telemetry.core.chrome.inspector_backend.html

Issue 17150002: [telemetry] Initial (autogenerated) documentation plus support scripts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update with nits Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1
2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
3 <html><head><title>Python: module telemetry.core.chrome.inspector_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>&nbsp;<br>
9 <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 .core.html"><font color="#ffffff">core</font></a>.<a href="telemetry.core.chrome .html"><font color="#ffffff">chrome</font></a>.inspector_backend</strong></big>< /big></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/inspec tor_backend.py">/Users/nduca/Local/chrome/src/tools/telemetry/telemetry/core/chr ome/inspector_backend.py</a></font></td></tr></table>
12 <p><tt>#&nbsp;Copyright&nbsp;(c)&nbsp;2012&nbsp;The&nbsp;Chromium&nbsp;Autho rs.&nbsp;All&nbsp;rights&nbsp;reserved.<br>
13 #&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>
14 #&nbsp;found&nbsp;in&nbsp;the&nbsp;LICENSE&nbsp;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>&nbsp;<br>
19 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big ></font></td></tr>
20
21 <tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td> &nbsp;</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.inspector_console.html">telemetry.core.chrome.ins pector_console</a><br>
24 <a href="telemetry.core.chrome.inspector_memory.html">telemetry.core.chrome.insp ector_memory</a><br>
25 <a href="telemetry.core.chrome.inspector_page.html">telemetry.core.chrome.inspec tor_page</a><br>
26 </td><td width="25%" valign=top><a href="telemetry.core.chrome.inspector_runtime .html">telemetry.core.chrome.inspector_runtime</a><br>
27 <a href="telemetry.core.chrome.inspector_timeline.html">telemetry.core.chrome.in spector_timeline</a><br>
28 <a href="json.html">json</a><br>
29 <a href="logging.html">logging</a><br>
30 </td><td width="25%" valign=top><a href="telemetry.core.chrome.png_bitmap.html"> telemetry.core.chrome.png_bitmap</a><br>
31 <a href="socket.html">socket</a><br>
32 <a href="sys.html">sys</a><br>
33 <a href="telemetry.core.util.html">telemetry.core.util</a><br>
34 </td><td width="25%" valign=top><a href="telemetry.core.chrome.websocket.html">t elemetry.core.chrome.websocket</a><br>
35 </td></tr></table></td></tr></table><p>
36 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
37 <tr bgcolor="#ee77aa">
38 <td colspan=3 valign=bottom>&nbsp;<br>
39 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big ></font></td></tr>
40
41 <tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td> &nbsp;</td>
42 <td width="100%"><dl>
43 <dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__. object</a>
44 </font></dt><dd>
45 <dl>
46 <dt><font face="helvetica, arial"><a href="telemetry.core.chrome.inspector_backe nd.html#InspectorBackend">InspectorBackend</a>
47 </font></dt></dl>
48 </dd>
49 <dt><font face="helvetica, arial"><a href="exceptions.html#Exception">exceptions .Exception</a>(<a href="exceptions.html#BaseException">exceptions.BaseException< /a>)
50 </font></dt><dd>
51 <dl>
52 <dt><font face="helvetica, arial"><a href="telemetry.core.chrome.inspector_backe nd.html#InspectorException">InspectorException</a>
53 </font></dt></dl>
54 </dd>
55 </dl>
56 <p>
57 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
58 <tr bgcolor="#ffc8d8">
59 <td colspan=3 valign=bottom>&nbsp;<br>
60 <font color="#000000" face="helvetica, arial"><a name="InspectorBackend">class < strong>InspectorBackend</strong></a>(<a href="__builtin__.html#object">__builtin __.object</a>)</font></td></tr>
61
62 <tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
63 <td width="100%">Methods defined here:<br>
64 <dl><dt><a name="InspectorBackend-Activate"><strong>Activate</strong></a>(self)< /dt></dl>
65
66 <dl><dt><a name="InspectorBackend-Close"><strong>Close</strong></a>(self)</dt></ dl>
67
68 <dl><dt><a name="InspectorBackend-CollectGarbage"><strong>CollectGarbage</strong ></a>(self)</dt></dl>
69
70 <dl><dt><a name="InspectorBackend-Disconnect"><strong>Disconnect</strong></a>(se lf)</dt></dl>
71
72 <dl><dt><a name="InspectorBackend-DispatchNotifications"><strong>DispatchNotific ations</strong></a>(self, timeout<font color="#909090">=10</font>)</dt></dl>
73
74 <dl><dt><a name="InspectorBackend-EvaluateJavaScript"><strong>EvaluateJavaScript </strong></a>(self, expr, timeout)</dt></dl>
75
76 <dl><dt><a name="InspectorBackend-ExecuteJavaScript"><strong>ExecuteJavaScript</ strong></a>(self, expr, timeout)</dt></dl>
77
78 <dl><dt><a name="InspectorBackend-GetCookieByName"><strong>GetCookieByName</stro ng></a>(self, name, timeout)</dt></dl>
79
80 <dl><dt><a name="InspectorBackend-GetDOMStats"><strong>GetDOMStats</strong></a>( self, timeout)</dt></dl>
81
82 <dl><dt><a name="InspectorBackend-Navigate"><strong>Navigate</strong></a>(self, url, script_to_evaluate_on_commit, timeout)</dt></dl>
83
84 <dl><dt><a name="InspectorBackend-PerformActionAndWaitForNavigate"><strong>Perfo rmActionAndWaitForNavigate</strong></a>(self, action_function, timeout)</dt></dl >
85
86 <dl><dt><a name="InspectorBackend-RegisterDomain"><strong>RegisterDomain</strong ></a>(self, domain_name, notification_handler, will_close_handler)</dt><dd><tt>R egisters&nbsp;a&nbsp;given&nbsp;domain&nbsp;for&nbsp;handling&nbsp;notification& nbsp;methods.<br>
87 &nbsp;<br>
88 For&nbsp;example,&nbsp;given&nbsp;inspector_backend:<br>
89 &nbsp;&nbsp;&nbsp;def&nbsp;OnConsoleNotification(msg):<br>
90 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;msg['method']&nbsp;==&nbsp;'Console. messageAdded':<br>
91 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print&nbsp;msg['params'][' message']<br>
92 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return<br>
93 &nbsp;&nbsp;&nbsp;def&nbsp;OnConsoleClose(self):<br>
94 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pass<br>
95 &nbsp;&nbsp;&nbsp;inspector_backend.<a href="#InspectorBackend-RegisterDomain">R egisterDomain</a>('Console',<br>
96 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;OnConsoleNotification,&n bsp;OnConsoleClose)</tt></dd></dl>
97
98 <dl><dt><a name="InspectorBackend-Screenshot"><strong>Screenshot</strong></a>(se lf, timeout)</dt></dl>
99
100 <dl><dt><a name="InspectorBackend-SendAndIgnoreResponse"><strong>SendAndIgnoreRe sponse</strong></a>(self, req)</dt></dl>
101
102 <dl><dt><a name="InspectorBackend-StartTimelineRecording"><strong>StartTimelineR ecording</strong></a>(self)</dt></dl>
103
104 <dl><dt><a name="InspectorBackend-StopTimelineRecording"><strong>StopTimelineRec ording</strong></a>(self)</dt></dl>
105
106 <dl><dt><a name="InspectorBackend-SyncRequest"><strong>SyncRequest</strong></a>( self, req, timeout<font color="#909090">=10</font>)</dt></dl>
107
108 <dl><dt><a name="InspectorBackend-UnregisterDomain"><strong>UnregisterDomain</st rong></a>(self, domain_name)</dt><dd><tt>Unregisters&nbsp;a&nbsp;previously&nbsp ;registered&nbsp;domain.</tt></dd></dl>
109
110 <dl><dt><a name="InspectorBackend-WaitForDocumentReadyStateToBeComplete"><strong >WaitForDocumentReadyStateToBeComplete</strong></a>(self, timeout)</dt></dl>
111
112 <dl><dt><a name="InspectorBackend-WaitForDocumentReadyStateToBeInteractiveOrBett er"><strong>WaitForDocumentReadyStateToBeInteractiveOrBetter</strong></a>(self, timeout)</dt></dl>
113
114 <dl><dt><a name="InspectorBackend-__del__"><strong>__del__</strong></a>(self)</d t></dl>
115
116 <dl><dt><a name="InspectorBackend-__init__"><strong>__init__</strong></a>(self, browser, browser_backend, debugger_url)</dt></dl>
117
118 <hr>
119 Data descriptors defined here:<br>
120 <dl><dt><strong>__dict__</strong></dt>
121 <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)< /tt></dd>
122 </dl>
123 <dl><dt><strong>__weakref__</strong></dt>
124 <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp ;(if&nbsp;defined)</tt></dd>
125 </dl>
126 <dl><dt><strong>browser</strong></dt>
127 </dl>
128 <dl><dt><strong>message_output_stream</strong></dt>
129 </dl>
130 <dl><dt><strong>screenshot_supported</strong></dt>
131 </dl>
132 <dl><dt><strong>timeline_model</strong></dt>
133 </dl>
134 <dl><dt><strong>url</strong></dt>
135 </dl>
136 </td></tr></table> <p>
137 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
138 <tr bgcolor="#ffc8d8">
139 <td colspan=3 valign=bottom>&nbsp;<br>
140 <font color="#000000" face="helvetica, arial"><a name="InspectorException">class <strong>InspectorException</strong></a>(<a href="exceptions.html#Exception">exc eptions.Exception</a>)</font></td></tr>
141
142 <tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
143 <td width="100%"><dl><dt>Method resolution order:</dt>
144 <dd><a href="telemetry.core.chrome.inspector_backend.html#InspectorException">In spectorException</a></dd>
145 <dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
146 <dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
147 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
148 </dl>
149 <hr>
150 Data descriptors defined here:<br>
151 <dl><dt><strong>__weakref__</strong></dt>
152 <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp ;(if&nbsp;defined)</tt></dd>
153 </dl>
154 <hr>
155 Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception< /a>:<br>
156 <dl><dt><a name="InspectorException-__init__"><strong>__init__</strong></a>(...) </dt><dd><tt>x.<a href="#InspectorException-__init__">__init__</a>(...)&nbsp;ini tializes&nbsp;x;&nbsp;see&nbsp;help(type(x))&nbsp;for&nbsp;signature</tt></dd></ dl>
157
158 <hr>
159 Data and other attributes inherited from <a href="exceptions.html#Exception">exc eptions.Exception</a>:<br>
160 <dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt ;<dd><tt>T.<a href="#InspectorException-__new__">__new__</a>(S,&nbsp;...)&nbsp;- &gt;&nbsp;a&nbsp;new&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;with &nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>
161
162 <hr>
163 Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseEx ception</a>:<br>
164 <dl><dt><a name="InspectorException-__delattr__"><strong>__delattr__</strong></a >(...)</dt><dd><tt>x.<a href="#InspectorException-__delattr__">__delattr__</a>(' name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>
165
166 <dl><dt><a name="InspectorException-__getattribute__"><strong>__getattribute__</ strong></a>(...)</dt><dd><tt>x.<a href="#InspectorException-__getattribute__">__ getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>
167
168 <dl><dt><a name="InspectorException-__getitem__"><strong>__getitem__</strong></a >(...)</dt><dd><tt>x.<a href="#InspectorException-__getitem__">__getitem__</a>(y )&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>
169
170 <dl><dt><a name="InspectorException-__getslice__"><strong>__getslice__</strong>< /a>(...)</dt><dd><tt>x.<a href="#InspectorException-__getslice__">__getslice__</ a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
171 &nbsp;<br>
172 Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd ></dl>
173
174 <dl><dt><a name="InspectorException-__reduce__"><strong>__reduce__</strong></a>( ...)</dt></dl>
175
176 <dl><dt><a name="InspectorException-__repr__"><strong>__repr__</strong></a>(...) </dt><dd><tt>x.<a href="#InspectorException-__repr__">__repr__</a>()&nbsp;&lt;== &gt;&nbsp;repr(x)</tt></dd></dl>
177
178 <dl><dt><a name="InspectorException-__setattr__"><strong>__setattr__</strong></a >(...)</dt><dd><tt>x.<a href="#InspectorException-__setattr__">__setattr__</a>(' name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>
179
180 <dl><dt><a name="InspectorException-__setstate__"><strong>__setstate__</strong>< /a>(...)</dt></dl>
181
182 <dl><dt><a name="InspectorException-__str__"><strong>__str__</strong></a>(...)</ dt><dd><tt>x.<a href="#InspectorException-__str__">__str__</a>()&nbsp;&lt;==&gt; &nbsp;str(x)</tt></dd></dl>
183
184 <dl><dt><a name="InspectorException-__unicode__"><strong>__unicode__</strong></a >(...)</dt></dl>
185
186 <hr>
187 Data descriptors inherited from <a href="exceptions.html#BaseException">exceptio ns.BaseException</a>:<br>
188 <dl><dt><strong>__dict__</strong></dt>
189 </dl>
190 <dl><dt><strong>args</strong></dt>
191 </dl>
192 <dl><dt><strong>message</strong></dt>
193 </dl>
194 </td></tr></table></td></tr></table>
195 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698