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

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

Issue 501063002: Surface battery auditing information on the website settings option page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@origin-power-map
Patch Set: Rebase. Created 6 years, 4 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/website_settings.js
diff --git a/chrome/browser/resources/options/website_settings.js b/chrome/browser/resources/options/website_settings.js
index eafda71946e093c76f0f31a2b6bce06e74ef2afc..2dd711a376858860a6009b7f752432a4af148948 100644
--- a/chrome/browser/resources/options/website_settings.js
+++ b/chrome/browser/resources/options/website_settings.js
@@ -44,6 +44,8 @@ cr.define('options', function() {
assert(target.tagName == 'SELECT');
if (target.value == 'storage')
chrome.send('updateLocalStorage');
+ else if (target.value == 'battery')
+ chrome.send('updateBatteryUsage');
else
chrome.send('updateOrigins', [target.value]);
};
« no previous file with comments | « chrome/browser/resources/options/website_settings.html ('k') | chrome/browser/resources/options/website_settings_edit_page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698