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

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: Remove test for older API, removed in this CL. 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..8344116cc4e790054515652ffa0e3b553be561f4
--- /dev/null
+++ b/chrome/common/instant_types.cc
@@ -0,0 +1,26 @@
+// 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"
+
+InstantNativeSuggestionsParts::InstantNativeSuggestionsParts() {
sky 2012/07/24 21:14:32 Make order match header (meaning InstantSuggestion
Shishir 2012/07/24 21:31:37 Done.
+}
+
+InstantNativeSuggestionsParts::~InstantNativeSuggestionsParts() {
+}
+
+InstantSuggestion::InstantSuggestion() : behavior(INSTANT_COMPLETE_NOW),
sky 2012/07/24 21:14:32 wrap this to next line (like you did at 20).
Shishir 2012/07/24 21:31:37 Done.
+ 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() {
+}

Powered by Google App Engine
This is Rietveld 408576698