projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git]
/
src
/
tools
/
perf
/
page_sets
/
tough_layout_cases.py
diff --git
a/src/tools/perf/page_sets/tough_layout_cases.py
b/src/tools/perf/page_sets/tough_layout_cases.py
index
7587305
..
feab418
100644
(file)
--- a/
src/tools/perf/page_sets/tough_layout_cases.py
+++ b/
src/tools/perf/page_sets/tough_layout_cases.py
@@
-1,8
+1,6
@@
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-# pylint: disable=W0401,W0614
-from telemetry.page.actions.all_page_actions import *
from telemetry.page import page as page_module
from telemetry.page import page_set as page_set_module
from telemetry.page import page as page_module
from telemetry.page import page_set as page_set_module
@@
-16,7
+14,10
@@
class ToughLayoutCasesPage(page_module.Page):
self.archive_data_file = 'data/tough_layout_cases.json'
def RunSmoothness(self, action_runner):
self.archive_data_file = 'data/tough_layout_cases.json'
def RunSmoothness(self, action_runner):
- action_runner.RunAction(ScrollAction())
+ interaction = action_runner.BeginGestureInteraction(
+ 'ScrollAction', is_smooth=True)
+ action_runner.ScrollPage()
+ interaction.End()
class ToughLayoutCasesPageSet(page_set_module.PageSet):
class ToughLayoutCasesPageSet(page_set_module.PageSet):