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

Unified Diff: remoting/webapp/remoting.js

Issue 339613003: Remove the blue tool-bar for apps v2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Made unit-tests side-effect-free. Created 6 years, 5 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
« no previous file with comments | « remoting/webapp/options_menu.js ('k') | remoting/webapp/toolbar.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/remoting.js
diff --git a/remoting/webapp/remoting.js b/remoting/webapp/remoting.js
index 38076eb98b4cccfd59fdbf60948aa56558351935..c6429a5c196016689427530b88fa6bcbdb693261 100644
--- a/remoting/webapp/remoting.js
+++ b/remoting/webapp/remoting.js
@@ -94,14 +94,16 @@ remoting.init = function() {
var sandbox = /** @type {HTMLIFrameElement} */
document.getElementById('wcs-sandbox');
remoting.wcsSandbox = new remoting.WcsSandboxContainer(sandbox.contentWindow);
- var menuFeedback = new remoting.Feedback(
- document.getElementById('help-feedback-main'),
- document.getElementById('help-main'),
- document.getElementById('send-feedback-main'));
- var toolbarFeedback = new remoting.Feedback(
- document.getElementById('help-feedback-toolbar'),
- document.getElementById('help-toolbar'),
- document.getElementById('send-feedback-toolbar'));
+ var homeFeedback = new remoting.MenuButton(
+ document.getElementById('help-feedback-main'));
+ var toolbarFeedback = new remoting.MenuButton(
+ document.getElementById('help-feedback-toolbar'));
+ remoting.manageHelpAndFeedback(
+ document.getElementById('title-bar'));
+ remoting.manageHelpAndFeedback(
+ document.getElementById('help-feedback-toolbar'));
+ remoting.manageHelpAndFeedback(
+ document.getElementById('help-feedback-main'));
/** @param {remoting.Error} error */
var onGetEmailError = function(error) {
« no previous file with comments | « remoting/webapp/options_menu.js ('k') | remoting/webapp/toolbar.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698