Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / ui / events / gesture_detection / gesture_config_helper.cc
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "ui/events/gesture_detection/gesture_config_helper.h"
6
7 #include "ui/gfx/screen.h"
8
9 namespace ui {
10
11 GestureProvider::Config DefaultGestureProviderConfig() {
12   GestureProvider::Config config;
13   config.display = gfx::Screen::GetNativeScreen()->GetPrimaryDisplay();
14   return config;
15 }
16
17 }  // namespace ui