Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Unified Diff: webkit/data/test_shell/sort/sort.html

Issue 401923005: webkit: Remove all files from test_shell/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/data/test_shell/sort/sort.css ('k') | webkit/data/test_shell/sort/sort.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/data/test_shell/sort/sort.html
diff --git a/webkit/data/test_shell/sort/sort.html b/webkit/data/test_shell/sort/sort.html
deleted file mode 100644
index fe1ab429bd6a066d9a0f4fd0fb6f4318f4e6db7d..0000000000000000000000000000000000000000
--- a/webkit/data/test_shell/sort/sort.html
+++ /dev/null
@@ -1,99 +0,0 @@
-<html>
-<head>
-<title>Sorting in action</title>
-
-<link rel=stylesheet href="sort.css" type="text/css">
-
-<script src="sort.js"></script>
-<script src="sort-bubble.js"></script>
-<script src="sort-insertion.js"></script>
-<script src="sort-quick.js"></script>
-<script src="sort-heap.js"></script>
-
-<script>
-var sorts = new Array();
-sorts.push(new Sort("Bubble", sort_bubble));
-sorts.push(new Sort("Insertion", sort_insertion));
-sorts.push(new Sort("Quick", sort_quick));
-sorts.push(new Sort("Heap", sort_heap));
-
-
-function init() {
- function starter(sort) {
- return function(){sort.start();};
- }
- for (var i = 0; i < sorts.length; i++) {
- var sort = sorts[i];
- sort.init();
- var graph = document.getElementById(sort.name);
- graph.onclick = starter(sort);
- }
- var inner_loop = document.getElementById("inner_loop");
- inner_loop.checked = inner_loop_enabled != 0;
-}
-
-function start_all() {
- for (var i = 0; i < sorts.length; i++) {
- sorts[i].start();
- }
-}
-
-function reset_all() {
- for (var i = 0; i < sorts.length; i++) {
- sorts[i].reset();
- }
-}
-
-function change_size(val) {
- size = val;
- reset_all();
-}
-
-function enable_inner_loop(enabled) {
- if (enabled) {
- inner_loop_enabled = 1;
- } else {
- inner_loop_enabled = 0;
- }
-}
-
-</script>
-</head>
-<body onload="init();">
-
-
-<div id="sort_container" style="border: 0px solid black; margin: 0px">
-<div>
-<div class="button" onclick="start_all();">Start All</div>
-<div class="button" onclick="reset_all();">Reset All</div>
-...or click on each algorithm to start separately
-<div style="float:right">
-<b>Size</b><input onchange="change_size(this.value);" id="size" value=300 size=3>
-<b>Inner Loop</b><input id="inner_loop" type="checkbox" onchange="enable_inner_loop(this.checked);" id="inner loop">
-</div>
-</div>
-
-<div>
-<ul id="Heap" class="bar">
-</ul>
-</div>
-
-<div>
-<ul id="Quick" class="bar">
-</ul>
-</div>
-
-<div>
-<ul id="Bubble" class="bar">
-</ul>
-</div>
-
-<div>
-<ul id="Insertion" class="bar">
-</ul>
-</div>
-
-</div>
-
-</body>
-</html>
« no previous file with comments | « webkit/data/test_shell/sort/sort.css ('k') | webkit/data/test_shell/sort/sort.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698