17d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)
27d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
37d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<html><head><title>Python: module telemetry.page.actions.scroll</title>
47d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)</head><body bgcolor="#f0f0f8">
57d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)
67d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
77d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<tr bgcolor="#7799ee">
87d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<td valign=bottom>&nbsp;<br>
97d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<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>.scroll</strong></big></big></font></td
107d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)><td align=right valign=bottom
11eb525c5499e34cc9c4b825d6d9e75bb07cc06aceBen Murdoch><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="/telemetry/page/actions/scroll.py">telemetry/page/actions/scroll.py</a></font></td></tr></table>
127d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)    <p><tt>#&nbsp;Copyright&nbsp;(c)&nbsp;2012&nbsp;The&nbsp;Chromium&nbsp;Authors.&nbsp;All&nbsp;rights&nbsp;reserved.<br>
137d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)#&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>
147d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)#&nbsp;found&nbsp;in&nbsp;the&nbsp;LICENSE&nbsp;file.</tt></p>
157d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<p>
167d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
177d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<tr bgcolor="#aa55cc">
187d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<td colspan=3 valign=bottom>&nbsp;<br>
197d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
207d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)    
217d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
227d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="os.html">os</a><br>
237d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)</td><td width="25%" valign=top><a href="telemetry.page.actions.page_action.html">telemetry.page.actions.page_action</a><br>
247d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)</td><td width="25%" valign=top><a href="telemetry.core.util.html">telemetry.core.util</a><br>
257d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)</td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
267d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
277d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<tr bgcolor="#ee77aa">
287d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<td colspan=3 valign=bottom>&nbsp;<br>
297d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
307d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)    
317d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
327d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<td width="100%"><dl>
337d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<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>)
347d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)</font></dt><dd>
357d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<dl>
367d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<dt><font face="helvetica, arial"><a href="telemetry.page.actions.scroll.html#ScrollAction">ScrollAction</a>
377d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)</font></dt></dl>
387d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)</dd>
397d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)</dl>
407d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles) <p>
417d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
427d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<tr bgcolor="#ffc8d8">
437d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<td colspan=3 valign=bottom>&nbsp;<br>
447d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<font color="#000000" face="helvetica, arial"><a name="ScrollAction">class <strong>ScrollAction</strong></a>(<a href="telemetry.page.actions.page_action.html#PageAction">telemetry.page.actions.page_action.PageAction</a>)</font></td></tr>
457d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)    
467d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
477d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<td width="100%"><dl><dt>Method resolution order:</dt>
487d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<dd><a href="telemetry.page.actions.scroll.html#ScrollAction">ScrollAction</a></dd>
497d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<dd><a href="telemetry.page.actions.page_action.html#PageAction">telemetry.page.actions.page_action.PageAction</a></dd>
507d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
517d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)</dl>
527d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<hr>
537d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)Methods defined here:<br>
547d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<dl><dt><a name="ScrollAction-BindMeasurementJavaScript"><strong>BindMeasurementJavaScript</strong></a>(self, tab, start_js, stop_js)</dt></dl>
557d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)
567d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<dl><dt><a name="ScrollAction-CanBeBound"><strong>CanBeBound</strong></a>(self)</dt></dl>
577d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)
58eb525c5499e34cc9c4b825d6d9e75bb07cc06aceBen Murdoch<dl><dt><a name="ScrollAction-CustomizeBrowserOptions"><strong>CustomizeBrowserOptions</strong></a>(self, options)</dt></dl>
59eb525c5499e34cc9c4b825d6d9e75bb07cc06aceBen Murdoch
607d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<dl><dt><a name="ScrollAction-RunAction"><strong>RunAction</strong></a>(self, page, tab, previous_action)</dt></dl>
617d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)
627d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<dl><dt><a name="ScrollAction-WillRunAction"><strong>WillRunAction</strong></a>(self, page, tab)</dt></dl>
637d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)
647d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<dl><dt><a name="ScrollAction-__init__"><strong>__init__</strong></a>(self, attributes<font color="#909090">=None</font>)</dt></dl>
657d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)
667d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<hr>
677d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)Methods inherited from <a href="telemetry.page.actions.page_action.html#PageAction">telemetry.page.actions.page_action.PageAction</a>:<br>
687d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<dl><dt><a name="ScrollAction-CleanUp"><strong>CleanUp</strong></a>(self, page, tab)</dt></dl>
697d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)
707d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<dl><dt><a name="ScrollAction-RunsPreviousAction"><strong>RunsPreviousAction</strong></a>(self)</dt><dd><tt>Some&nbsp;actions&nbsp;require&nbsp;some&nbsp;initialization&nbsp;to&nbsp;be&nbsp;performed&nbsp;before&nbsp;the<br>
717d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)previous&nbsp;action.&nbsp;For&nbsp;example,&nbsp;wait&nbsp;for&nbsp;href&nbsp;change&nbsp;needs&nbsp;to&nbsp;record&nbsp;the&nbsp;old<br>
727d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)href&nbsp;before&nbsp;the&nbsp;previous&nbsp;action&nbsp;changes&nbsp;it.&nbsp;Therefore,&nbsp;we&nbsp;allow&nbsp;actions&nbsp;to<br>
737d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)run&nbsp;the&nbsp;previous&nbsp;action.&nbsp;An&nbsp;action&nbsp;that&nbsp;does&nbsp;this&nbsp;should&nbsp;override&nbsp;this&nbsp;to<br>
747d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)return&nbsp;True&nbsp;in&nbsp;order&nbsp;to&nbsp;prevent&nbsp;the&nbsp;previous&nbsp;action&nbsp;from&nbsp;being&nbsp;run&nbsp;twice.</tt></dd></dl>
757d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)
767d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<hr>
777d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)Data descriptors inherited from <a href="telemetry.page.actions.page_action.html#PageAction">telemetry.page.actions.page_action.PageAction</a>:<br>
787d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<dl><dt><strong>__dict__</strong></dt>
797d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
807d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)</dl>
817d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<dl><dt><strong>__weakref__</strong></dt>
827d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
837d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)</dl>
847d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)</td></tr></table></td></tr></table>
857d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)</body></html>