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

Unified Diff: chrome/browser/metrics/metrics_log.cc

Issue 22679003: InstantExtended(gtk): Hide top match if told to so. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/metrics/metrics_log.cc
diff --git a/chrome/browser/metrics/metrics_log.cc b/chrome/browser/metrics/metrics_log.cc
index 7d7826b9c7c3925ec8025d886f3ac9fa5333298f..4030f1e84f1718427cfbed11a4e6a8ad02e6f847 100644
--- a/chrome/browser/metrics/metrics_log.cc
+++ b/chrome/browser/metrics/metrics_log.cc
@@ -857,13 +857,8 @@ void MetricsLog::RecordOmniboxOpenedURL(const OmniboxLog& log) {
omnibox_event->set_current_page_classification(
AsOmniboxEventPageClassification(log.current_page_classification));
omnibox_event->set_input_type(AsOmniboxEventInputType(log.input_type));
-
- // The view code to hide the top result is currently only implemented on the
- // Mac and for views.
-#if defined(OS_MACOSX) || defined(TOOLKIT_VIEWS)
omnibox_event->set_is_top_result_hidden_in_dropdown(
log.result.ShouldHideTopMatch());
-#endif // defined(OS_MACOSX) || defined(TOOLKIT_VIEWS)
for (AutocompleteResult::const_iterator i(log.result.begin());
i != log.result.end(); ++i) {

Powered by Google App Engine
This is Rietveld 408576698