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

Unified Diff: chrome/common/extensions/docs/examples/api/storage/stylizr/options.html

Issue 8916013: Added storage sample. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Storage sample Created 9 years 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/common/extensions/docs/examples/api/storage/stylizr/options.html
diff --git a/chrome/common/extensions/docs/examples/api/storage/stylizr/options.html b/chrome/common/extensions/docs/examples/api/storage/stylizr/options.html
new file mode 100644
index 0000000000000000000000000000000000000000..108e661727952716e7f27713c95a9c2ef8f9b743
--- /dev/null
+++ b/chrome/common/extensions/docs/examples/api/storage/stylizr/options.html
@@ -0,0 +1,42 @@
+<!doctype html>
+<html>
+ <head>
+ <title>Stylizr</title>
+ <style>
+ body {
+ font-family: sans-serif;
+ }
+ label {
+ display: block;
+ }
+ textarea {
+ font-family: monospace;
+ }
+ .message {
+ height: 20px;
+ background: #eee;
+ padding: 5px;
+ }
+ </style>
+ </head>
+ <body>
+ <div class="message"></div>
+ <h3>Stylizr Instructions</h3>
+
+ <ol>
+ <li>Write CSS in this textarea and save</li>
+ <li>Navigate to some page</li>
+ <li>Click the browser action icon <img src="icon.png" /></li>
+ <li>Hey presto! CSS is injected!</li>
+ </ol>
+
+ <textarea name="style_url" id="style_url" cols=80 rows=24
+ placeholder="eg: * { font-size: 110%; }"></textarea>
+
+ <br/>
+ <button class="submit">Save</button>
+ <button class="reset">Reset</button>
+
+ <script src="options.js"></script>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698