ProfilePolicyConnectorFactory: Refactoring from Profile to BrowserContext.
[chromium-blink-merge.git] / ash / touch / touchscreen_util.h
blobfe924a0b1e596776ae5e393756416c180f83e5f6
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.
5 #ifndef ASH_TOUCH_TOUCHSCREEN_UTIL_H_
6 #define ASH_TOUCH_TOUCHSCREEN_UTIL_H_
8 #include <vector>
10 #include "ash/ash_export.h"
11 #include "ash/display/display_info.h"
12 #include "ui/events/devices/touchscreen_device.h"
14 namespace ash {
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);
22 } // namespace ash
24 #endif // ASH_TOUCH_TOUCHSCREEN_UTIL_H_