| Index: telemetry/telemetry/internal/actions/page_action.py
|
| diff --git a/telemetry/telemetry/internal/actions/page_action.py b/telemetry/telemetry/internal/actions/page_action.py
|
| index d85d47aac75efc9757cf0b319f13577becd43f67..cb392e3b157293fb2eb8690588999c315e9af6f4 100644
|
| --- a/telemetry/telemetry/internal/actions/page_action.py
|
| +++ b/telemetry/telemetry/internal/actions/page_action.py
|
| @@ -27,6 +27,16 @@ class PageAction(object):
|
|
|
| __metaclass__ = trace_event.TracedMetaClass
|
|
|
| + def SimulatesUserInput(self):
|
| + """On some platforms (e.g. ChromeOS), the kernel provides a frequency boost
|
| + to the CPUs when an input is received (e.g., keypress, touchpad event).
|
| + Page actions which simulate a user input therefore need to trigger the
|
| + same boost in order to accurately simulate normal behaviour.
|
| +
|
| + This should be overridden by actions which simulate user input.
|
| + """
|
| + return False
|
| +
|
| def WillRunAction(self, tab):
|
| """Override to do action-specific setup before
|
| Test.WillRunAction is called."""
|
|
|