summaryrefslogtreecommitdiffstats
path: root/base/win
diff options
context:
space:
mode:
Diffstat (limited to 'base/win')
-rw-r--r--base/win/metro.cc6
-rw-r--r--base/win/metro.h3
2 files changed, 0 insertions, 9 deletions
diff --git a/base/win/metro.cc b/base/win/metro.cc
index 22bc5e8..c9f16a9 100644
--- a/base/win/metro.cc
+++ b/base/win/metro.cc
@@ -111,12 +111,6 @@ wchar_t* LocalAllocAndCopyString(const string16& src) {
return dest;
}
-bool IsTouchEnabled() {
- int value = GetSystemMetrics(SM_DIGITIZER);
- return (value & (NID_READY | NID_INTEGRATED_TOUCH)) ==
- (NID_READY | NID_INTEGRATED_TOUCH);
-}
-
bool IsParentalControlActivityLoggingOn() {
// Query this info on Windows Vista and above.
if (base::win::GetVersion() < base::win::VERSION_VISTA)
diff --git a/base/win/metro.h b/base/win/metro.h
index 9354de8..8c7f3f9 100644
--- a/base/win/metro.h
+++ b/base/win/metro.h
@@ -91,9 +91,6 @@ BASE_EXPORT void SetForceToUseTSF();
// copying the src to it.
BASE_EXPORT wchar_t* LocalAllocAndCopyString(const string16& src);
-// Returns true if the screen supports touch.
-BASE_EXPORT bool IsTouchEnabled();
-
// Returns true if Windows Parental control activity logging is enabled. This
// feature is available on Windows Vista and beyond.
// This function should ideally be called on the UI thread.