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

Side by Side Diff: ui/file_manager/gallery/js/gallery.js

Issue 1173863004: Revert of Move overwrite original checkbox and saved label to bottom toolbar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 unified diff | Download patch
« no previous file with comments | « ui/file_manager/gallery/gallery.html ('k') | ui/file_manager/gallery/js/slide_mode.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * Overrided metadata worker's path. 6 * Overrided metadata worker's path.
7 * @type {string} 7 * @type {string}
8 */ 8 */
9 ContentMetadataProvider.WORKER_SCRIPT = '/js/metadata_worker.js'; 9 ContentMetadataProvider.WORKER_SCRIPT = '/js/metadata_worker.js';
10 10
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 this.filenameEdit_.setAttribute('type', 'text'); 130 this.filenameEdit_.setAttribute('type', 'text');
131 this.filenameEdit_.addEventListener('blur', 131 this.filenameEdit_.addEventListener('blur',
132 this.onFilenameEditBlur_.bind(this)); 132 this.onFilenameEditBlur_.bind(this));
133 133
134 this.filenameEdit_.addEventListener('focus', 134 this.filenameEdit_.addEventListener('focus',
135 this.onFilenameFocus_.bind(this)); 135 this.onFilenameFocus_.bind(this));
136 136
137 this.filenameEdit_.addEventListener('keydown', 137 this.filenameEdit_.addEventListener('keydown',
138 this.onFilenameEditKeydown_.bind(this)); 138 this.onFilenameEditKeydown_.bind(this));
139 139
140 var middleSpacer = queryRequiredElement(this.bottomToolbar_,
141 '.middle-spacer');
140 var buttonSpacer = queryRequiredElement(this.topToolbar_, '.button-spacer'); 142 var buttonSpacer = queryRequiredElement(this.topToolbar_, '.button-spacer');
141 143
142 this.prompt_ = new ImageEditor.Prompt(this.container_, strf); 144 this.prompt_ = new ImageEditor.Prompt(this.container_, strf);
143 145
144 this.errorBanner_ = new ErrorBanner(this.container_); 146 this.errorBanner_ = new ErrorBanner(this.container_);
145 147
146 this.modeButton_ = queryRequiredElement(this.topToolbar_, 'button.mode'); 148 this.modeButton_ = queryRequiredElement(this.topToolbar_, 'button.mode');
147 this.modeButton_.addEventListener('click', 149 this.modeButton_.addEventListener('click',
148 this.toggleMode_.bind(this, undefined)); 150 this.toggleMode_.bind(this, undefined));
149 151
(...skipping 814 matching lines...) Expand 10 before | Expand all | Expand 10 after
964 initializePromise.then(reload); 966 initializePromise.then(reload);
965 967
966 /** 968 /**
967 * Enteres the debug mode. 969 * Enteres the debug mode.
968 */ 970 */
969 window.debugMe = function() { 971 window.debugMe = function() {
970 initializePromise.then(function() { 972 initializePromise.then(function() {
971 gallery.debugMe(); 973 gallery.debugMe();
972 }); 974 });
973 }; 975 };
OLDNEW
« no previous file with comments | « ui/file_manager/gallery/gallery.html ('k') | ui/file_manager/gallery/js/slide_mode.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698