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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « chrome/common/instant_types.h ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/common/instant_types.h"
6
7 InstantSuggestion::InstantSuggestion()
8 : behavior(INSTANT_COMPLETE_NOW),
9 type(INSTANT_SUGGESTION_SEARCH) {
10 }
11
12 InstantSuggestion::InstantSuggestion(const string16& in_text,
13 InstantCompleteBehavior in_behavior,
14 InstantSuggestionType in_type)
15 : text(in_text),
16 behavior(in_behavior),
17 type(in_type) {
18 }
19
20 InstantSuggestion::~InstantSuggestion() {
21 }
22
23 InstantAutocompleteResult::InstantAutocompleteResult()
24 : is_search(false),
25 relevance(0) {
26 }
27
28 InstantAutocompleteResult::~InstantAutocompleteResult() {
29 }
OLDNEW
« 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