Home | History | Annotate | Download | only in touch
      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 #ifndef ASH_TOUCH_TOUCHSCREEN_UTIL_H_
      6 #define ASH_TOUCH_TOUCHSCREEN_UTIL_H_
      7 
      8 #include <vector>
      9 
     10 #include "ash/ash_export.h"
     11 #include "ash/display/display_info.h"
     12 #include "ui/events/touchscreen_device.h"
     13 
     14 namespace ash {
     15 
     16 // Given a list of displays and a list of touchscreens, associate them. The
     17 // information in |displays| will be updated to reflect the mapping.
     18 ASH_EXPORT void AssociateTouchscreens(
     19     std::vector<DisplayInfo>* displays,
     20     const std::vector<ui::TouchscreenDevice>& touchscreens);
     21 
     22 }  // namespace ash
     23 
     24 #endif  // ASH_TOUCH_TOUCHSCREEN_UTIL_H_
     25