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

Unified Diff: chrome/browser/resources/options/content_settings_exceptions_area.js

Issue 6249022: Make the gtk download shelf autoclose on mouse out. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: explicit Created 9 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: chrome/browser/resources/options/content_settings_exceptions_area.js
diff --git a/chrome/browser/resources/options/content_settings_exceptions_area.js b/chrome/browser/resources/options/content_settings_exceptions_area.js
index b75709ce2ecc0f9231ba9fe3a0ea6e6b04aaf4c8..884d707cafc633d50b743fdc98b225e3543375e2 100644
--- a/chrome/browser/resources/options/content_settings_exceptions_area.js
+++ b/chrome/browser/resources/options/content_settings_exceptions_area.js
@@ -568,6 +568,7 @@ cr.define('options.contentSettings', function() {
}
ContentSettingsExceptionsArea.hideOTRLists();
+ this.showList('cookies');
},
/**
@@ -586,6 +587,15 @@ cr.define('options.contentSettings', function() {
divs[i].classList.add('hidden');
}
},
+
+ /**
+ * Handles a hash value in the URL (such as bar in
+ * chrome://options/foo#bar).
+ * @param {string} hash The hash value.
+ */
+ handleHash: function(hash) {
sky 2011/01/31 20:36:25 Or this.
+ this.showList(hash);
+ },
};
/**

Powered by Google App Engine
This is Rietveld 408576698