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

Unified Diff: chrome/test/data/extensions/samples/resizer/resizer.html

Issue 99172: Part 1 of sample sprucing. (Closed)
Patch Set: Added buildbot.crx, since that seems like something people might want to install. Created 11 years, 8 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
Index: chrome/test/data/extensions/samples/resizer/resizer.html
diff --git a/chrome/test/data/extensions/samples/resizer/resizer.html b/chrome/test/data/extensions/samples/resizer/resizer.html
new file mode 100644
index 0000000000000000000000000000000000000000..0542474cc39629a07e3583999aa94c0e547c473f
--- /dev/null
+++ b/chrome/test/data/extensions/samples/resizer/resizer.html
@@ -0,0 +1,33 @@
+<html>
+ <head>
+ <style>
+.big {
+ width: 500px;
+ background-color: red;
+ -webkit-transition: all .5s ease-out;
+}
+
+.small {
+ width: 50px;
+ background-color: blue;
+ -webkit-transition: all .5s ease-out;
+}
+ </style>
+ <script>
+function toggle() {
+ var resizer = document.getElementById('resizer');
+ if (resizer.className == 'big') {
+ resizer.className = 'small';
+ resizer.innerHTML = '(small)';
+ } else {
+ resizer.className = 'big';
+ resizer.innerHTML = 'BIG!';
+ }
+}
+</script>
+ </head>
+ <body
+ <div onclick="toggle();" id="resizer" class="big"> BIG! </div>
+ </body>
+</html>
+
« no previous file with comments | « chrome/test/data/extensions/samples/resizer/manifest.json ('k') | chrome/test/data/extensions/samples/subscribe.crx » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698