OLD | NEW |
1 | 1 |
2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> | 2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
3 <html><head><title>Python: module telemetry.page.actions.scroll</title> | 3 <html><head><title>Python: module telemetry.page.actions.scroll</title> |
4 </head><body bgcolor="#f0f0f8"> | 4 </head><body bgcolor="#f0f0f8"> |
5 | 5 |
6 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> | 6 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> |
7 <tr bgcolor="#7799ee"> | 7 <tr bgcolor="#7799ee"> |
8 <td valign=bottom> <br> | 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
.page.html"><font color="#ffffff">page</font></a>.<a href="telemetry.page.action
s.html"><font color="#ffffff">actions</font></a>.scroll</strong></big></big></fo
nt></td | 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
.page.html"><font color="#ffffff">page</font></a>.<a href="telemetry.page.action
s.html"><font color="#ffffff">actions</font></a>.scroll</strong></big></big></fo
nt></td |
10 ><td align=right valign=bottom | 10 ><td align=right valign=bottom |
11 ><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> | 11 ><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> |
12 <p><tt># Copyright (c) 2012 The Chromium Autho
rs. All rights reserved.<br> | 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> | 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> | 14 # found in the LICENSE file.</tt></p> |
15 <p> | 15 <p> |
16 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | 16 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
17 <tr bgcolor="#aa55cc"> | 17 <tr bgcolor="#aa55cc"> |
18 <td colspan=3 valign=bottom> <br> | 18 <td colspan=3 valign=bottom> <br> |
19 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big
></font></td></tr> | 19 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big
></font></td></tr> |
20 | 20 |
21 <tr><td bgcolor="#aa55cc"><tt> </tt></td><td>
</td> | 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="os.html">os</a><br> | 22 <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=t
op><a href="os.html">os</a><br> |
23 </td><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><a href="telemetry.page.actions.page_action.html
">telemetry.page.actions.page_action</a><br> |
24 </td><td width="25%" valign=top><a href="telemetry.core.util.html">telemetry.cor
e.util</a><br> | 24 </td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></tabl
e></td></tr></table><p> |
25 </td><td width="25%" valign=top></td></tr></table></td></tr></table><p> | |
26 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | 25 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
27 <tr bgcolor="#ee77aa"> | 26 <tr bgcolor="#ee77aa"> |
28 <td colspan=3 valign=bottom> <br> | 27 <td colspan=3 valign=bottom> <br> |
29 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big
></font></td></tr> | 28 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big
></font></td></tr> |
30 | 29 |
31 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td>
</td> | 30 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td>
</td> |
32 <td width="100%"><dl> | 31 <td width="100%"><dl> |
33 <dt><font face="helvetica, arial"><a href="telemetry.page.actions.page_action.ht
ml#PageAction">telemetry.page.actions.page_action.PageAction</a>(<a href="__buil
tin__.html#object">__builtin__.object</a>) | 32 <dt><font face="helvetica, arial"><a href="telemetry.page.actions.gesture_action
.html#GestureAction">telemetry.page.actions.gesture_action.GestureAction</a>(<a
href="telemetry.page.actions.page_action.html#PageAction">telemetry.page.actions
.page_action.PageAction</a>) |
34 </font></dt><dd> | 33 </font></dt><dd> |
35 <dl> | 34 <dl> |
36 <dt><font face="helvetica, arial"><a href="telemetry.page.actions.scroll.html#Sc
rollAction">ScrollAction</a> | 35 <dt><font face="helvetica, arial"><a href="telemetry.page.actions.scroll.html#Sc
rollAction">ScrollAction</a> |
37 </font></dt></dl> | 36 </font></dt></dl> |
38 </dd> | 37 </dd> |
39 </dl> | 38 </dl> |
40 <p> | 39 <p> |
41 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | 40 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
42 <tr bgcolor="#ffc8d8"> | 41 <tr bgcolor="#ffc8d8"> |
43 <td colspan=3 valign=bottom> <br> | 42 <td colspan=3 valign=bottom> <br> |
44 <font color="#000000" face="helvetica, arial"><a name="ScrollAction">class <stro
ng>ScrollAction</strong></a>(<a href="telemetry.page.actions.page_action.html#Pa
geAction">telemetry.page.actions.page_action.PageAction</a>)</font></td></tr> | 43 <font color="#000000" face="helvetica, arial"><a name="ScrollAction">class <stro
ng>ScrollAction</strong></a>(<a href="telemetry.page.actions.gesture_action.html
#GestureAction">telemetry.page.actions.gesture_action.GestureAction</a>)</font><
/td></tr> |
45 | 44 |
46 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> | 45 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> |
47 <td width="100%"><dl><dt>Method resolution order:</dt> | 46 <td width="100%"><dl><dt>Method resolution order:</dt> |
48 <dd><a href="telemetry.page.actions.scroll.html#ScrollAction">ScrollAction</a></
dd> | 47 <dd><a href="telemetry.page.actions.scroll.html#ScrollAction">ScrollAction</a></
dd> |
| 48 <dd><a href="telemetry.page.actions.gesture_action.html#GestureAction">telemetry
.page.actions.gesture_action.GestureAction</a></dd> |
49 <dd><a href="telemetry.page.actions.page_action.html#PageAction">telemetry.page.
actions.page_action.PageAction</a></dd> | 49 <dd><a href="telemetry.page.actions.page_action.html#PageAction">telemetry.page.
actions.page_action.PageAction</a></dd> |
50 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> | 50 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
51 </dl> | 51 </dl> |
52 <hr> | 52 <hr> |
53 Methods defined here:<br> | 53 Methods defined here:<br> |
54 <dl><dt><a name="ScrollAction-BindMeasurementJavaScript"><strong>BindMeasurement
JavaScript</strong></a>(self, tab, start_js, stop_js)</dt></dl> | 54 <dl><dt><a name="ScrollAction-BindMeasurementJavaScript"><strong>BindMeasurement
JavaScript</strong></a>(self, tab, start_js, stop_js)</dt></dl> |
55 | 55 |
56 <dl><dt><a name="ScrollAction-CanBeBound"><strong>CanBeBound</strong></a>(self)<
/dt></dl> | 56 <dl><dt><a name="ScrollAction-CanBeBound"><strong>CanBeBound</strong></a>(self)<
/dt></dl> |
57 | 57 |
58 <dl><dt><a name="ScrollAction-CustomizeBrowserOptions"><strong>CustomizeBrowserO
ptions</strong></a>(self, options)</dt></dl> | 58 <dl><dt><a name="ScrollAction-RunGesture"><strong>RunGesture</strong></a>(self,
page, tab)</dt></dl> |
59 | |
60 <dl><dt><a name="ScrollAction-RunAction"><strong>RunAction</strong></a>(self, pa
ge, tab, previous_action)</dt></dl> | |
61 | 59 |
62 <dl><dt><a name="ScrollAction-WillRunAction"><strong>WillRunAction</strong></a>(
self, page, tab)</dt></dl> | 60 <dl><dt><a name="ScrollAction-WillRunAction"><strong>WillRunAction</strong></a>(
self, page, tab)</dt></dl> |
63 | 61 |
64 <dl><dt><a name="ScrollAction-__init__"><strong>__init__</strong></a>(self, attr
ibutes<font color="#909090">=None</font>)</dt></dl> | 62 <dl><dt><a name="ScrollAction-__init__"><strong>__init__</strong></a>(self, attr
ibutes<font color="#909090">=None</font>)</dt></dl> |
65 | 63 |
66 <hr> | 64 <hr> |
| 65 Methods inherited from <a href="telemetry.page.actions.gesture_action.html#Gestu
reAction">telemetry.page.actions.gesture_action.GestureAction</a>:<br> |
| 66 <dl><dt><a name="ScrollAction-GetActiveRangeOnTimeline"><strong>GetActiveRangeOn
Timeline</strong></a>(self, timeline)</dt></dl> |
| 67 |
| 68 <dl><dt><a name="ScrollAction-RunAction"><strong>RunAction</strong></a>(self, pa
ge, tab)</dt></dl> |
| 69 |
| 70 <hr> |
| 71 Static methods inherited from <a href="telemetry.page.actions.gesture_action.htm
l#GestureAction">telemetry.page.actions.gesture_action.GestureAction</a>:<br> |
| 72 <dl><dt><a name="ScrollAction-GetGestureSourceTypeFromOptions"><strong>GetGestur
eSourceTypeFromOptions</strong></a>(tab)</dt></dl> |
| 73 |
| 74 <hr> |
67 Methods inherited from <a href="telemetry.page.actions.page_action.html#PageActi
on">telemetry.page.actions.page_action.PageAction</a>:<br> | 75 Methods inherited from <a href="telemetry.page.actions.page_action.html#PageActi
on">telemetry.page.actions.page_action.PageAction</a>:<br> |
68 <dl><dt><a name="ScrollAction-CleanUp"><strong>CleanUp</strong></a>(self, page,
tab)</dt></dl> | 76 <dl><dt><a name="ScrollAction-CleanUp"><strong>CleanUp</strong></a>(self, page,
tab)</dt></dl> |
69 | 77 |
70 <dl><dt><a name="ScrollAction-RunsPreviousAction"><strong>RunsPreviousAction</st
rong></a>(self)</dt><dd><tt>Some actions require some initia
lization to be performed before the<br> | 78 <dl><dt><a name="ScrollAction-CustomizeBrowserOptionsForPageSet"><strong>Customi
zeBrowserOptionsForPageSet</strong></a>(self, options)</dt><dd><tt>Override 
;to add action-specific options to the BrowserOpti
ons<br> |
71 previous action. For example, wait for href c
hange needs to record the old<br> | 79 object. These options will be set for the&nbs
p;whole page set.<br> |
72 href before the previous action changes it. T
herefore, we allow actions to<br> | 80 <br> |
73 run the previous action. An action that does&
nbsp;this should override this to<br> | 81 If the browser is not being restarted for&nbs
p;every page in the page set then<br> |
74 return True in order to prevent the previous&
nbsp;action from being run twice.</tt></dd></dl> | 82 all browser options required for the action m
ust be set here. This, however,<br> |
| 83 requires that they do not conflict with optio
ns require by other actions<br> |
| 84 used up by the page set.</tt></dd></dl> |
| 85 |
| 86 <dl><dt><a name="ScrollAction-RunActionAndMaybeWait"><strong>RunActionAndMaybeWa
it</strong></a>(self, page, tab)</dt></dl> |
| 87 |
| 88 <dl><dt><a name="ScrollAction-WillWaitAfterRun"><strong>WillWaitAfterRun</strong
></a>(self)</dt></dl> |
| 89 |
| 90 <hr> |
| 91 Static methods inherited from <a href="telemetry.page.actions.page_action.html#P
ageAction">telemetry.page.actions.page_action.PageAction</a>:<br> |
| 92 <dl><dt><a name="ScrollAction-ResetNextTimelineMarkerId"><strong>ResetNextTimeli
neMarkerId</strong></a>()</dt></dl> |
75 | 93 |
76 <hr> | 94 <hr> |
77 Data descriptors inherited from <a href="telemetry.page.actions.page_action.html
#PageAction">telemetry.page.actions.page_action.PageAction</a>:<br> | 95 Data descriptors inherited from <a href="telemetry.page.actions.page_action.html
#PageAction">telemetry.page.actions.page_action.PageAction</a>:<br> |
78 <dl><dt><strong>__dict__</strong></dt> | 96 <dl><dt><strong>__dict__</strong></dt> |
79 <dd><tt>dictionary for instance variables (if defined)<
/tt></dd> | 97 <dd><tt>dictionary for instance variables (if defined)<
/tt></dd> |
80 </dl> | 98 </dl> |
81 <dl><dt><strong>__weakref__</strong></dt> | 99 <dl><dt><strong>__weakref__</strong></dt> |
82 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> | 100 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> |
83 </dl> | 101 </dl> |
84 </td></tr></table></td></tr></table> | 102 </td></tr></table></td></tr></table> |
85 </body></html> | 103 </body></html> |
OLD | NEW |