Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(342)

Unified Diff: ui/base/touch/touch_device_win.h

Issue 10915175: CSS Media Query now reports touch-support accurately for Windows (retry) (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Turfing out copyright headers. Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | ui/base/touch/touch_device_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/touch/touch_device_win.h
diff --git a/ui/base/touch/touch_device_win.h b/ui/base/touch/touch_device_win.h
new file mode 100644
index 0000000000000000000000000000000000000000..6d11446d4bafdcc0123d8c31935f104fcfe8ecf0
--- /dev/null
+++ b/ui/base/touch/touch_device_win.h
@@ -0,0 +1,15 @@
+#ifndef UI_BASE_TOUCH_TOUCH_DEVICE_H_
+#define UI_BASE_TOUCH_TOUCH_DEVICE_H_
+
+#include "ui/base/ui_export.h"
+
+namespace ui {
+namespace base {
Rick Byers 2012/09/10 18:15:12 We don't normally use "ui::base", do we? The ambi
girard 2012/09/10 19:03:03 The namespace is ambiguous, and this can be annoyi
+
+// Returns true if a touch device is available.
+UI_EXPORT bool IsTouchDevicePresent();
+
+} // namespace base
+} // namespace ui
+
+#endif // UI_BASE_TOUCH_TOUCH_DEVICE_H_
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | ui/base/touch/touch_device_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698