Commit 1768b143 authored by abarth@chromium.org's avatar abarth@chromium.org

Add inbox_app to silk page set

This CL adds an app-style widget called app-drawer to the Silk page set. The
app-drawer widget comes from https://github.com/abarth/app-widgets and is based
on Android's navigation drawer:

http://developer.android.com/design/patterns/navigation-drawer.html

R=nduca@chromium.org
TBR=boliu@chromium.org
BUG=332439

Review URL: https://codereview.chromium.org/120753003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243722 0039d316-1c4b-4281-b951-d872f2087c98
parent 41bee9f0
...@@ -113,6 +113,8 @@ def _CheckLicenseHeaders(excluded_dirs_list, whitelisted_files): ...@@ -113,6 +113,8 @@ def _CheckLicenseHeaders(excluded_dirs_list, whitelisted_files):
excluded_dirs_list.append('gin/test') excluded_dirs_list.append('gin/test')
# This is a test output directory # This is a test output directory
excluded_dirs_list.append('data/dom_perf') excluded_dirs_list.append('data/dom_perf')
# This is a tests directory that doesn't exist in the shipped product.
excluded_dirs_list.append('tools/perf/page_sets')
# Histogram tools, doesn't exist in the snapshot # Histogram tools, doesn't exist in the snapshot
excluded_dirs_list.append('tools/histograms') excluded_dirs_list.append('tools/histograms')
# Swarming tools, doesn't exist in the snapshot # Swarming tools, doesn't exist in the snapshot
......
...@@ -134,6 +134,29 @@ ...@@ -134,6 +134,29 @@
{ {
"url": "file://key_silk_cases/font_wipe.html", "url": "file://key_silk_cases/font_wipe.html",
"smoothness": { "action": "wait", "seconds": 5 } "smoothness": { "action": "wait", "seconds": 5 }
},
{
"url": "file://key_silk_cases/inbox_app.html",
"navigate_steps" : [
{ "action": "navigate" },
{ "action": "wait", "seconds": 2 }
],
"smoothness": {
"action": "slide_drawer"
},
"slide_drawer": [
{
"action": "swipe",
"element_function": "function(callback) { callback(document.getElementById('nav-drawer')); }",
"distance": 200,
"direction": "left",
"left_start_percentage": 0.8,
"top_start_percentage": 0.2,
"wait_after": {
"javascript": "!document.getElementById('nav-drawer').active"
}
}
]
} }
] ]
} }
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment