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">
6 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"heading">
8 <td valign=bottom
> <br>
9 <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>.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>#
Copyright
(c)
2013 The
Chromium
Authors.
All
rights
reserved.
<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>
16 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
17 <tr bgcolor=
"#aa55cc">
18 <td colspan=
3 valign=bottom
> <br>
19 <font color=
"#ffffff" face=
"helvetica, arial"><big><strong>Modules
</strong></big></font></td></tr>
21 <tr><td bgcolor=
"#aa55cc"><tt> </tt></td><td> </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
><a href=
"telemetry.page.page.html">telemetry.page.page
</a><br>
24 </td><td width=
"25%" valign=top
></td><td width=
"25%" valign=top
></td></tr></table></td></tr></table><p>
25 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
26 <tr bgcolor=
"#ee77aa">
27 <td colspan=
3 valign=bottom
> <br>
28 <font color=
"#ffffff" face=
"helvetica, arial"><big><strong>Classes
</strong></big></font></td></tr>
30 <tr><td bgcolor=
"#ee77aa"><tt> </tt></td><td> </td>
32 <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>)
35 <dt><font face=
"helvetica, arial"><a href=
"telemetry.page.actions.reload.html#ReloadAction">ReloadAction
</a>
40 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
41 <tr bgcolor=
"#ffc8d8">
42 <td colspan=
3 valign=bottom
> <br>
43 <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>
45 <tr><td bgcolor=
"#ffc8d8"><tt> </tt></td><td> </td>
46 <td width=
"100%"><dl><dt>Method resolution order:
</dt>
47 <dd><a href=
"telemetry.page.actions.reload.html#ReloadAction">ReloadAction
</a></dd>
48 <dd><a href=
"telemetry.page.actions.page_action.html#PageAction">telemetry.page.actions.page_action.PageAction
</a></dd>
49 <dd><a href=
"__builtin__.html#object">__builtin__.object
</a></dd>
52 Methods defined here:
<br>
53 <dl><dt><a name=
"ReloadAction-RunAction"><strong>RunAction
</strong></a>(self, page, tab, previous_action)
</dt></dl>
55 <dl><dt><a name=
"ReloadAction-__init__"><strong>__init__
</strong></a>(self, attributes
<font color=
"#909090">=None
</font>)
</dt></dl>
58 Methods inherited from
<a href=
"telemetry.page.actions.page_action.html#PageAction">telemetry.page.actions.page_action.PageAction
</a>:
<br>
59 <dl><dt><a name=
"ReloadAction-BindMeasurementJavaScript"><strong>BindMeasurementJavaScript
</strong></a>(self, tab, start_js, stop_js)
</dt><dd><tt>Let
this
action
determine
when
measurements
should
start
and
stop.
<br>
61 A
measurement
can
call
this
method
to
provide
the
action
<br>
62 with
JavaScript
code
that
starts
and
stops
measurements.
The
action
<br>
63 determines
when
to
execute
the
provided
JavaScript
code,
for
more
accurate
<br>
67 tab:
The
tab
to
do
everything
on.
<br>
68 start_js:
JavaScript
code
that
starts
measurements.
<br>
69 stop_js:
JavaScript
code
that
stops
measurements.
</tt></dd></dl>
71 <dl><dt><a name=
"ReloadAction-CanBeBound"><strong>CanBeBound
</strong></a>(self)
</dt><dd><tt>If
this
class
implements
BindMeasurementJavaScript,
override
CanBeBound
<br>
72 to
return
True
so
that
a
test
knows
it
can
bind
measurements.
</tt></dd></dl>
74 <dl><dt><a name=
"ReloadAction-CleanUp"><strong>CleanUp
</strong></a>(self, page, tab)
</dt></dl>
76 <dl><dt><a name=
"ReloadAction-CustomizeBrowserOptions"><strong>CustomizeBrowserOptions
</strong></a>(self, options)
</dt><dd><tt>Override
to
add
action-specific
options
to
the
BrowserOptions
<br>
77 object.
</tt></dd></dl>
79 <dl><dt><a name=
"ReloadAction-RunsPreviousAction"><strong>RunsPreviousAction
</strong></a>(self)
</dt><dd><tt>Some
actions
require
some
initialization
to
be
performed
before
the
<br>
80 previous
action.
For
example,
wait
for
href
change
needs
to
record
the
old
<br>
81 href
before
the
previous
action
changes
it.
Therefore,
we
allow
actions
to
<br>
82 run
the
previous
action.
An
action
that
does
this
should
override
this
to
<br>
83 return
True
in
order
to
prevent
the
previous
action
from
being
run
twice.
</tt></dd></dl>
85 <dl><dt><a name=
"ReloadAction-WillRunAction"><strong>WillRunAction
</strong></a>(self, page, tab)
</dt><dd><tt>Override
to
do
action-specific
setup
before
<br>
86 Test.WillRunAction
is
called.
</tt></dd></dl>
89 Data descriptors inherited from
<a href=
"telemetry.page.actions.page_action.html#PageAction">telemetry.page.actions.page_action.PageAction
</a>:
<br>
90 <dl><dt><strong>__dict__
</strong></dt>
91 <dd><tt>dictionary
for
instance
variables
(if
defined)
</tt></dd>
93 <dl><dt><strong>__weakref__
</strong></dt>
94 <dd><tt>list
of
weak
references
to
the
object
(if
defined)
</tt></dd>
96 </td></tr></table></td></tr></table>