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

Unified Diff: chrome/browser/resources/options/content_settings.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.js
diff --git a/chrome/browser/resources/options/content_settings.js b/chrome/browser/resources/options/content_settings.js
index 76d38cf44d4a11ded36f67c7443996ea1fbfd5ce..aed1572e0cec7e8369ed6ca1dcdce2ad468ef2f7 100644
--- a/chrome/browser/resources/options/content_settings.js
+++ b/chrome/browser/resources/options/content_settings.js
@@ -33,9 +33,10 @@ cr.define('options', function() {
this.pageDiv.querySelectorAll('.exceptions-list-button');
for (var i = 0; i < exceptionsButtons.length; i++) {
exceptionsButtons[i].onclick = function(event) {
- ContentSettingsExceptionsArea.getInstance().showList(
- event.target.getAttribute('contentType'));
+// ContentSettingsExceptionsArea.getInstance().showList(
+// event.target.getAttribute('contentType'));
OptionsPage.showPageByName('contentExceptions');
+ location.hash(event.target.getAttribute('contentType'));
sky 2011/01/31 20:36:25 You probably didn't intend to include this, did yo
};
}
@@ -53,16 +54,6 @@ cr.define('options', function() {
if (!templateData.enable_click_to_play)
$('click_to_play').style.display = 'none';
},
-
- /**
- * Handles a hash value in the URL (such as bar in
- * chrome://options/foo#bar).
- * @param {string} hash The hash value.
- */
- handleHash: function(hash) {
- ContentSettingsExceptionsArea.getInstance().showList(hash);
- OptionsPage.showPageByName('contentExceptions');
- },
};
/**

Powered by Google App Engine
This is Rietveld 408576698