summaryrefslogtreecommitdiffstats
path: root/ui/base/touch/touch_factory.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/base/touch/touch_factory.h')
-rw-r--r--ui/base/touch/touch_factory.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/ui/base/touch/touch_factory.h b/ui/base/touch/touch_factory.h
index cfd4747..cb05460 100644
--- a/ui/base/touch/touch_factory.h
+++ b/ui/base/touch/touch_factory.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -155,6 +155,10 @@ class UI_EXPORT TouchFactory {
// is immediately displayed.
bool is_cursor_visible_;
+ // Touch events are currently disabled by default. It can be turned on using
+ // |kEnableTouchEvents| switch.
+ bool touch_events_allowed_;
+
// The cursor is hidden if it is idle for a certain amount time. This timer
// is used to keep track of the idleness.
base::OneShotTimer<TouchFactory> cursor_timer_;