summaryrefslogtreecommitdiffstats
path: root/ui/base/cocoa/events_mac.mm
diff options
context:
space:
mode:
authorpkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-24 18:33:27 +0000
committerpkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-24 18:33:27 +0000
commita89fde96d910dce92e81dd4e0613704d31367d27 (patch)
treef3c1f489de934c2b72890e36ea5004bddc50e08e /ui/base/cocoa/events_mac.mm
parent6e2d3d229024a3a0038c8a5c169bfd948a5c4939 (diff)
downloadchromium_src-a89fde96d910dce92e81dd4e0613704d31367d27.zip
chromium_src-a89fde96d910dce92e81dd4e0613704d31367d27.tar.gz
chromium_src-a89fde96d910dce92e81dd4e0613704d31367d27.tar.bz2
Revert 123500 - When locking the screen via Ctrl-Shift-L from wrench menu,
login screen menus do not work, because wrench menu is not fully closed. Made Noop events always make it to inner loop in the nested_dispatcher such that the menu can fully close itself via noop event. Bug=113247 Testing=Manual Review URL: https://chromiumcodereview.appspot.com/9381008 TBR=pkotwicz@chromium.org Review URL: https://chromiumcodereview.appspot.com/9460011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123511 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base/cocoa/events_mac.mm')
-rw-r--r--ui/base/cocoa/events_mac.mm4
1 files changed, 0 insertions, 4 deletions
diff --git a/ui/base/cocoa/events_mac.mm b/ui/base/cocoa/events_mac.mm
index a3ae73b..f40d755 100644
--- a/ui/base/cocoa/events_mac.mm
+++ b/ui/base/cocoa/events_mac.mm
@@ -179,10 +179,6 @@ bool GetScrollOffsets(const base::NativeEvent& native_event,
return false;
}
-bool IsNoopEvent(base::NativeEvent event) {
- return ([event type] == NSApplicationDefined && [event subtype] == 0);
-}
-
base::NativeEvent CreateNoopEvent() {
return [NSEvent otherEventWithType:NSApplicationDefined
location:NSZeroPoint