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

Issue 160083003: Split cocoa_event_utils in two parts. (Closed)

Created:
6 years, 10 months ago by tfarina
Modified:
6 years, 10 months ago
CC:
chromium-reviews, James Su
Visibility:
Public.

Description

Split cocoa_event_utils in two parts. One is cocoa_events_utils which is moved to ui/events/cocoa and contains only events related code. The other is cocoa_base_utils which uses code from ui/base so needs to stay in ui/base/cocoa. BUG=299841 TEST=ui_unittests, events_unittests R=sadrul@chromium.org TBR=ben Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=252579

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : rebase #

Patch Set 4 : sadrul changes #

Patch Set 5 : fix #

Patch Set 6 : menu_controller.mm fix #

Patch Set 7 : menu_controller.mm fix #

Patch Set 8 : rm from stub - fix mac? #

Total comments: 2

Patch Set 9 : fix include #

Total comments: 1

Patch Set 10 : fix for back_forward_menu_controller.mm #

Patch Set 11 : fix browser_ui link issue? #

Total comments: 2

Patch Set 12 : still works? #

Unified diffs Side-by-side diffs Delta from patch set Stats (+287 lines, -288 lines) Patch
M chrome/browser/ui/cocoa/accelerators_cocoa.mm View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/bookmarks/bookmark_folder_target.mm View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/bookmarks/bookmark_menu_cocoa_controller.mm View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.mm View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/browser/profile_chooser_controller.mm View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.mm View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/history_menu_cocoa_controller.mm View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/infobars/alternate_nav_infobar_controller.mm View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/infobars/confirm_infobar_controller.mm View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/tab_modal_confirm_dialog_mac.mm View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/toolbar/back_forward_menu_controller.mm View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -2 lines 0 comments Download
A + ui/base/cocoa/cocoa_base_utils.h View 1 2 3 chunks +3 lines, -17 lines 0 comments Download
A ui/base/cocoa/cocoa_base_utils.mm View 1 1 chunk +22 lines, -0 lines 0 comments Download
A ui/base/cocoa/cocoa_base_utils_unittest.mm View 1 chunk +68 lines, -0 lines 0 comments Download
D ui/base/cocoa/cocoa_event_utils.h View 1 2 1 chunk +0 lines, -45 lines 0 comments Download
D ui/base/cocoa/cocoa_event_utils.mm View 1 2 1 chunk +0 lines, -75 lines 0 comments Download
D ui/base/cocoa/cocoa_event_utils_unittest.mm View 1 chunk +0 lines, -128 lines 0 comments Download
M ui/base/cocoa/menu_controller.mm View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
A ui/events/cocoa/cocoa_event_utils.h View 1 2 3 1 chunk +26 lines, -0 lines 0 comments Download
A ui/events/cocoa/cocoa_event_utils.mm View 1 2 3 4 1 chunk +60 lines, -0 lines 0 comments Download
A ui/events/cocoa/cocoa_event_utils_unittest.mm View 1 2 3 1 chunk +79 lines, -0 lines 0 comments Download
M ui/events/events.gyp View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M ui/events/events_stub.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -0 lines 0 comments Download
M ui/ui.gyp View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M ui/ui_unittests.gyp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (0 generated)
tfarina
6 years, 10 months ago (2014-02-11 23:43:26 UTC) #1
sadrul
https://codereview.chromium.org/160083003/diff/30001/ui/events/cocoa/cocoa_event_utils.h File ui/events/cocoa/cocoa_event_utils.h (right): https://codereview.chromium.org/160083003/diff/30001/ui/events/cocoa/cocoa_event_utils.h#newcode1 ui/events/cocoa/cocoa_event_utils.h:1: // Copyright 2013 The Chromium Authors. All rights reserved. ...
6 years, 10 months ago (2014-02-13 04:30:44 UTC) #2
tfarina
https://codereview.chromium.org/160083003/diff/30001/ui/events/cocoa/cocoa_event_utils.h File ui/events/cocoa/cocoa_event_utils.h (right): https://codereview.chromium.org/160083003/diff/30001/ui/events/cocoa/cocoa_event_utils.h#newcode1 ui/events/cocoa/cocoa_event_utils.h:1: // Copyright 2013 The Chromium Authors. All rights reserved. ...
6 years, 10 months ago (2014-02-15 00:34:26 UTC) #3
sadrul
Looks good in general at its current state, but the mac bots seem to be ...
6 years, 10 months ago (2014-02-18 19:31:38 UTC) #4
tfarina
I'll fix the other failure later tonight: ../../chrome/browser/ui/cocoa/accelerators_cocoa.mm:13:9: fatal error: 'ui/base/cocoa/cocoa_event_utils.h' file not found this ...
6 years, 10 months ago (2014-02-18 19:42:59 UTC) #5
tfarina
On 2014/02/18 19:31:38, sadrul wrote: > Looks good in general at its current state, but ...
6 years, 10 months ago (2014-02-19 03:00:31 UTC) #6
sadrul
[There still seems to be build failures on mac] https://codereview.chromium.org/160083003/diff/430001/ui/events/events_stub.cc File ui/events/events_stub.cc (left): https://codereview.chromium.org/160083003/diff/430001/ui/events/events_stub.cc#oldcode28 ui/events/events_stub.cc:28: ...
6 years, 10 months ago (2014-02-19 18:39:17 UTC) #7
tfarina
On 2014/02/19 18:39:17, sadrul wrote: > [There still seems to be build failures on mac] ...
6 years, 10 months ago (2014-02-19 19:27:11 UTC) #8
sadrul
LGTM https://codereview.chromium.org/160083003/diff/520002/ui/events/events_stub.cc File ui/events/events_stub.cc (left): https://codereview.chromium.org/160083003/diff/520002/ui/events/events_stub.cc#oldcode25 ui/events/events_stub.cc:25: int EventFlagsFromNative(const base::NativeEvent& native_event) { Perhaps wrap this ...
6 years, 10 months ago (2014-02-20 14:55:58 UTC) #9
tfarina
https://codereview.chromium.org/160083003/diff/520002/ui/events/events_stub.cc File ui/events/events_stub.cc (left): https://codereview.chromium.org/160083003/diff/520002/ui/events/events_stub.cc#oldcode25 ui/events/events_stub.cc:25: int EventFlagsFromNative(const base::NativeEvent& native_event) { On 2014/02/20 14:55:58, sadrul ...
6 years, 10 months ago (2014-02-21 02:18:07 UTC) #10
tfarina
TBRing Ben for the rest!
6 years, 10 months ago (2014-02-21 02:18:39 UTC) #11
tfarina
The CQ bit was checked by tfarina@chromium.org
6 years, 10 months ago (2014-02-21 02:18:45 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tfarina@chromium.org/160083003/630001
6 years, 10 months ago (2014-02-21 02:19:46 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-21 02:45:43 UTC) #14
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) telemetry_perf_unittests, telemetry_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=231352
6 years, 10 months ago (2014-02-21 02:45:44 UTC) #15
tfarina
The CQ bit was checked by tfarina@chromium.org
6 years, 10 months ago (2014-02-21 13:04:22 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tfarina@chromium.org/160083003/630001
6 years, 10 months ago (2014-02-21 13:04:30 UTC) #17
commit-bot: I haz the power
6 years, 10 months ago (2014-02-21 16:49:53 UTC) #18
Message was sent while issue was closed.
Change committed as 252579

Powered by Google App Engine
This is Rietveld 408576698