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..911c477d10c4f28700572bb9206dd9e5c1728395 100644 |
--- a/chrome/browser/ui/webui/options2/handler_options_handler2.h |
+++ b/chrome/browser/ui/webui/options2/handler_options_handler2.h |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -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. |