1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4 from telemetry
.page
import page
as page_module
5 from telemetry
.page
import page_set
as page_set_module
7 class ImageDecodingCasesPage(page_module
.Page
):
9 def __init__(self
, url
, page_set
):
10 super(ImageDecodingCasesPage
, self
).__init
__(url
=url
, page_set
=page_set
)
12 def RunPageInteractions(self
, action_runner
):
15 class ImageDecodingCasesPageSet(page_set_module
.PageSet
):
17 """ A directed benchmark of accelerated jpeg image decoding performance """
20 super(ImageDecodingCasesPageSet
, self
).__init
__()
23 'file://image_decoding_cases/yuv_decoding.html'
27 self
.AddUserStory(ImageDecodingCasesPage(url
, self
))