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

Unified Diff: chrome/browser/ui/webui/settings/about_handler.h

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
Index: chrome/browser/ui/webui/settings/about_handler.h
diff --git a/chrome/browser/ui/webui/settings/about_handler.h b/chrome/browser/ui/webui/settings/about_handler.h
index 7477cd11e8a3a28edd87604de5ef91d97ddcf7cf..b5b3df1ea2dbafe6569351063372161eda8ddfea 100644
--- a/chrome/browser/ui/webui/settings/about_handler.h
+++ b/chrome/browser/ui/webui/settings/about_handler.h
@@ -66,6 +66,10 @@ class AboutHandler : public settings::SettingsPageUIHandler,
void OnDeviceAutoUpdatePolicyChanged(const base::Value* previous_policy,
const base::Value* current_policy);
+ // Called once the JS page is ready to be called, serves as a signal to the
+ // handler to register C++ observers.
+ void HandlePageReady(const base::ListValue* args);
+
// Called once when the page has loaded. On ChromeOS, this gets the current
// update status. On other platforms, it will request and perform an update
// (if one is available).
« no previous file with comments | « chrome/browser/resources/settings/about_page/detailed_build_info.js ('k') | chrome/browser/ui/webui/settings/about_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698