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

Unified Diff: ui/events/event_utils.cc

Issue 1608733002: Remove ui/gfx/screen_type_delegate.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-4
Patch Set: and another rebase Created 4 years, 11 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: ui/events/event_utils.cc
diff --git a/ui/events/event_utils.cc b/ui/events/event_utils.cc
index cb4788d145592d22d8f0231db7fae5d35755a747..aa9ed7b34e90916d6d73589fefab85537133e272 100644
--- a/ui/events/event_utils.cc
+++ b/ui/events/event_utils.cc
@@ -71,7 +71,7 @@ bool ShouldDefaultToNaturalScroll() {
}
gfx::Display::TouchSupport GetInternalDisplayTouchSupport() {
- gfx::Screen* screen = gfx::Screen::GetScreenByType(gfx::SCREEN_TYPE_NATIVE);
+ gfx::Screen* screen = gfx::Screen::GetScreen();
// No screen in some unit tests.
if (!screen)
return gfx::Display::TOUCH_SUPPORT_UNKNOWN;
« no previous file with comments | « ui/chromeos/ime/mode_indicator_view.cc ('k') | ui/events/gesture_detection/gesture_provider_config_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698