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

Side by Side Diff: chrome/test/data/extensions/bookmarks/bookmark_api.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, 7 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
« no previous file with comments | « no previous file | chrome/test/data/extensions/bookmarks/bookmark_view.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <style> 2 <link rel="stylesheet" type="text/css" href="extensions_toolstrip.css">
3 body {
4 overflow: hidden;
5 margin: 0 0 0 0;
6 }
7
8 /* TODO: put the background style into body when
9 https://bugs.webkit.org/show_bug.cgi?id=18445 is fixed. */
10 .content {
11 background: -webkit-gradient(linear, left top, left bottom, from(rgb(222, 234, 248)), to(rgb(237, 244, 252)));
12 padding: 1;
13 white-space: nowrap;
14 }
15
16 .button {
17 display: inline;
18 border: 1px solid silver;
19 padding: 2px;
20 margin: 1px 3px;
21 height: 100%;
22 }
23 </style>
24 <script> 3 <script>
25 4
26 var dump = function(obj, indent) { 5 var dump = function(obj, indent) {
27 if (indent === undefined) 6 if (indent === undefined)
28 indent = ""; 7 indent = "";
29 if (typeof obj == "object") { 8 if (typeof obj == "object") {
30 var ret = "{<br/>"; 9 var ret = "{<br/>";
31 var child_indent = indent + " "; 10 var child_indent = indent + " ";
32 for (var item in obj) { 11 for (var item in obj) {
33 var child = null; 12 var child = null;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 var win = window.open(); 77 var win = window.open();
99 win.document.write("<html><body><pre>"); 78 win.document.write("<html><body><pre>");
100 win.document.write(dump(results)); 79 win.document.write(dump(results));
101 win.document.write("</pre></body></html>"); 80 win.document.write("</pre></body></html>");
102 win.document.title = "Bookmarks"; 81 win.document.title = "Bookmarks";
103 }); 82 });
104 */ 83 */
105 }; 84 };
106 </script> 85 </script>
107 <body> 86 <body>
108 <div class="content"> 87 <div class="toolstrip-button" onclick="dumpBookmarks(window.event);">
109 <div class="button" onclick="dumpBookmarks(window.event);"> 88 <span>Dump Bookmarks</span>
110 Dump Bookmarks
111 </div> 89 </div>
112 <div class="button" onclick="testMoveBookmarks(window.event);"> 90 <div class="toolstrip-button" onclick="testMoveBookmarks(window.event);">
113 Test Move 91 <span>Test Move</span>
114 </div>
115 </div> 92 </div>
116 </body> 93 </body>
117 </html> 94 </html>
OLDNEW
« no previous file with comments | « no previous file | chrome/test/data/extensions/bookmarks/bookmark_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698