summaryrefslogtreecommitdiffstats
path: root/chromium/base/win/win_util.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2015-07-15 16:42:28 +0200
committerAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2015-07-29 08:12:04 +0000
commitf61ab1ac7f855cd281809255c0aedbb1895e1823 (patch)
treea0ba62c38849e1f6ac9fa4e5d7b5353831dacc78 /chromium/base/win/win_util.h
parentb80be2a302fe1e662a4a2b269d7ee8b7875581df (diff)
BASELINE: Update chromium to 44.0.2403.91
Also adds missing compile_test tool, and removed two unused third_party modules. Change-Id: Ie6135c2a57c8c9519aa093eb0a259a605b26a111 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'chromium/base/win/win_util.h')
-rw-r--r--chromium/base/win/win_util.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chromium/base/win/win_util.h b/chromium/base/win/win_util.h
index 8513f62bf19..9f42e445748 100644
--- a/chromium/base/win/win_util.h
+++ b/chromium/base/win/win_util.h
@@ -132,6 +132,11 @@ BASE_EXPORT void SetAbortBehaviorForCrashReporting();
// insight into how users use Chrome.
BASE_EXPORT bool IsTabletDevice();
+// A slate is a touch device that may have a keyboard attached. This function
+// returns true if a keyboard is attached and optionally will set the reason
+// parameter to the detection method that was used to detect the keyboard.
+BASE_EXPORT bool IsKeyboardPresentOnSlate(std::string* reason);
+
// Get the size of a struct up to and including the specified member.
// This is necessary to set compatible struct sizes for different versions
// of certain Windows APIs (e.g. SystemParametersInfo).