summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/test_event_utils.h
diff options
context:
space:
mode:
authorrohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-16 15:35:38 +0000
committerrohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-16 15:35:38 +0000
commit3d4560f45d650a9421eff15cd63f3e4b796f01f5 (patch)
tree1bed2441c7e4b1071adb3d22146f0726f80510cd /chrome/browser/cocoa/test_event_utils.h
parentd49e4a51428d0234d0dcbb11343315e4f2aa8fd6 (diff)
downloadchromium_src-3d4560f45d650a9421eff15cd63f3e4b796f01f5.zip
chromium_src-3d4560f45d650a9421eff15cd63f3e4b796f01f5.tar.gz
chromium_src-3d4560f45d650a9421eff15cd63f3e4b796f01f5.tar.bz2
[Mac] Eat mouse clicks in the findbar to prevent them from falling through to views below.
BUG=http://crbug.com/22854 TEST=See test case in bug. Review URL: http://codereview.chromium.org/273041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29281 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/test_event_utils.h')
-rw-r--r--chrome/browser/cocoa/test_event_utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/test_event_utils.h b/chrome/browser/cocoa/test_event_utils.h
index c6e8f0a..ac4b0f5 100644
--- a/chrome/browser/cocoa/test_event_utils.h
+++ b/chrome/browser/cocoa/test_event_utils.h
@@ -25,9 +25,10 @@ class ScopedClassSwizzler {
namespace test_event_utils {
-// Create a synthetic mouse event for testing. Currently this is very basic,
+// Create synthetic mouse events for testing. Currently these are very basic,
// flesh out as needed.
NSEvent* MakeMouseEvent(NSEventType type, NSUInteger modifiers);
+NSEvent* LeftMouseDownAtPoint(NSPoint point);
} // namespace test_event_utils