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> <br> 97d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<font color="#ffffff" face="helvetica, arial"> <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># Copyright (c) 2012 The Chromium Authors. All rights reserved.<br> 137d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)# Use of this source code is governed by a BSD-style license that can be<br> 147d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)# found in the LICENSE 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> <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> </tt></td><td> </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> <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> </tt></td><td> </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> <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> </tt></td><td> </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 actions require some initialization to be performed before the<br> 717d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)previous action. For example, wait for href change needs to record the old<br> 727d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)href before the previous action changes it. Therefore, we allow actions to<br> 737d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)run the previous action. An action that does this should override this to<br> 747d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)return True in order to prevent the previous action from being run 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 for instance variables (if defined)</tt></dd> 807d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)</dl> 817d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<dl><dt><strong>__weakref__</strong></dt> 827d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)<dd><tt>list of weak references to the object (if defined)</tt></dd> 837d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)</dl> 847d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)</td></tr></table></td></tr></table> 857d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)</body></html>