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

Side by Side Diff: chrome/common/extensions/docs/examples/api/tabs/popup.html

Issue 398823002: Sample Extension for Tabs Zoom API. (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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!doctype html>
2 <html>
3 <head>
4 <title>Tab Zoom Extension</title>
5 <style>
6 body {
7 width: 150px;
8 overflow-x: hidden;
9 color: #ffff00;
10 background-color: #186464;
11 }
12
13 img {
14 margin: 5px;
15 border: 2px solid black;
16 vertical-align: middle;
17 width: 19px;
18 height: 19px;
19 }
20 </style>
21 <script src="popup.js"></script>
22 </head>
23 <body>
24 <div style="text-align: center">
25 <button type="button" id="decreaseButton">-</button>
26 <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
27 <button type="button" id="increaseButton">+</button><br>
28 <button type="button" id="defaultButton">Reset to 100%</button>
29 <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.
30 </div>
31 <p>
32 <div style="border-width: 2px; border-style: solid; border-color: #7f0000; p adding: 2px">
33 <form style="border-width: 2px; border-style: solid; border-color: #7f0000 ">
34 <b>Mode:</b><br>
35 <input type="radio" name="modeRadio" value="automatic">automatic<br>
36 <input type="radio" name="modeRadio" value="manual">manual<br>
37 <input type="radio" name="modeRadio" value="disabled">disabled
38 </form><br>
39 <form style="border-width: 2px; border-style: solid; border-color: #7f0000 ">
40 <b>Scope:</b><br>
41 <input type="radio" name="scopeRadio" value="per-origin">per-origin<br>
42 <input type="radio" name="scopeRadio" value="per-tab">per-tab
43 </form>
44 <button type="button" id="setModeButton">Set Zoom Settings</button>
45 </div>
46 <p>
47 <button type="button" id="closeButton">Close</button>
48 </body>
49 </html>
50
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698