summaryrefslogtreecommitdiffstats
path: root/ui/views/event_monitor_mac.h
Commit message (Collapse)AuthorAgeFilesLines
* MacViews: Remove redundant virtuals in NativeWidgetMac and co.tapted2015-01-141-1/+1
| | | | | | | | | | | | Strict virtual annotation checks were enabled on Mac in r311365. This gets toolkit_views for Mac on board. BUG=417463 Review URL: https://codereview.chromium.org/850843003 Cr-Commit-Position: refs/heads/master@{#311528}
* MacViews: Implement event monitoring for a specific window (Reland)andresantoso2014-12-121-3/+3
| | | | | | | | | | | | | | | | | ManagePasswordBubbleView wants to monitor events on a specific window, currently using aura specific code that won't work for MacViews. views::EventMonitor is enhanced to support monitoring events on a window, with both Mac and Aura implementations. Also includes minor compile fixes in ZoomBubbleView and StatusBubbleView. Originally reviewed in https://crrev.com/730833006/ BUG=425229 Review URL: https://codereview.chromium.org/793003004 Cr-Commit-Position: refs/heads/master@{#308112}
* Revert "MacViews: Implement event monitoring for a specific window"John Abd-El-Malek2014-12-111-3/+3
| | | | | | | | | Causes views_unittests EventMonitorTest.ShouldNotReceiveEventsFromOtherWindow to fail, see http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Tests%20%28dbg%29%281%29/builds/35121/steps/views_unittests/logs/stdio This reverts commit e393fdb1d25ea25693a905aa4af97ed569bb2223. Cr-Commit-Position: refs/heads/master@{#307985}
* MacViews: Implement event monitoring for a specific windowandresantoso2014-12-111-3/+3
| | | | | | | | | | | | | | | | ManagePasswordBubbleView wants to monitor events on a specific window, currently using aura specific code that won't work for MacViews. views::EventMonitor is enhanced to support monitoring events on a window, with both Mac and Aura implementations. Also includes minor compile fixes in ZoomBubbleView and StatusBubbleView. BUG=425229 TEST=EventMonitorAuraTest, EventMonitorMacTest Review URL: https://codereview.chromium.org/730833006 Cr-Commit-Position: refs/heads/master@{#307960}
* MacViews: Create abstraction for event monitoringandresantoso2014-10-281-0/+28
Use of aura::Env::AddPreTargetHandler won't compile on Mac, so we hide it behind an interface and add a Mac implementation. BUG=425229 Review URL: https://codereview.chromium.org/678823002 Cr-Commit-Position: refs/heads/master@{#301563}