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

Issue 172082: Create new event_utils.h file for Cocoa-specific event to WindowOpenDispositi... (Closed)

Created:
11 years, 4 months ago by Ben Goodger (Google)
Modified:
9 years, 6 months ago
Reviewers:
John Grabowski
CC:
chromium-reviews_googlegroups.com, John Grabowski, Ben Goodger (Google)
Visibility:
Public.

Description

Create new event_utils.h file for Cocoa-specific event to WindowOpenDisposition cracking. Hook this up to BookmarkBarController so that clicks to bookmark items use the oracle function to determine where the bookmark should be opened. BUG=17301 TEST=Cmd+Click etc on bookmark items should work. See bug and unit test attached.

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 4

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 1

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+238 lines, -94 lines) Patch
M chrome/browser/autocomplete/autocomplete_edit_view_mac.mm View 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_popup_view_mac.mm View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/cocoa/bookmark_bar_controller.mm View 1 2 3 4 5 5 chunks +20 lines, -8 lines 0 comments Download
M chrome/browser/cocoa/bookmark_bar_controller_unittest.mm View 4 5 2 chunks +20 lines, -0 lines 0 comments Download
A chrome/browser/cocoa/event_utils.h View 1 2 3 1 chunk +21 lines, -0 lines 0 comments Download
A chrome/browser/cocoa/event_utils.mm View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
A chrome/browser/cocoa/event_utils_unittest.mm View 1 2 3 4 5 1 chunk +62 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/infobar_controller.mm View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/cocoa/location_bar_view_mac.mm View 2 chunks +3 lines, -3 lines 0 comments Download
A chrome/browser/cocoa/test_event_utils.h View 1 chunk +35 lines, -0 lines 0 comments Download
A chrome/browser/cocoa/test_event_utils.mm View 1 chunk +45 lines, -0 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 4 5 5 chunks +5 lines, -3 lines 0 comments Download
D chrome/common/cocoa_utils.h View 1 chunk +0 lines, -20 lines 0 comments Download
D chrome/common/cocoa_utils.mm View 1 chunk +0 lines, -26 lines 0 comments Download
D chrome/common/cocoa_utils_unittest.mm View 1 chunk +0 lines, -23 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Ben Goodger (Google)
11 years, 4 months ago (2009-08-18 20:51:31 UTC) #1
John Grabowski
LGTM http://codereview.chromium.org/172082/diff/2001/2002 File chrome/browser/cocoa/bookmark_bar_controller.mm (right): http://codereview.chromium.org/172082/diff/2001/2002#newcode27 Line 27: @interface BookmarkButton : NSButton { No need ...
11 years, 4 months ago (2009-08-18 21:34:04 UTC) #2
Ben Goodger (Google)
Working on an update for this CL, will have it posted soon. -Ben On Tue, ...
11 years, 4 months ago (2009-08-18 21:35:56 UTC) #3
Ben Goodger (Google)
Updated. On Tue, Aug 18, 2009 at 2:35 PM, Ben Goodger (Google)<ben@chromium.org> wro= te: > ...
11 years, 4 months ago (2009-08-18 22:12:27 UTC) #4
John Grabowski
11 years, 4 months ago (2009-08-18 22:30:56 UTC) #5
Still LGTM

http://codereview.chromium.org/172082/diff/2024/3005
File chrome/browser/cocoa/event_utils_unittest.mm (right):

http://codereview.chromium.org/172082/diff/2024/3005#newcode12
Line 12: @interface TestEvent : NSObject
Brief comment explaining that there is no way to otherwise create a
shift-middle-click.

Powered by Google App Engine
This is Rietveld 408576698