Chromium Code Reviews| Index: chrome/common/extensions/docs/examples/api/tabs/popup.html |
| diff --git a/chrome/common/extensions/docs/examples/api/tabs/popup.html b/chrome/common/extensions/docs/examples/api/tabs/popup.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..b3b85de496beb23e19401265b0b19f56071ec7e3 |
| --- /dev/null |
| +++ b/chrome/common/extensions/docs/examples/api/tabs/popup.html |
| @@ -0,0 +1,50 @@ |
| +<!doctype html> |
| +<html> |
| + <head> |
| + <title>Tab Zoom Extension</title> |
| + <style> |
| + body { |
| + width: 150px; |
| + overflow-x: hidden; |
| + color: #ffff00; |
| + background-color: #186464; |
| + } |
| + |
| + img { |
| + margin: 5px; |
| + border: 2px solid black; |
| + vertical-align: middle; |
| + width: 19px; |
| + height: 19px; |
| + } |
| + </style> |
| + <script src="popup.js"></script> |
| + </head> |
| + <body> |
| + <div style="text-align: center"> |
| + <button type="button" id="decreaseButton">-</button> |
| + <button type="button" id="displayButton">100%</button> |
|
raymes
2014/07/17 00:39:10
Since clicking this doesn't seem to do anything, m
wjmaclean
2014/07/17 18:46:26
Done.
I had made it a button in order to get a co
|
| + <button type="button" id="increaseButton">+</button><br> |
| + <button type="button" id="defaultButton">Reset to 100%</button> |
| + <div id="zoomFactorDisplay"></div> |
|
raymes
2014/07/17 00:39:10
This div seems to be unused so I think it can be r
wjmaclean
2014/07/17 18:46:26
Done.
|
| + </div> |
| + <p> |
| + <div style="border-width: 2px; border-style: solid; border-color: #7f0000; padding: 2px"> |
| + <form style="border-width: 2px; border-style: solid; border-color: #7f0000"> |
| + <b>Mode:</b><br> |
| + <input type="radio" name="modeRadio" value="automatic">automatic<br> |
| + <input type="radio" name="modeRadio" value="manual">manual<br> |
| + <input type="radio" name="modeRadio" value="disabled">disabled |
| + </form><br> |
| + <form style="border-width: 2px; border-style: solid; border-color: #7f0000"> |
| + <b>Scope:</b><br> |
| + <input type="radio" name="scopeRadio" value="per-origin">per-origin<br> |
| + <input type="radio" name="scopeRadio" value="per-tab">per-tab |
| + </form> |
| + <button type="button" id="setModeButton">Set Zoom Settings</button> |
| + </div> |
| + <p> |
| + <button type="button" id="closeButton">Close</button> |
| + </body> |
| +</html> |
| + |