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

Issue 1044233004: MacViews: Remove BrowserWindowUtils dependency from accelerator_utils_cocoa (Closed)

Created:
5 years, 8 months ago by Andre
Modified:
5 years, 8 months ago
Reviewers:
Robert Sesek
CC:
chromium-reviews, mac-views-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@app-modal
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MacViews: Remove BrowserWindowUtils dependency from accelerator_utils_cocoa MacViews browser wants to link with accelerator_utils_cocoa but not with BrowserWindowUtils. To achieve this, move the code in +getCommandId from BrowserWindowUtils to global_keyboard_shortcuts_mac. Also simplified MenuWalker helper class into a function in anon namespace. BUG=425229 Committed: https://crrev.com/2389f84559bde7ed9a91b25aed69a7e532b48864 Cr-Commit-Position: refs/heads/master@{#323140}

Patch Set 1 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -77 lines) Patch
M chrome/browser/global_keyboard_shortcuts_mac.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/global_keyboard_shortcuts_mac.mm View 3 chunks +68 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/accelerator_utils_cocoa.mm View 2 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_utils.mm View 2 chunks +1 line, -70 lines 2 comments Download

Messages

Total messages: 9 (3 generated)
Andre
Robert, please review.
5 years, 8 months ago (2015-03-31 18:33:22 UTC) #3
Robert Sesek
LGTM https://codereview.chromium.org/1044233004/diff/20001/chrome/browser/ui/cocoa/browser_window_utils.mm File chrome/browser/ui/cocoa/browser_window_utils.mm (left): https://codereview.chromium.org/1044233004/diff/20001/chrome/browser/ui/cocoa/browser_window_utils.mm#oldcode26 chrome/browser/ui/cocoa/browser_window_utils.mm:26: + (NSMenuItem*)itemForKeyEquivalent:(NSEvent*)key (Why was this ever a class?)
5 years, 8 months ago (2015-03-31 22:51:36 UTC) #4
Andre
https://codereview.chromium.org/1044233004/diff/20001/chrome/browser/ui/cocoa/browser_window_utils.mm File chrome/browser/ui/cocoa/browser_window_utils.mm (left): https://codereview.chromium.org/1044233004/diff/20001/chrome/browser/ui/cocoa/browser_window_utils.mm#oldcode26 chrome/browser/ui/cocoa/browser_window_utils.mm:26: + (NSMenuItem*)itemForKeyEquivalent:(NSEvent*)key On 2015/03/31 22:51:36, Robert Sesek wrote: > ...
5 years, 8 months ago (2015-03-31 23:21:57 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1044233004/20001
5 years, 8 months ago (2015-03-31 23:23:06 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:20001)
5 years, 8 months ago (2015-03-31 23:26:49 UTC) #8
commit-bot: I haz the power
5 years, 8 months ago (2015-03-31 23:27:29 UTC) #9
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/2389f84559bde7ed9a91b25aed69a7e532b48864
Cr-Commit-Position: refs/heads/master@{#323140}

Powered by Google App Engine
This is Rietveld 408576698