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

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

Issue 6883142: Show ChromeOS bios firmware in about dialog. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 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/options/about_page.js
===================================================================
--- chrome/browser/resources/options/about_page.js (revision 82505)
+++ chrome/browser/resources/options/about_page.js (working copy)
@@ -77,6 +77,11 @@
$('osVersion1').textContent = versionString;
},
+ updateOSFirmware_: function(firmwareString) {
+ $('osFirmware0').textContent = firmwareString;
+ $('osFirmware1').textContent = firmwareString;
+ },
+
/**
* Updates the status message like "Checking for update...".
* @param {string} message The message to be shown.
@@ -176,6 +181,10 @@
AboutPage.getInstance().updateOSVersion_(versionString);
};
+ AboutPage.updateOSFirmwareCallback = function(firmwareString) {
+ AboutPage.getInstance().updateOSFirmware_(firmwareString);
+ };
+
AboutPage.updateStatusCallback = function(message, insertDelay) {
AboutPage.getInstance().updateStatus_(message, insertDelay);
};
« no previous file with comments | « chrome/browser/resources/options/about_page.html ('k') | chrome/browser/ui/webui/options/about_page_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698