[Extensions UI] Fix two bugs in the toolbar actions bar
commit541a89716190c62e5f0f2e3319da61c837c1800d
authorrdevlin.cronin <rdevlin.cronin@chromium.org>
Wed, 29 Jul 2015 00:17:16 +0000 (28 17:17 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 29 Jul 2015 00:17:42 +0000 (29 00:17 +0000)
tree936245a1ff96e8f4311ecfcc23344d2ebe28c49e
parentc823b2334d10823153f5bd6d2612cfa8727a0add
[Extensions UI] Fix two bugs in the toolbar actions bar

* Don't allow resizing of the toolbar when it's highlighting. The point of the
  highlight is to show a subset of actions, so adjusting the size is bad.
* Update whether or not an overflowed action wants to run when an extension is
  removed.

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

Cr-Commit-Position: refs/heads/master@{#340819}
chrome/browser/ui/cocoa/extensions/browser_actions_container_view.h
chrome/browser/ui/cocoa/extensions/browser_actions_container_view.mm
chrome/browser/ui/toolbar/browser_actions_bar_browsertest.cc
chrome/browser/ui/toolbar/toolbar_actions_bar.cc
chrome/browser/ui/views/toolbar/browser_actions_container.cc