Index: base/win/win_util.h |
diff --git a/base/win/win_util.h b/base/win/win_util.h |
index 8513f62bf1915b1551976792c877358149431177..9f42e445748f319e39cb09529f381347b2edeadb 100644 |
--- a/base/win/win_util.h |
+++ b/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). |