Move ownership of the tool-bar's menu buttons into remoting.Toolbar.
commitf12832d351fc43392cdcfb4ec2418a9b53431fdf
authorjamiewalch <jamiewalch@chromium.org>
Tue, 23 Sep 2014 22:29:35 +0000 (23 15:29 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 23 Sep 2014 22:30:00 +0000 (23 22:30 +0000)
tree8274ba4bbc2359d421abc8362fdaf3da5c1f6032
parent1ce9a794521edc033aa5fd3a235002817690d9eb
Move ownership of the tool-bar's menu buttons into remoting.Toolbar.

This CL also reinstates the previous behaviour of MenuButton whereby a
second click on the button hides the menu, which is made possible by a
saner ownership model.

BUG=415410

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

Cr-Commit-Position: refs/heads/master@{#296284}
remoting/webapp/client_screen.js
remoting/webapp/client_session.js
remoting/webapp/options_menu.js
remoting/webapp/remoting.js
remoting/webapp/toolbar.js
remoting/webapp/window_frame.js