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

Unified Diff: chrome/test/data/extensions/api_test/omnibox/test.html

Issue 5064001: More changes to extension omnibox API for styles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: offset Created 10 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/extensions/docs/experimental.omnibox.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/api_test/omnibox/test.html
diff --git a/chrome/test/data/extensions/api_test/omnibox/test.html b/chrome/test/data/extensions/api_test/omnibox/test.html
index 6394fab42fce6b1a0602f062399c4a086d6e2a4a..6f9d98851fc3de51c514a5176945d30442aed25f 100644
--- a/chrome/test/data/extensions/api_test/omnibox/test.html
+++ b/chrome/test/data/extensions/api_test/omnibox/test.html
@@ -9,7 +9,7 @@ chrome.omnibox.onInputChanged.addListener(
if (text != "suggestio")
return;
- var desc = 'Description with style: <match> [dim], none';
+ var desc = 'Description with style: <match>, [dim], (url till end)';
suggest([
{
content: text + "n1",
@@ -17,6 +17,7 @@ chrome.omnibox.onInputChanged.addListener(
descriptionStyles: [
chrome.omnibox.styleMatch(desc.indexOf('<'), 6),
chrome.omnibox.styleDim(desc.indexOf('['), 4),
+ chrome.omnibox.styleUrl(desc.indexOf('(')),
]
},
{content: text + "n2", description: "description2"},
« no previous file with comments | « chrome/common/extensions/docs/experimental.omnibox.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698