[Extension UI Mac] Fix page action popups with the toolbar redesign
commitd5538fccee51a36e074196b5f5b846a787559600
authorrdevlin.cronin <rdevlin.cronin@chromium.org>
Wed, 6 May 2015 01:50:26 +0000 (5 18:50 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 6 May 2015 01:50:54 +0000 (6 01:50 +0000)
tree298b326a387f91b46ea50ece33069d8668d93faf
parent66998fbf3d3fff44523ea811afbe8fe0745be053
[Extension UI Mac] Fix page action popups with the toolbar redesign

With the toolbar redesign, use the proper anchor view for extension
popups (check in the BrowserActionsController, not the
LocationBarView).

BUG=478288

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

Cr-Commit-Position: refs/heads/master@{#328463}
chrome/browser/ui/cocoa/extensions/extension_action_platform_delegate_cocoa.mm
chrome/browser/ui/toolbar/browser_actions_bar_browsertest.cc
chrome/test/data/extensions/trigger_actions/page_action_popup/background.js