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

Unified Diff: chrome/test/data/instant/suggest_google.html

Issue 5787008: Makes instant not suggest string that look like urls. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge and convert active to displayable Created 10 years 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/browser/instant/instant_loader.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/instant/suggest_google.html
diff --git a/chrome/test/data/instant/suggest_google.html b/chrome/test/data/instant/suggest_google.html
new file mode 100644
index 0000000000000000000000000000000000000000..44e79ca3b92a207f39b02ac1e23dcad9416b377c
--- /dev/null
+++ b/chrome/test/data/instant/suggest_google.html
@@ -0,0 +1,16 @@
+<html>
+<body>
+<h1>Instant</h1>
+<div id=log></div>
+<script>
+window.chrome.sv = true;
+
+var searchBox = window.chrome.searchBox || {};
+
+window.chrome.searchBox.onchange = function() {
+ searchBox.setSuggestions(["www.google.com"]);
+};
+
+</script>
+</body>
+</html>
« no previous file with comments | « chrome/browser/instant/instant_loader.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698