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

Unified Diff: chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.h

Issue 1182303005: Fixed the Touchscreen.TouchEventsEnabled histogram to record the correct values on X11 and Ozone ba… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed compile time issues across the failing platform builds. Created 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.h
diff --git a/chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.h b/chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.h
index 43a0d42ba9eef1b5b8845a521225ba32ad9a72e6..38077ed44c5887d96a87c72f5c9ec5615196511b 100644
--- a/chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.h
+++ b/chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.h
@@ -18,6 +18,14 @@ namespace chrome {
void AddMetricsExtraParts(ChromeBrowserMainParts* main_parts);
}
+#if defined(USE_OZONE) || defined(USE_X11)
Alexei Svitkine (slow) 2015/07/07 22:00:58 Nit: I don't think it's necessary to guard forward
bruthig 2015/07/08 20:29:52 Done.
+
+namespace ui {
+class InputDeviceEventObserver;
+} // namespace ui
+
+#endif // defined(USE_OZONE) || defined(USE_X11)
+
class ChromeBrowserMainExtraPartsMetrics
: public ChromeBrowserMainExtraParts,
public gfx::DisplayObserver,
@@ -59,6 +67,10 @@ class ChromeBrowserMainExtraPartsMetrics
// Measures start up performance of the first active web contents.
scoped_ptr<FirstWebContentsProfiler> first_web_contents_profiler_;
+#if defined(USE_OZONE) || defined(USE_X11)
+ scoped_ptr<ui::InputDeviceEventObserver> input_device_event_observer_;
+#endif // defined(USE_OZONE) || defined(USE_X11)
+
DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsMetrics);
};

Powered by Google App Engine
This is Rietveld 408576698