summaryrefslogtreecommitdiffstats
path: root/base/win/win_util.h
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-04 00:07:48 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-04 00:07:48 +0000
commit2e357e510f6d9fdd1631e681ee13e835e0eeac35 (patch)
tree3af5ee34d5b517ec5fb453784242af4a9e44704c /base/win/win_util.h
parentbe59b65840e37c19b6f19b4f15f5843dc786c1a5 (diff)
downloadchromium_src-2e357e510f6d9fdd1631e681ee13e835e0eeac35.zip
chromium_src-2e357e510f6d9fdd1631e681ee13e835e0eeac35.tar.gz
chromium_src-2e357e510f6d9fdd1631e681ee13e835e0eeac35.tar.bz2
Add helper functions to display the virtual keyboard (On screen keyboard) on Windows 8 and above.
These functions are as below:- 1. DisplayVirtualKeyboard 2. DismissVirtualKeyboard BUG=151718 R=cpu Review URL: https://codereview.chromium.org/11624035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175060 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/win/win_util.h')
-rw-r--r--base/win/win_util.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/base/win/win_util.h b/base/win/win_util.h
index d5bcd7a..f13bf20 100644
--- a/base/win/win_util.h
+++ b/base/win/win_util.h
@@ -121,6 +121,14 @@ BASE_EXPORT bool IsMachineATablet();
offsetof(struct_name, member) + \
(sizeof static_cast<struct_name*>(NULL)->member)
+// Displays the on screen keyboard on Windows 8 and above. Returns true on
+// success.
+BASE_EXPORT bool DisplayVirtualKeyboard();
+
+// Dismisses the on screen keyboard if it is being displayed on Windows 8 and.
+// above. Returns true on success.
+BASE_EXPORT bool DismissVirtualKeyboard();
+
} // namespace win
} // namespace base