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

Side by Side Diff: chrome/browser/ui/webui/options/handler_options_handler.h

Issue 629463003: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[w-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_HANDLER_OPTIONS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_HANDLER_OPTIONS_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_HANDLER_OPTIONS_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_HANDLER_OPTIONS_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" 10 #include "chrome/browser/custom_handlers/protocol_handler_registry.h"
(...skipping 16 matching lines...) Expand all
27 namespace options { 27 namespace options {
28 28
29 class HandlerOptionsHandler : public OptionsPageUIHandler, 29 class HandlerOptionsHandler : public OptionsPageUIHandler,
30 public content::NotificationObserver { 30 public content::NotificationObserver {
31 public: 31 public:
32 HandlerOptionsHandler(); 32 HandlerOptionsHandler();
33 virtual ~HandlerOptionsHandler(); 33 virtual ~HandlerOptionsHandler();
34 34
35 // OptionsPageUIHandler implementation. 35 // OptionsPageUIHandler implementation.
36 virtual void GetLocalizedValues( 36 virtual void GetLocalizedValues(
37 base::DictionaryValue* localized_strings) OVERRIDE; 37 base::DictionaryValue* localized_strings) override;
38 virtual void InitializeHandler() OVERRIDE; 38 virtual void InitializeHandler() override;
39 virtual void InitializePage() OVERRIDE; 39 virtual void InitializePage() override;
40 virtual void RegisterMessages() OVERRIDE; 40 virtual void RegisterMessages() override;
41 41
42 // content::NotificationObserver implementation. 42 // content::NotificationObserver implementation.
43 virtual void Observe(int type, 43 virtual void Observe(int type,
44 const content::NotificationSource& source, 44 const content::NotificationSource& source,
45 const content::NotificationDetails& details) OVERRIDE; 45 const content::NotificationDetails& details) override;
46 46
47 private: 47 private:
48 // Called when the user toggles whether custom handlers are enabled. 48 // Called when the user toggles whether custom handlers are enabled.
49 void SetHandlersEnabled(const base::ListValue* args); 49 void SetHandlersEnabled(const base::ListValue* args);
50 50
51 // Called when the user sets a new default handler for a protocol. 51 // Called when the user sets a new default handler for a protocol.
52 void SetDefault(const base::ListValue* args); 52 void SetDefault(const base::ListValue* args);
53 53
54 // Called when the user clears the default handler for a protocol. 54 // Called when the user clears the default handler for a protocol.
55 // |args| is the string name of the protocol to clear. 55 // |args| is the string name of the protocol to clear.
(...skipping 25 matching lines...) Expand all
81 ProtocolHandlerRegistry* GetProtocolHandlerRegistry(); 81 ProtocolHandlerRegistry* GetProtocolHandlerRegistry();
82 82
83 content::NotificationRegistrar notification_registrar_; 83 content::NotificationRegistrar notification_registrar_;
84 84
85 DISALLOW_COPY_AND_ASSIGN(HandlerOptionsHandler); 85 DISALLOW_COPY_AND_ASSIGN(HandlerOptionsHandler);
86 }; 86 };
87 87
88 } // namespace options 88 } // namespace options
89 89
90 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_HANDLER_OPTIONS_HANDLER_H_ 90 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_HANDLER_OPTIONS_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/geolocation_options_handler.h ('k') | chrome/browser/ui/webui/options/help_overlay_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698