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

Unified Diff: chrome/browser/ui/webui/options2/handler_options_handler2.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: cros compile fix, still issues 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/options2/handler_options_handler2.h
diff --git a/chrome/browser/ui/webui/options2/handler_options_handler2.h b/chrome/browser/ui/webui/options2/handler_options_handler2.h
index ea60f43e7d1511b6fceabb83f5d0c901d914ba58..3d2fcdb93635d48186e9f9b33fc97768cbc79421 100644
--- a/chrome/browser/ui/webui/options2/handler_options_handler2.h
+++ b/chrome/browser/ui/webui/options2/handler_options_handler2.h
@@ -12,6 +12,13 @@
#include "chrome/common/custom_handlers/protocol_handler.h"
#include "content/public/browser/notification_registrar.h"
+////////////////////////////////////////////////////////////////////////////////
+// HandlerOptionsHandler
+
+// Listen for changes to protocol handlers (i.e. registerProtocolHandler()).
+// This get triggered whenever a user allows a specific website or application
+// to handle clicks on a link with a specified protocol (i.e. mailto: -> Gmail).
+
namespace base {
class DictionaryValue;
}
@@ -26,7 +33,8 @@ class HandlerOptionsHandler : public OptionsPageUIHandler {
// OptionsPageUIHandler implementation.
virtual void GetLocalizedValues(
base::DictionaryValue* localized_strings) OVERRIDE;
- virtual void Initialize() OVERRIDE;
+ virtual void InitializeHandler() OVERRIDE;
+ virtual void InitializePage() OVERRIDE;
virtual void RegisterMessages() OVERRIDE;
// content::NotificationObserver implementation.

Powered by Google App Engine
This is Rietveld 408576698