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

Unified Diff: remoting/webapp/event_handlers.js

Issue 9129009: Change tool-bar behaviour to click-to-show. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed linter errors and comment. Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/webapp/event_handlers.js
diff --git a/remoting/webapp/event_handlers.js b/remoting/webapp/event_handlers.js
index c4b5ce9c3e8125e08d20daec54ff82d6a4805f50..5ce82c9c7824976caf2d97aea69b2164dbe5496c 100644
--- a/remoting/webapp/event_handlers.js
+++ b/remoting/webapp/event_handlers.js
@@ -54,6 +54,8 @@ function onLoad() {
{ event: 'click', id: 'client-reconnect-button', fn: reload },
{ event: 'click', id: 'cancel-button',
fn: remoting.cancelPendingOperation },
+ { event: 'click', id: 'toolbar-stub',
+ fn: function() { remoting.toolbar.toggle(); } },
garykac 2012/02/01 18:24:48 Does { ..., fn: remoting.toolbar.toggle }, work?
Jamie 2012/02/01 19:22:20 remoting.toolbar is null when this is invoked, but
{ event: 'submit', id: 'access-code-form', fn: sendAccessCode },
{ event: 'submit', id: 'pin-form', fn: connectHostWithPin }
];

Powered by Google App Engine
This is Rietveld 408576698