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

Unified Diff: chrome/browser/resources/file_manager/js/file_manager.js

Issue 10221035: FileBrowser: tuned colors according to mocks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged with master. Created 8 years, 8 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: chrome/browser/resources/file_manager/js/file_manager.js
diff --git a/chrome/browser/resources/file_manager/js/file_manager.js b/chrome/browser/resources/file_manager/js/file_manager.js
index 72b02bba5759f23590995b7e6edb619e93a02f4a..2a698a9e3b7256739ad0c18da89b6459c79f0ddd 100644
--- a/chrome/browser/resources/file_manager/js/file_manager.js
+++ b/chrome/browser/resources/file_manager/js/file_manager.js
@@ -520,7 +520,7 @@ FileManager.prototype = {
this.filenameInput_.addEventListener(
'focus', this.onFilenameInputFocus_.bind(this));
- this.listContainer_ = this.dialogDom_.querySelector('.list-container');
+ this.listContainer_ = this.dialogDom_.querySelector('#list-container');
this.listContainer_.addEventListener(
'keydown', this.onListKeyDown_.bind(this));
this.listContainer_.addEventListener(
@@ -642,7 +642,7 @@ FileManager.prototype = {
};
FileManager.prototype.initRootsList_ = function() {
- this.rootsList_ = this.dialogDom_.querySelector('.roots-list');
+ this.rootsList_ = this.dialogDom_.querySelector('#roots-list');
cr.ui.List.decorate(this.rootsList_);
this.rootsList_.startBatchUpdates();
@@ -3718,7 +3718,7 @@ FileManager.prototype = {
};
/**
- * KeyDown event handler for the div.list-container element.
+ * KeyDown event handler for the div#list-container element.
*/
FileManager.prototype.onListKeyDown_ = function(event) {
if (event.srcElement.tagName == 'INPUT') {
@@ -3805,7 +3805,7 @@ FileManager.prototype = {
};
/**
- * KeyPress event handler for the div.list-container element.
+ * KeyPress event handler for the div#list-container element.
*/
FileManager.prototype.onListKeyPress_ = function(event) {
if (event.srcElement.tagName == 'INPUT') {
@@ -3826,7 +3826,7 @@ FileManager.prototype = {
};
/**
- * Mousemove event handler for the div.list-container element.
+ * Mousemove event handler for the div#list-container element.
*/
FileManager.prototype.onListMouseMove_ = function(event) {
// The user grabbed the mouse, restore the hover highlighting.
« no previous file with comments | « chrome/browser/resources/file_manager/css/file_manager.css ('k') | chrome/browser/resources/file_manager/main.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698