summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryusukes@chromium.org <yusukes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-18 05:33:52 +0000
committeryusukes@chromium.org <yusukes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-18 05:33:52 +0000
commit93f5f30b48ef46fec94a5278fc1203214dd7ab1f (patch)
treef939f598dffb0d932da5a4f11696f4a791570516
parent9333907120cf8479c3dd2fb7e00d7dae25435ec7 (diff)
downloadchromium_src-93f5f30b48ef46fec94a5278fc1203214dd7ab1f.zip
chromium_src-93f5f30b48ef46fec94a5278fc1203214dd7ab1f.tar.gz
chromium_src-93f5f30b48ef46fec94a5278fc1203214dd7ab1f.tar.bz2
Add a comment to InitXKeyEventForTesting. No code change.
BUG=None TEST=None Review URL: http://codereview.chromium.org/9240003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118066 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--ui/base/x/x11_util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/base/x/x11_util.h b/ui/base/x/x11_util.h
index ed006b3..757b149 100644
--- a/ui/base/x/x11_util.h
+++ b/ui/base/x/x11_util.h
@@ -239,7 +239,8 @@ int GetMappedButton(int button);
// received.
UI_EXPORT void UpdateButtonMap();
-// Initializes a XEvent that holds XKeyEvent for testing.
+// Initializes a XEvent that holds XKeyEvent for testing. Note that ui::EF_
+// flags should be passed as |flags|, not the native ones in <X11/X.h>.
UI_EXPORT void InitXKeyEventForTesting(EventType type,
KeyboardCode key_code,
int flags,