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

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

Issue 671653002: Standardize usage of virtual/override/final in chrome/browser/ui/ (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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_HELP_OVERLAY_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_HELP_OVERLAY_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_HELP_OVERLAY_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_HELP_OVERLAY_HANDLER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "chrome/browser/ui/webui/options/options_ui.h" 10 #include "chrome/browser/ui/webui/options/options_ui.h"
11 11
12 namespace options { 12 namespace options {
13 13
14 // Help UI page handler to support About in Settings when using Settings in a 14 // Help UI page handler to support About in Settings when using Settings in a
15 // window. Defers to ::HelpHandler. 15 // window. Defers to ::HelpHandler.
16 class HelpOverlayHandler : public ::options::OptionsPageUIHandler { 16 class HelpOverlayHandler : public ::options::OptionsPageUIHandler {
17 public: 17 public:
18 HelpOverlayHandler(); 18 HelpOverlayHandler();
19 virtual ~HelpOverlayHandler(); 19 ~HelpOverlayHandler() override;
20 20
21 // OptionsPageUIHandler implementation. 21 // OptionsPageUIHandler implementation.
22 virtual void GetLocalizedValues( 22 void GetLocalizedValues(base::DictionaryValue* localized_strings) override;
23 base::DictionaryValue* localized_strings) override;
24 23
25 // WebUIMessageHandler implementation. 24 // WebUIMessageHandler implementation.
26 virtual void RegisterMessages() override; 25 void RegisterMessages() override;
27 26
28 private: 27 private:
29 DISALLOW_COPY_AND_ASSIGN(HelpOverlayHandler); 28 DISALLOW_COPY_AND_ASSIGN(HelpOverlayHandler);
30 }; 29 };
31 30
32 } // namespace options 31 } // namespace options
33 32
34 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_HELP_OVERLAY_HANDLER_H_ 33 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_HELP_OVERLAY_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698