Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / chromeos / system / input_device_settings.h
index 901106a..ba938a1 100644 (file)
@@ -96,6 +96,9 @@ class TouchpadSettings {
   void SetTapDragging(bool enabled);
   bool GetTapDragging() const;
 
+  void SetNaturalScroll(bool enabled);
+  bool GetNaturalScroll() const;
+
   // Updates |this| with |settings|. If at least one setting was updated returns
   // true.
   // |argv| is filled with arguments of script, that should be launched in order
@@ -107,6 +110,7 @@ class TouchpadSettings {
   internal::Optional<bool> tap_to_click_;
   internal::Optional<bool> three_finger_click_;
   internal::Optional<bool> tap_dragging_;
+  internal::Optional<bool> natural_scroll_;
 };
 
 // Auxiliary class used to update several mouse settings at a time. User
@@ -173,6 +177,9 @@ class InputDeviceSettings {
   // Turns tap-dragging on/off.
   virtual void SetTapDragging(bool enabled) = 0;
 
+  // Turns natural scrolling on/off for all devices except wheel mice
+  virtual void SetNaturalScroll(bool enabled) = 0;
+
   // Calls |callback| asynchronously after determining if a mouse is connected.
   virtual void MouseExists(const DeviceExistsCallback& callback) = 0;