Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(124)

Issue 678823002: MacViews: Create abstraction for event monitoring (Closed)

Created:
6 years, 2 months ago by Andre
Modified:
6 years, 1 month ago
Reviewers:
sky
CC:
chromium-reviews, tfarina, dcheng, mac-views-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@views-tabs
Project:
chromium
Visibility:
Public.

Description

MacViews: Create abstraction for event monitoring Use of aura::Env::AddPreTargetHandler won't compile on Mac, so we hide it behind an interface and add a Mac implementation. BUG=425229 Committed: https://crrev.com/4a2dcc48c125b74510403b574450f060e8b0c3bc Cr-Commit-Position: refs/heads/master@{#301563}

Patch Set 1 #

Patch Set 2 : Add test #

Total comments: 3

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : Fix for sky #

Patch Set 6 : Fix missing include #

Patch Set 7 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+247 lines, -147 lines) Patch
M chrome/browser/ui/views/tabs/tab_drag_controller.cc View 1 2 3 4 5 4 chunks +8 lines, -10 lines 0 comments Download
A ui/views/event_monitor.h View 1 2 3 4 1 chunk +32 lines, -0 lines 0 comments Download
A ui/views/event_monitor_aura.h View 1 2 1 chunk +26 lines, -0 lines 0 comments Download
A ui/views/event_monitor_aura.cc View 1 2 1 chunk +32 lines, -0 lines 0 comments Download
A ui/views/event_monitor_mac.h View 1 chunk +28 lines, -0 lines 0 comments Download
A ui/views/event_monitor_mac.mm View 1 chunk +42 lines, -0 lines 0 comments Download
A ui/views/event_monitor_mac_unittest.mm View 1 1 chunk +67 lines, -0 lines 0 comments Download
A + ui/views/mouse_watcher.cc View 1 2 3 4 5 6 4 chunks +5 lines, -11 lines 0 comments Download
D ui/views/mouse_watcher_aura.cc View 1 2 3 4 5 6 1 chunk +0 lines, -125 lines 0 comments Download
M ui/views/views.gyp View 1 3 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 14 (5 generated)
Andre
sky@ PTAL
6 years, 2 months ago (2014-10-25 00:00:30 UTC) #2
sky
https://codereview.chromium.org/678823002/diff/20001/ui/views/event_monitor.h File ui/views/event_monitor.h (right): https://codereview.chromium.org/678823002/diff/20001/ui/views/event_monitor.h#newcode21 ui/views/event_monitor.h:21: static EventMonitor* Create(ui::EventHandler* event_handler); constructor/destructor come first. https://codereview.chromium.org/678823002/diff/20001/ui/views/event_monitor.h#newcode26 ui/views/event_monitor.h:26: ...
6 years, 1 month ago (2014-10-25 15:16:15 UTC) #3
sky
I guess this spot is fine for now as I can't come up with a ...
6 years, 1 month ago (2014-10-25 15:19:29 UTC) #4
Andre
https://codereview.chromium.org/678823002/diff/20001/ui/views/event_monitor.h File ui/views/event_monitor.h (right): https://codereview.chromium.org/678823002/diff/20001/ui/views/event_monitor.h#newcode21 ui/views/event_monitor.h:21: static EventMonitor* Create(ui::EventHandler* event_handler); On 2014/10/25 15:16:14, sky wrote: ...
6 years, 1 month ago (2014-10-27 19:08:44 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/678823002/100001
6 years, 1 month ago (2014-10-27 20:58:18 UTC) #7
commit-bot: I haz the power
Failed to apply patch for ui/views/mouse_watcher.cc: While running git apply --index -3 -p1; error: patch ...
6 years, 1 month ago (2014-10-27 22:13:29 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/678823002/140001
6 years, 1 month ago (2014-10-28 03:53:17 UTC) #12
commit-bot: I haz the power
Committed patchset #7 (id:140001)
6 years, 1 month ago (2014-10-28 04:43:27 UTC) #13
commit-bot: I haz the power
6 years, 1 month ago (2014-10-28 04:44:19 UTC) #14
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/4a2dcc48c125b74510403b574450f060e8b0c3bc
Cr-Commit-Position: refs/heads/master@{#301563}

Powered by Google App Engine
This is Rietveld 408576698