Index: chrome/browser/metrics/chromeos_metrics_provider.cc |
diff --git a/chrome/browser/metrics/chromeos_metrics_provider.cc b/chrome/browser/metrics/chromeos_metrics_provider.cc |
index a3b2e385547021a7cd054ca7219cfe11e6ca03e7..c63f9e1b2c37d8a83dd3a0435b9c66c0170ce858 100644 |
--- a/chrome/browser/metrics/chromeos_metrics_provider.cc |
+++ b/chrome/browser/metrics/chromeos_metrics_provider.cc |
@@ -25,8 +25,8 @@ |
#include "device/bluetooth/bluetooth_adapter.h" |
#include "device/bluetooth/bluetooth_adapter_factory.h" |
#include "device/bluetooth/bluetooth_device.h" |
+#include "ui/display/display.h" |
#include "ui/events/event_utils.h" |
-#include "ui/gfx/screen.h" |
#if defined(USE_X11) |
#include "ui/events/devices/x11/touch_factory_x11.h" |
@@ -196,10 +196,11 @@ void ChromeOSMetricsProvider::ProvideSystemProfileMetrics( |
metrics::SystemProfileProto::Hardware* hardware = |
system_profile_proto->mutable_hardware(); |
hardware->set_hardware_class(hardware_class_); |
- gfx::Display::TouchSupport has_touch = ui::GetInternalDisplayTouchSupport(); |
- if (has_touch == gfx::Display::TOUCH_SUPPORT_AVAILABLE) |
+ display::Display::TouchSupport has_touch = |
+ ui::GetInternalDisplayTouchSupport(); |
+ if (has_touch == display::Display::TOUCH_SUPPORT_AVAILABLE) |
hardware->set_internal_display_supports_touch(true); |
- else if (has_touch == gfx::Display::TOUCH_SUPPORT_UNAVAILABLE) |
+ else if (has_touch == display::Display::TOUCH_SUPPORT_UNAVAILABLE) |
hardware->set_internal_display_supports_touch(false); |
WriteExternalTouchscreensProto(hardware); |
} |