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

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: Reorder member functions. 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 bebdad2cf21c1e406147628ff29508b14e55e154..d115ba053a5d3ffa71d1b23352c1c89026eb096e 100644
--- a/chrome/browser/metrics/metrics_log.cc
+++ b/chrome/browser/metrics/metrics_log.cc
@@ -860,13 +860,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