Home | History | Annotate | Download | only in chromeos
      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 UI_DISPLAY_TYPES_CHROMEOS_TOUCHSCREEN_DEVICE_MANAGER_H_
      6 #define UI_DISPLAY_TYPES_CHROMEOS_TOUCHSCREEN_DEVICE_MANAGER_H_
      7 
      8 #include <vector>
      9 
     10 #include "ui/display/types/chromeos/touchscreen_device.h"
     11 
     12 namespace ui {
     13 
     14 // Implementations are responsible for querying and returning a list of avalable
     15 // touchscreen devices.
     16 class DISPLAY_TYPES_EXPORT TouchscreenDeviceManager {
     17  public:
     18   virtual ~TouchscreenDeviceManager() {}
     19 
     20   // Returns a list of available touchscreen devices. This call will query the
     21   // underlying system for an updated list of devices.
     22   virtual std::vector<TouchscreenDevice> GetDevices() = 0;
     23 };
     24 
     25 }  // namespace ui
     26 
     27 #endif  // UI_DISPLAY_TYPES_CHROMEOS_TOUCHSCREEN_DEVICE_MANAGER_H_
     28