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

Side by Side Diff: components/search_engines/template_url.h

Issue 396583002: Stop depending on InstantService from BaseSearchProvider (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_H_ 5 #ifndef COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_H_
6 #define COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_H_ 6 #define COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 // For more details, see http://goto.google.com/binary-clients-logging . 122 // For more details, see http://goto.google.com/binary-clients-logging .
123 std::string assisted_query_stats; 123 std::string assisted_query_stats;
124 124
125 // TODO: Remove along with "aq" CGI param. 125 // TODO: Remove along with "aq" CGI param.
126 int accepted_suggestion; 126 int accepted_suggestion;
127 127
128 // The 0-based position of the cursor within the query string at the time 128 // The 0-based position of the cursor within the query string at the time
129 // the request was issued. Set to base::string16::npos if not used. 129 // the request was issued. Set to base::string16::npos if not used.
130 size_t cursor_position; 130 size_t cursor_position;
131 131
132 // The start-edge margin of the omnibox in pixels, used in extended Instant 132 // True to enable the start-edge margin of the omnibox, used in extended
133 // to align the preview contents with the omnibox. 133 // Instant to align the preview contents with the omnibox.
134 int omnibox_start_margin; 134 bool enable_omnibox_start_margin;
135 135
136 // The URL of the current webpage to be used for experimental zero-prefix 136 // The URL of the current webpage to be used for experimental zero-prefix
137 // suggestions. 137 // suggestions.
138 std::string current_page_url; 138 std::string current_page_url;
139 139
140 // Which omnibox the user used to type the prefix. 140 // Which omnibox the user used to type the prefix.
141 metrics::OmniboxEventProto::PageClassification page_classification; 141 metrics::OmniboxEventProto::PageClassification page_classification;
142 142
143 // True for searches issued with the bookmark bar pref set to shown. 143 // True for searches issued with the bookmark bar pref set to shown.
144 bool bookmark_bar_pinned; 144 bool bookmark_bar_pinned;
(...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 TemplateURLRef new_tab_url_ref_; 698 TemplateURLRef new_tab_url_ref_;
699 TemplateURLRef contextual_search_url_ref_; 699 TemplateURLRef contextual_search_url_ref_;
700 scoped_ptr<AssociatedExtensionInfo> extension_info_; 700 scoped_ptr<AssociatedExtensionInfo> extension_info_;
701 701
702 // TODO(sky): Add date last parsed OSD file. 702 // TODO(sky): Add date last parsed OSD file.
703 703
704 DISALLOW_COPY_AND_ASSIGN(TemplateURL); 704 DISALLOW_COPY_AND_ASSIGN(TemplateURL);
705 }; 705 };
706 706
707 #endif // COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_H_ 707 #endif // COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_H_
OLDNEW
« no previous file with comments | « components/search_engines/search_terms_data.cc ('k') | components/search_engines/template_url.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698