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

Unified Diff: chrome/browser/ui/webui/options/options_ui.h

Issue 9693032: [uber page] Split up initialization of handlers from initialization of webui pages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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/options/options_ui.h
diff --git a/chrome/browser/ui/webui/options/options_ui.h b/chrome/browser/ui/webui/options/options_ui.h
index 3e6c10da0a8516ef0c05c0e8a5a03bc5bc783231..f948aba3497286787558181b4d7f2d4237bb54ee 100644
--- a/chrome/browser/ui/webui/options/options_ui.h
+++ b/chrome/browser/ui/webui/options/options_ui.h
@@ -35,6 +35,9 @@ class OptionsPageUIHandler : public content::WebUIMessageHandler,
// This will be called only once.
virtual void Initialize() {}
+ // Actually sends down values after initialization to the webui page.
Evan Stade 2012/03/13 20:44:50 expand comment to highlight differences between th
csilv 2012/03/13 20:59:49 nit: remove the word "Actually".
Dan Beam 2012/03/13 23:01:45 Done.
Dan Beam 2012/03/13 23:01:45 Done.
+ virtual void SendPageValues() {}
Evan Stade 2012/03/13 20:44:50 I am not too keen on this name. How about: Refres
csilv 2012/03/13 20:59:49 I had the same reaction to the method name. I rea
Dan Beam 2012/03/13 23:01:45 Done.
+
// Uninitializes the page. Called just before the object is destructed.
virtual void Uninitialize() {}

Powered by Google App Engine
This is Rietveld 408576698