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

Side by Side Diff: chrome/common/instant_types.cc

Issue 11413018: alternate ntp: implement searchbox api for instant overlay to adopt themes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed scott's comments Created 8 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/instant_types.h" 5 #include "chrome/common/instant_types.h"
6 6
7 InstantSuggestion::InstantSuggestion() 7 InstantSuggestion::InstantSuggestion()
8 : behavior(INSTANT_COMPLETE_NOW), 8 : behavior(INSTANT_COMPLETE_NOW),
9 type(INSTANT_SUGGESTION_SEARCH) { 9 type(INSTANT_SUGGESTION_SEARCH) {
10 } 10 }
11 11
12 InstantSuggestion::InstantSuggestion(const string16& in_text, 12 InstantSuggestion::InstantSuggestion(const string16& in_text,
13 InstantCompleteBehavior in_behavior, 13 InstantCompleteBehavior in_behavior,
14 InstantSuggestionType in_type) 14 InstantSuggestionType in_type)
15 : text(in_text), 15 : text(in_text),
16 behavior(in_behavior), 16 behavior(in_behavior),
17 type(in_type) { 17 type(in_type) {
18 } 18 }
19 19
20 InstantSuggestion::~InstantSuggestion() { 20 InstantSuggestion::~InstantSuggestion() {
21 } 21 }
22 22
23 InstantAutocompleteResult::InstantAutocompleteResult() : relevance(0) { 23 InstantAutocompleteResult::InstantAutocompleteResult() : relevance(0) {
24 } 24 }
25 25
26 InstantAutocompleteResult::~InstantAutocompleteResult() { 26 InstantAutocompleteResult::~InstantAutocompleteResult() {
27 } 27 }
28
29 ThemeBackgroundInfo::ThemeBackgroundInfo() : image_height(0) {
30 }
31
32 ThemeBackgroundInfo::~ThemeBackgroundInfo() {
33 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698