diff options
author | chase@chromium.org <chase@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-09 21:45:18 +0000 |
---|---|---|
committer | chase@chromium.org <chase@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-09 21:45:18 +0000 |
commit | 7fc262d827153f49ca7aa6f4ad2edf8cd64fd75a (patch) | |
tree | 2b10b888355f96f16d88800c7236211ab0ffbbe0 /tools/page_cycler/sample | |
parent | 5ac950bb1af4dba863e3616a6af8f5ed6a935981 (diff) | |
download | chromium_src-7fc262d827153f49ca7aa6f4ad2edf8cd64fd75a.zip chromium_src-7fc262d827153f49ca7aa6f4ad2edf8cd64fd75a.tar.gz chromium_src-7fc262d827153f49ca7aa6f4ad2edf8cd64fd75a.tar.bz2 |
Add sample page cycler to mirror online docs.
BUG=none
TEST=run chrome targetted at the sample, ensure the
page cycler runs to completion
Review URL: http://codereview.chromium.org/5724002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68767 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/page_cycler/sample')
-rw-r--r-- | tools/page_cycler/sample/page1/index.html | 9 | ||||
-rw-r--r-- | tools/page_cycler/sample/page2/index.html | 9 | ||||
-rw-r--r-- | tools/page_cycler/sample/page3/index.html | 9 | ||||
-rw-r--r-- | tools/page_cycler/sample/page4/index.html | 9 | ||||
-rw-r--r-- | tools/page_cycler/sample/pages.js | 10 | ||||
-rw-r--r-- | tools/page_cycler/sample/start.html | 7 |
6 files changed, 53 insertions, 0 deletions
diff --git a/tools/page_cycler/sample/page1/index.html b/tools/page_cycler/sample/page1/index.html new file mode 100644 index 0000000..26a2e3a --- /dev/null +++ b/tools/page_cycler/sample/page1/index.html @@ -0,0 +1,9 @@ +<html> + <head> + <title>Page1</title> + <script src="../../common/head.js"></script> + </head> + <body> + <h1>Page1</h1> + </body> +</html> diff --git a/tools/page_cycler/sample/page2/index.html b/tools/page_cycler/sample/page2/index.html new file mode 100644 index 0000000..a020a97 --- /dev/null +++ b/tools/page_cycler/sample/page2/index.html @@ -0,0 +1,9 @@ +<html> + <head> + <title>Page2</title> + <script src="../../common/head.js"></script> + </head> + <body> + <h1>Page2</h1> + </body> +</html> diff --git a/tools/page_cycler/sample/page3/index.html b/tools/page_cycler/sample/page3/index.html new file mode 100644 index 0000000..1f819a2 --- /dev/null +++ b/tools/page_cycler/sample/page3/index.html @@ -0,0 +1,9 @@ +<html> + <head> + <title>Page3</title> + <script src="../../common/head.js"></script> + </head> + <body> + <h1>Page3</h1> + </body> +</html> diff --git a/tools/page_cycler/sample/page4/index.html b/tools/page_cycler/sample/page4/index.html new file mode 100644 index 0000000..0079dd9 --- /dev/null +++ b/tools/page_cycler/sample/page4/index.html @@ -0,0 +1,9 @@ +<html> + <head> + <title>Page4</title> + <script src="../../common/head.js"></script> + </head> + <body> + <h1>Page4</h1> + </body> +</html> diff --git a/tools/page_cycler/sample/pages.js b/tools/page_cycler/sample/pages.js new file mode 100644 index 0000000..a512131 --- /dev/null +++ b/tools/page_cycler/sample/pages.js @@ -0,0 +1,10 @@ +// Copyright (c) 2010 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. + +var __pages = [ + "page1", + "page2", + "page3", + "page4", +]; diff --git a/tools/page_cycler/sample/start.html b/tools/page_cycler/sample/start.html new file mode 100644 index 0000000..c30e8d8 --- /dev/null +++ b/tools/page_cycler/sample/start.html @@ -0,0 +1,7 @@ +<html> +<body> +<h3>Note: You must have started chrome with <tt>--enable-file-cookies</tt> for this test to work manually.</h3> +<script src="pages.js"></script> +<script src="../common/start.js"></script> +</body> +</html> |