| Index: ui/base/touch/touch_enabled.h
|
| diff --git a/ui/base/touch/touch_enabled.h b/ui/base/touch/touch_enabled.h
|
| index 88837d7856cbc2158853bb56f10041e71b7af36b..364bce7646e464bee9128f45164e206e08e04a68 100644
|
| --- a/ui/base/touch/touch_enabled.h
|
| +++ b/ui/base/touch/touch_enabled.h
|
| @@ -9,8 +9,13 @@
|
|
|
| namespace ui {
|
|
|
| -// Returns true if the touch-enabled flag is enabled, or if it is set to auto
|
| -// and a touch device is present.
|
| +#if defined(OS_CHROMEOS)
|
| +// Sets the status of touch events to |enabled|.
|
| +UI_BASE_EXPORT void SetTouchEventsEnabled(bool enabled);
|
| +#endif // defined(OS_CHROMEOS)
|
| +
|
| +// Returns true if the touch events are enabled. On non-ChromeOS platforms, this
|
| +// depends on the state of the |kTouchEvents| flags.
|
| UI_BASE_EXPORT bool AreTouchEventsEnabled();
|
|
|
| } // namespace ui
|
|
|