Close wrench menu when Media Router Action clicked in Cocoa.
commitc0b8e818bac0080a07b53718bcb012a942381706
authorapacible <apacible@chromium.org>
Tue, 25 Aug 2015 16:40:10 +0000 (25 09:40 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 25 Aug 2015 16:41:14 +0000 (25 16:41 +0000)
tree306d8295403a40b0b7351e53b8347be7c9d35e86
parentab32cf0e88240a73c6198bb2ec79fce60c278544
Close wrench menu when Media Router Action clicked in Cocoa.

This change implements the Cocoa version of closing the wrench menu when the Media Router Action is clicked. Currently, the wrench menu is left open if the Media Router Action icon is in the overflow rather than toolbar.

The Views implementation was added in https://codereview.chromium.org/1228223002/.

BUG=508546

Review URL: https://codereview.chromium.org/1313503002

Cr-Commit-Position: refs/heads/master@{#345349}
chrome/browser/ui/cocoa/toolbar/media_router_action_platform_delegate_cocoa.h [new file with mode: 0644]
chrome/browser/ui/cocoa/toolbar/media_router_action_platform_delegate_cocoa.mm [new file with mode: 0644]
chrome/browser/ui/toolbar/media_router_action_platform_delegate.cc [deleted file]
chrome/browser/ui/toolbar/media_router_action_platform_delegate.h
chrome/chrome_browser_ui.gypi