Home | History | Annotate | Download | only in docs
      1 
      2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
      3 <html><head><title>Python: module telemetry.page.actions.reload</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 href="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry.page.html"><font color="#ffffff">page</font></a>.<a href="telemetry.page.actions.html"><font color="#ffffff">actions</font></a>.reload</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="../telemetry/page/actions/reload.py">telemetry/page/actions/reload.py</a></font></td></tr></table>
     12     <p><tt>#&nbsp;Copyright&nbsp;(c)&nbsp;2013&nbsp;The&nbsp;Chromium&nbsp;Authors.&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=top><a href="telemetry.page.actions.page_action.html">telemetry.page.actions.page_action</a><br>
     23 </td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
     24 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
     25 <tr bgcolor="#ee77aa">
     26 <td colspan=3 valign=bottom>&nbsp;<br>
     27 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
     28     
     29 <tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
     30 <td width="100%"><dl>
     31 <dt><font face="helvetica, arial"><a href="telemetry.page.actions.page_action.html#PageAction">telemetry.page.actions.page_action.PageAction</a>(<a href="__builtin__.html#object">__builtin__.object</a>)
     32 </font></dt><dd>
     33 <dl>
     34 <dt><font face="helvetica, arial"><a href="telemetry.page.actions.reload.html#ReloadAction">ReloadAction</a>
     35 </font></dt></dl>
     36 </dd>
     37 </dl>
     38  <p>
     39 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
     40 <tr bgcolor="#ffc8d8">
     41 <td colspan=3 valign=bottom>&nbsp;<br>
     42 <font color="#000000" face="helvetica, arial"><a name="ReloadAction">class <strong>ReloadAction</strong></a>(<a href="telemetry.page.actions.page_action.html#PageAction">telemetry.page.actions.page_action.PageAction</a>)</font></td></tr>
     43     
     44 <tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
     45 <td width="100%"><dl><dt>Method resolution order:</dt>
     46 <dd><a href="telemetry.page.actions.reload.html#ReloadAction">ReloadAction</a></dd>
     47 <dd><a href="telemetry.page.actions.page_action.html#PageAction">telemetry.page.actions.page_action.PageAction</a></dd>
     48 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
     49 </dl>
     50 <hr>
     51 Methods defined here:<br>
     52 <dl><dt><a name="ReloadAction-RunAction"><strong>RunAction</strong></a>(self, page, tab)</dt></dl>
     53 
     54 <dl><dt><a name="ReloadAction-__init__"><strong>__init__</strong></a>(self, attributes<font color="#909090">=None</font>)</dt></dl>
     55 
     56 <hr>
     57 Methods inherited from <a href="telemetry.page.actions.page_action.html#PageAction">telemetry.page.actions.page_action.PageAction</a>:<br>
     58 <dl><dt><a name="ReloadAction-BindMeasurementJavaScript"><strong>BindMeasurementJavaScript</strong></a>(self, tab, start_js, stop_js)</dt><dd><tt>Let&nbsp;this&nbsp;action&nbsp;determine&nbsp;when&nbsp;measurements&nbsp;should&nbsp;start&nbsp;and&nbsp;stop.<br>
     59 &nbsp;<br>
     60 A&nbsp;measurement&nbsp;can&nbsp;call&nbsp;this&nbsp;method&nbsp;to&nbsp;provide&nbsp;the&nbsp;action<br>
     61 with&nbsp;JavaScript&nbsp;code&nbsp;that&nbsp;starts&nbsp;and&nbsp;stops&nbsp;measurements.&nbsp;The&nbsp;action<br>
     62 determines&nbsp;when&nbsp;to&nbsp;execute&nbsp;the&nbsp;provided&nbsp;JavaScript&nbsp;code,&nbsp;for&nbsp;more&nbsp;accurate<br>
     63 timings.<br>
     64 &nbsp;<br>
     65 Args:<br>
     66 &nbsp;&nbsp;tab:&nbsp;The&nbsp;tab&nbsp;to&nbsp;do&nbsp;everything&nbsp;on.<br>
     67 &nbsp;&nbsp;start_js:&nbsp;JavaScript&nbsp;code&nbsp;that&nbsp;starts&nbsp;measurements.<br>
     68 &nbsp;&nbsp;stop_js:&nbsp;JavaScript&nbsp;code&nbsp;that&nbsp;stops&nbsp;measurements.</tt></dd></dl>
     69 
     70 <dl><dt><a name="ReloadAction-CanBeBound"><strong>CanBeBound</strong></a>(self)</dt><dd><tt>If&nbsp;this&nbsp;class&nbsp;implements&nbsp;BindMeasurementJavaScript,&nbsp;override&nbsp;CanBeBound<br>
     71 to&nbsp;return&nbsp;True&nbsp;so&nbsp;that&nbsp;a&nbsp;test&nbsp;knows&nbsp;it&nbsp;can&nbsp;bind&nbsp;measurements.</tt></dd></dl>
     72 
     73 <dl><dt><a name="ReloadAction-CleanUp"><strong>CleanUp</strong></a>(self, page, tab)</dt></dl>
     74 
     75 <dl><dt><a name="ReloadAction-CustomizeBrowserOptionsForPageSet"><strong>CustomizeBrowserOptionsForPageSet</strong></a>(self, options)</dt><dd><tt>Override&nbsp;to&nbsp;add&nbsp;action-specific&nbsp;options&nbsp;to&nbsp;the&nbsp;BrowserOptions<br>
     76 object.&nbsp;These&nbsp;options&nbsp;will&nbsp;be&nbsp;set&nbsp;for&nbsp;the&nbsp;whole&nbsp;page&nbsp;set.<br>
     77 &nbsp;<br>
     78 If&nbsp;the&nbsp;browser&nbsp;is&nbsp;not&nbsp;being&nbsp;restarted&nbsp;for&nbsp;every&nbsp;page&nbsp;in&nbsp;the&nbsp;page&nbsp;set&nbsp;then<br>
     79 all&nbsp;browser&nbsp;options&nbsp;required&nbsp;for&nbsp;the&nbsp;action&nbsp;must&nbsp;be&nbsp;set&nbsp;here.&nbsp;This,&nbsp;however,<br>
     80 requires&nbsp;that&nbsp;they&nbsp;do&nbsp;not&nbsp;conflict&nbsp;with&nbsp;options&nbsp;require&nbsp;by&nbsp;other&nbsp;actions<br>
     81 used&nbsp;up&nbsp;by&nbsp;the&nbsp;page&nbsp;set.</tt></dd></dl>
     82 
     83 <dl><dt><a name="ReloadAction-GetActiveRangeOnTimeline"><strong>GetActiveRangeOnTimeline</strong></a>(self, timeline)</dt></dl>
     84 
     85 <dl><dt><a name="ReloadAction-RunActionAndMaybeWait"><strong>RunActionAndMaybeWait</strong></a>(self, page, tab)</dt></dl>
     86 
     87 <dl><dt><a name="ReloadAction-WillRunAction"><strong>WillRunAction</strong></a>(self, page, tab)</dt><dd><tt>Override&nbsp;to&nbsp;do&nbsp;action-specific&nbsp;setup&nbsp;before<br>
     88 Test.WillRunAction&nbsp;is&nbsp;called.</tt></dd></dl>
     89 
     90 <dl><dt><a name="ReloadAction-WillWaitAfterRun"><strong>WillWaitAfterRun</strong></a>(self)</dt></dl>
     91 
     92 <hr>
     93 Static methods inherited from <a href="telemetry.page.actions.page_action.html#PageAction">telemetry.page.actions.page_action.PageAction</a>:<br>
     94 <dl><dt><a name="ReloadAction-ResetNextTimelineMarkerId"><strong>ResetNextTimelineMarkerId</strong></a>()</dt></dl>
     95 
     96 <hr>
     97 Data descriptors inherited from <a href="telemetry.page.actions.page_action.html#PageAction">telemetry.page.actions.page_action.PageAction</a>:<br>
     98 <dl><dt><strong>__dict__</strong></dt>
     99 <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
    100 </dl>
    101 <dl><dt><strong>__weakref__</strong></dt>
    102 <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
    103 </dl>
    104 </td></tr></table></td></tr></table>
    105 </body></html>