summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authorgeorged@chromium.org <georged@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-24 00:22:09 +0000
committergeorged@chromium.org <georged@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-24 00:22:09 +0000
commitaea323ed82f098e0e795046a95ae212d76b564ff (patch)
tree328af1e21178f75f1b50a180576a9c9a25843fe1 /chrome/browser
parentc76ecf400cae33e3b31f7d21c16ac64b2c153b3b (diff)
downloadchromium_src-aea323ed82f098e0e795046a95ae212d76b564ff.zip
chromium_src-aea323ed82f098e0e795046a95ae212d76b564ff.tar.gz
chromium_src-aea323ed82f098e0e795046a95ae212d76b564ff.tar.bz2
Extensions now support css user script definition. This checkin adds
the css user script information to chrome-ui://extensions/ Review URL: http://codereview.chromium.org/49011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12329 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/resources/extensions.html22
1 files changed, 17 insertions, 5 deletions
diff --git a/chrome/browser/resources/extensions.html b/chrome/browser/resources/extensions.html
index 55a21d8..c7a4dc7 100644
--- a/chrome/browser/resources/extensions.html
+++ b/chrome/browser/resources/extensions.html
@@ -18,10 +18,12 @@ var extensionDataFormat = {
"content_scripts": [
{
"js": ["script1_file1.js", "script1_file2.js"],
+ "css": ["script1_file1.css", "script1_file2.css"],
"matches": ["http://*/*", "http://other.com/*"]
},
{
"js": ["script2_file1.js", "script2_file2.js"],
+ "css": ["script2_file1.css", "script2_file2.css"],
"matches": ["http://*/*", "http://other.com/*"]
}
]
@@ -33,10 +35,12 @@ var extensionDataFormat = {
"content_scripts": [
{
"js": ["script1_file1.js", "script1_file2.js"],
+ "css": ["script1_file1.css", "script1_file2.css"],
"matches": ["http://*/*", "http://other.com/*"]
},
{
"js": ["script2_file1.js", "script2_file2.js"],
+ "css": ["script2_file1.css", "script2_file2.css"],
"matches": ["http://*/*", "http://other.com/*"]
}
]
@@ -215,17 +219,25 @@ th.enabled {
</thead>
<tbody>
<tr>
- <td>JavaScript Files</td>
+ <td>URL Match Patterns</td>
<td>
- <span jsselect="js"
+ <span jsselect="matches"
jscontent="(($index > 0) ? ', ' : '') + $this">
</span>
</td>
</tr>
- <tr>
- <td>URL Match Patterns</td>
+ <tr>
+ <td>CSS Files</td>
<td>
- <span jsselect="matches"
+ <span jsselect="css"
+ jscontent="(($index > 0) ? ', ' : '') + $this">
+ </span>
+ </td>
+ </tr>
+ <tr>
+ <td>JavaScript Files</td>
+ <td>
+ <span jsselect="js"
jscontent="(($index > 0) ? ', ' : '') + $this">
</span>
</td>