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

Unified Diff: base/win/win_util.cc

Issue 329393004: No longer relaunch into metro mode by default on touch devices. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: delete more code! Created 6 years, 6 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 | « base/win/win_util.h ('k') | chrome/browser/first_run/first_run.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win/win_util.cc
diff --git a/base/win/win_util.cc b/base/win/win_util.cc
index 061b2a40683619d1757b9f1fd3c807b4f5f0d6db..ee923522fc9f3342a5a6e856931ff11c7fb7545d 100644
--- a/base/win/win_util.cc
+++ b/base/win/win_util.cc
@@ -222,17 +222,6 @@ void SetAbortBehaviorForCrashReporting() {
signal(SIGABRT, ForceCrashOnSigAbort);
}
-bool IsTouchEnabledDevice() {
- if (base::win::GetVersion() < base::win::VERSION_WIN7)
- return false;
- const int kMultiTouch = NID_INTEGRATED_TOUCH | NID_MULTI_INPUT | NID_READY;
- int sm = GetSystemMetrics(SM_DIGITIZER);
- if ((sm & kMultiTouch) == kMultiTouch) {
- return true;
- }
- return false;
-}
-
bool IsTabletDevice() {
if (GetSystemMetrics(SM_MAXIMUMTOUCHES) == 0)
return false;
« no previous file with comments | « base/win/win_util.h ('k') | chrome/browser/first_run/first_run.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698