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

Unified Diff: chrome/browser/resources/settings/about_page/about_page_browser_proxy.js

Issue 1989673002: MD Settings: About page, add an explicit 'aboutPageReady' signal. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/resources/settings/about_page/detailed_build_info.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/about_page/about_page_browser_proxy.js
diff --git a/chrome/browser/resources/settings/about_page/about_page_browser_proxy.js b/chrome/browser/resources/settings/about_page/about_page_browser_proxy.js
index ace48ae3ad22ba7d19cad68e7ff4d31687ebd2ff..491eddeb8bec8a5062ed583a0c89b2004a5f0845 100644
--- a/chrome/browser/resources/settings/about_page/about_page_browser_proxy.js
+++ b/chrome/browser/resources/settings/about_page/about_page_browser_proxy.js
@@ -42,7 +42,12 @@ cr.define('settings', function() {
AboutPageBrowserProxy.prototype = {
/**
- * Called once the page is ready. It results in one or more
+ * Indicates to the browser that the page is ready.
+ */
+ pageReady: function() {},
+
+ /**
+ * Request update status from the browser. It results in one or more
* 'update-status-changed' WebUI events.
*/
refreshUpdateStatus: function() {},
@@ -97,6 +102,11 @@ cr.define('settings', function() {
AboutPageBrowserProxyImpl.prototype = {
/** @override */
+ pageReady: function() {
+ chrome.send('aboutPageReady');
+ },
+
+ /** @override */
refreshUpdateStatus: function() {
chrome.send('refreshUpdateStatus');
},
« no previous file with comments | « no previous file | chrome/browser/resources/settings/about_page/detailed_build_info.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698