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

Side by Side Diff: chrome/test/data/extensions/samples/subscribe/toolstrip.html

Issue 100182: Fix race where sometimes CSS is not applied to toolstrips. I (Closed)
Patch Set: Merged 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 | « chrome/test/data/extensions/samples/subscribe/extensions_toolstrip.css ('k') | no next file » | 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 <link rel="stylesheet" type="text/css" href="extensions_toolstrip.css">
3 <div id="button" class="toolstrip-button"> 2 <div id="button" class="toolstrip-button">
4 <img id="icon" src="icon_disabled.png"><span>Subscribe</span> 3 <img id="icon" src="icon_disabled.png"><span>Subscribe</span>
5 </div> 4 </div>
6 5
7 <script> 6 <script>
8 var icon = document.getElementById("icon"); 7 var icon = document.getElementById("icon");
9 var button = document.getElementById("button"); 8 var button = document.getElementById("button");
10 var enabled = false; 9 var enabled = false;
11 var feedUrl, req; 10 var feedUrl, req;
12 11
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 } 43 }
45 44
46 function handleClick() { 45 function handleClick() {
47 if (enabled) { 46 if (enabled) {
48 var url = "http://www.google.com/reader/view/feed/" + feedUrl; 47 var url = "http://www.google.com/reader/view/feed/" + feedUrl;
49 chromium.tabs.createTab({url: url}); 48 chromium.tabs.createTab({url: url});
50 } 49 }
51 } 50 }
52 </script> 51 </script>
53 </html> 52 </html>
OLDNEW
« no previous file with comments | « chrome/test/data/extensions/samples/subscribe/extensions_toolstrip.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698