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

Unified Diff: ui/events/gesture_detection/gesture_config_helper_aura.cc

Issue 854713003: More old files deletion. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fix tryjobs? Created 5 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
« no previous file with comments | « ui/events/event_utils.cc ('k') | ui/events/test/event_generator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/gesture_detection/gesture_config_helper_aura.cc
diff --git a/ui/events/gesture_detection/gesture_config_helper_aura.cc b/ui/events/gesture_detection/gesture_config_helper_aura.cc
index 1434be1f78f7414719f3162b40dd65271c5f7add..164f3c9e2f53ef36753f5c7820606a069b73b98c 100644
--- a/ui/events/gesture_detection/gesture_config_helper_aura.cc
+++ b/ui/events/gesture_detection/gesture_config_helper_aura.cc
@@ -9,7 +9,6 @@
#include "base/command_line.h"
#include "ui/events/event_switches.h"
#include "ui/events/gestures/gesture_configuration.h"
-#include "ui/gfx/screen.h"
namespace ui {
namespace {
@@ -57,10 +56,6 @@ ScaleGestureDetector::Config DefaultScaleGestureDetectorConfig() {
GestureProvider::Config DefaultGestureProviderConfig() {
GestureProvider::Config config;
- gfx::Screen* screen = gfx::Screen::GetScreenByType(gfx::SCREEN_TYPE_NATIVE);
- // |screen| is sometimes NULL during tests.
- if (screen)
- config.display = screen->GetPrimaryDisplay();
config.gesture_detector_config = DefaultGestureDetectorConfig();
config.scale_gesture_detector_config = DefaultScaleGestureDetectorConfig();
config.gesture_begin_end_types_enabled = true;
« no previous file with comments | « ui/events/event_utils.cc ('k') | ui/events/test/event_generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698