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

Unified Diff: chrome/renderer/searchbox/searchbox_extension.cc

Issue 11262015: Remove unused / unnecessary stuff from Instant. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove SuggestedTextView entirely Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/searchbox/searchbox.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/searchbox/searchbox_extension.cc
diff --git a/chrome/renderer/searchbox/searchbox_extension.cc b/chrome/renderer/searchbox/searchbox_extension.cc
index de9bf364bed7424d6250ab9cd4fcc74035c605a3..207ffe9bb8fcd707a64b13cbb5343807a12d6d28 100644
--- a/chrome/renderer/searchbox/searchbox_extension.cc
+++ b/chrome/renderer/searchbox/searchbox_extension.cc
@@ -229,7 +229,7 @@ class SearchBoxExtensionWrapper : public v8::Extension {
static v8::Handle<v8::Value> Show(const v8::Arguments& args);
private:
- DISALLOW_IMPLICIT_CONSTRUCTORS(SearchBoxExtensionWrapper);
+ DISALLOW_COPY_AND_ASSIGN(SearchBoxExtensionWrapper);
};
SearchBoxExtensionWrapper::SearchBoxExtensionWrapper(
@@ -449,8 +449,6 @@ v8::Handle<v8::Value> SearchBoxExtensionWrapper::SetSuggestions(
behavior = INSTANT_COMPLETE_NOW;
} else if (complete_value->Equals(v8::String::New("never"))) {
behavior = INSTANT_COMPLETE_NEVER;
- } else if (complete_value->Equals(v8::String::New("delayed"))) {
- behavior = INSTANT_COMPLETE_DELAYED;
} else if (complete_value->Equals(v8::String::New("replace"))) {
behavior = INSTANT_COMPLETE_REPLACE;
} else {
« no previous file with comments | « chrome/renderer/searchbox/searchbox.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698