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

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: Addressing sky's comments. Created 8 years, 5 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
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..524b2d92adf967e3a5306040ebf3d07f0ac4a8f9
--- /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 std::string& in_text,
+ InstantCompleteBehavior in_behavior,
+ InstantSuggestionType in_type)
+ : text(in_text),
+ behavior(in_behavior),
+ type(in_type) {
+}
+
+InstantSuggestion::~InstantSuggestion() {
+}
+
+InstantNativeSuggestionsParts::InstantNativeSuggestionsParts()
+ : is_search(false),
+ relevance(0) {
+}
+
+InstantNativeSuggestionsParts::~InstantNativeSuggestionsParts() {
+}

Powered by Google App Engine
This is Rietveld 408576698