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

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

Issue 1051013002: Add default zoom functionality to chrome.tabs Zoom API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address suggestions. Created 5 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 unified diff | Download patch
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>Tab Zoom Extension</title> 4 <title>Tab Zoom Extension</title>
5 <style> 5 <style>
6 body { 6 body {
7 width: 150px; 7 width: 150px;
8 overflow-x: hidden; 8 overflow-x: hidden;
9 color: #ffff00; 9 color: #ffff00;
10 background-color: #186464; 10 background-color: #186464;
(...skipping 12 matching lines...) Expand all
23 <body> 23 <body>
24 <div style="text-align: center"> 24 <div style="text-align: center">
25 <table style="margin: 0px auto"> 25 <table style="margin: 0px auto">
26 <tr> 26 <tr>
27 <td><button type="button" id="decreaseButton">-</button></td> 27 <td><button type="button" id="decreaseButton">-</button></td>
28 <td><div style="width: 50px; border-style: solid; border-width: 1px" 28 <td><div style="width: 50px; border-style: solid; border-width: 1px"
29 id="displayDiv">100%</div></td> 29 id="displayDiv">100%</div></td>
30 <td><button type="button" id="increaseButton">+</button></td> 30 <td><button type="button" id="increaseButton">+</button></td>
31 </td> 31 </td>
32 </table> 32 </table>
33 <button type="button" id="defaultButton">Reset to 100%</button> 33 <button type="button" id="defaultButton">Reset to Default</button>
34 <div id="defaultLabel"></div>
34 </div> 35 </div>
35 <p> 36 <p>
36 <div style="border-width: 2px; border-style: solid; border-color: #7f0000; p adding: 2px"> 37 <div style="border-width: 2px; border-style: solid; border-color: #7f0000; p adding: 2px">
37 <form style="border-width: 2px; border-style: solid; border-color: #7f0000 "> 38 <form style="border-width: 2px; border-style: solid; border-color: #7f0000 ">
38 <b>Mode:</b><br> 39 <b>Mode:</b><br>
39 <input type="radio" name="modeRadio" value="automatic">automatic<br> 40 <input type="radio" name="modeRadio" value="automatic">automatic<br>
40 <input type="radio" name="modeRadio" value="manual">manual<br> 41 <input type="radio" name="modeRadio" value="manual">manual<br>
41 <input type="radio" name="modeRadio" value="disabled">disabled 42 <input type="radio" name="modeRadio" value="disabled">disabled
42 </form><br> 43 </form><br>
43 <form style="border-width: 2px; border-style: solid; border-color: #7f0000 "> 44 <form style="border-width: 2px; border-style: solid; border-color: #7f0000 ">
44 <b>Scope:</b><br> 45 <b>Scope:</b><br>
45 <input type="radio" name="scopeRadio" value="per-origin">per-origin<br> 46 <input type="radio" name="scopeRadio" value="per-origin">per-origin<br>
46 <input type="radio" name="scopeRadio" value="per-tab">per-tab 47 <input type="radio" name="scopeRadio" value="per-tab">per-tab
47 </form> 48 </form>
48 <button type="button" id="setModeButton">Set Zoom Settings</button> 49 <button type="button" id="setModeButton">Set Zoom Settings</button>
49 </div> 50 </div>
50 <p> 51 <p>
51 <button type="button" id="closeButton">Close</button> 52 <button type="button" id="closeButton">Close</button>
52 </body> 53 </body>
53 </html> 54 </html>
54 55
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698