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

Unified Diff: chrome/common/instant_types.cc

Issue 10809063: Adding Javascript support for the Extended Searchbox API. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Removing clear method. Created 8 years, 4 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/common/instant_types.h ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/instant_types.cc
diff --git a/chrome/common/instant_types.cc b/chrome/common/instant_types.cc
new file mode 100644
index 0000000000000000000000000000000000000000..cf50e1cb7f2ca0c6e5cb6da82185137037f92443
--- /dev/null
+++ b/chrome/common/instant_types.cc
@@ -0,0 +1,29 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/common/instant_types.h"
+
+InstantSuggestion::InstantSuggestion()
+ : behavior(INSTANT_COMPLETE_NOW),
+ type(INSTANT_SUGGESTION_SEARCH) {
+}
+
+InstantSuggestion::InstantSuggestion(const string16& in_text,
+ InstantCompleteBehavior in_behavior,
+ InstantSuggestionType in_type)
+ : text(in_text),
+ behavior(in_behavior),
+ type(in_type) {
+}
+
+InstantSuggestion::~InstantSuggestion() {
+}
+
+InstantAutocompleteResult::InstantAutocompleteResult()
+ : is_search(false),
+ relevance(0) {
+}
+
+InstantAutocompleteResult::~InstantAutocompleteResult() {
+}
« no previous file with comments | « chrome/common/instant_types.h ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698